🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #18785

Re: PGP packet analyzer (Was: Quicksilver...nym wizard probs)

#18785
From: Thomas J. Boschloo
Date: Thu, 31 May 2001 14:00
88 lines
4796 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Grendel wrote:
> 
> Hello Thomas,
> 
> I went to the web page that you suggested, more out of curioisity,
> than anything else and pasted a short encrypted message which I
> encrypted with my public key.  The output is quite incomprehensible to
> me.  I have pasted it below.  One of the thing that strikes me is that
> IDEA is listed as the encrytpion algorithm. Well, I have set in  my
> pref's AES as my preferred encryption algorithm.  I wonder why this
> is. Also, what is the meaning or significance of "Packets"?  If it's
> not already obvious, I am quite new to this.
> 
> -Greg
> 
> 
> PGPdump Output
> Old: Marker Packet(tag 10)(3 bytes)
>  String - ...
> New: Public-Key Encrypted Session Key Packet(tag 1)(1038 bytes)
>  New version(3)
>  Key ID - 91 57 b8 4e 0e ee 77 7c
>  Pub alg - ElGamal Encrypt-Only(pub 16)
>  ElGamal g^k mod p(4094 bits) - ...
>  ElGamal m * y^k mod p(4095 bits) - ...
>   -> m = sym alg(1) + checksum(2) + PKCS-1 block type 02

fFrom RFC2440-bis:
# The value "m" in the above formulas is derived from the session key
# as follows.  First the session key is prefixed with a one-octet
# algorithm identifier that specifies the symmetric encryption
# algorithm used to encrypt the following Symmetrically Encrypted Data
# Packet.  Then a two-octet checksum is appended which is equal to the
# sum of the preceding session key octets, not including the algorithm
# identifier, modulo 65536.  This value is then encoded as described
# in PKCS-1 block encoding EME-PKCS1-v1_5 [RFC2437] to form the "m"
# value used in the formulas above.

So could you repost the first byte of 'm'? (size 1 octet)

These are the algorithms 'm' can be:
# 9.2. Symmetric Key Algorithms
# 
#     ID           Algorithm
#     --           ---------
#     0          - Plaintext or unencrypted data
#     1          - IDEA [IDEA]
#     2          - Triple-DES (DES-EDE, [SCHNEIER] -
#                  168 bit key derived from 192)
#     3          - CAST5 (128 bit key, as per RFC2144)
#     4          - Blowfish (128 bit key, 16 rounds) [BLOWFISH]
#     5          - SAFER-SK128 (13 rounds) [SAFER]
#     6          - Reserved for DES/SK [AES]
#     7          - AES with 128-bit key
#     8          - AES with 192-bit key
#     9          - AES with 256-bit key
#     10         - Twofish with 256-bit key [TWOFISH]
#     100 to 110 - Private/Experimental algorithm.
# 
# Implementations MUST implement Triple-DES. Implementations SHOULD
# implement IDEA and CAST5.Implementations MAY implement any other
# algorithm.
 
> New: Symmetrically Encrypted Data Packet(tag 9)(134 bytes)
>  Encrypted data [if pub/sym session key not present, sym alg - IDEA]

Well, the pub session key was present, so we don't know yet if it really
was IDEA.

Good luck,
Thomas

(BTW, I couldn't find your key on the keyservers so I could not check if
it really had AES set)

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
Comment: My homepage <http://home.soneraplaza.nl/mw/prive/boschloo>

iQB5AwUBOxZAgwEP2l8iXKAJAQFxxgMfb3uv5I3dHWavpRbrcLg6KDbLtMzUnmLR
+S2ugN0Nl20zWlbvE7rC6yWJzJLHOTdF+QF0BQY90GKdXuMxwL07r2NjEieqWE1g
l7qHX5mYpfbnLoe6851vpy9HPq4O/5w57nUbZw==
=zLwL
-----END PGP SIGNATURE-----
-- 
Android 16: "I will only fight  Goku"
Technical Details
Message-ID: <3B164E95.7EC461FC@multiweb.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!diablo.netcom.net.uk!netcom.net.uk!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!news-feed.nld.sonera.net!news.soneraplaza.nl!not-for-mail
References: <sNyQ6.14124$Rh7.437442@newsread1.prod.itd.earthlink.net> <CXGYGE2L37040.0236342593@frog.nyarlatheotep.org> <3B15297F.9DA5AB6E@multiweb.nl> <ticR6.3348$651.178165@newsread1.prod.itd.earthlink.net>

Show Full Headers
Complete Article Headers
Message-ID: <3B164E95.7EC461FC@multiweb.nl>
Subject: Re: PGP packet analyzer (Was: Quicksilver...nym wizard probs)
Date: Thu, 31 May 2001 16:00:53 +0200
From: "Thomas J. Boschloo" <nospam@multiweb.nl>
References: <sNyQ6.14124$Rh7.437442@newsread1.prod.itd.earthlink.net> <CXGYGE2L37040.0236342593@frog.nyarlatheotep.org> <3B15297F.9DA5AB6E@multiweb.nl> <ticR6.3348$651.178165@newsread1.prod.itd.earthlink.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!diablo.netcom.net.uk!netcom.net.uk!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!news-feed.nld.sonera.net!news.soneraplaza.nl!not-for-mail
Organization: Cypherpunk
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: alt.privacy.anon-server,alt.security.pgp
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 90
NNTP-Posting-Host: 212.127.192.188
X-Complaints-To: abuse@sonera.nl
X-Trace: news.soneraplaza.nl 991318214 212.127.192.188 (Thu, 31 May 2001 16:10:14 MET DST)
NNTP-Posting-Date: Thu, 31 May 2001 16:10:14 MET DST