toofishes / python-pgpdump

PGP packet parser library
Other
55 stars 26 forks source link

Exception: Invalid non-RSA (elgamal) v3 public key #7

Closed muelli closed 12 years ago

muelli commented 12 years ago

Hm. I'm trying to parse https://muelli.cryptobitch.de/tmp/2012-04-09-openpgp-keys.pgp but it fails after ~18MB:

<PublicKeyPacket: 0x02B90CF93346FF59, DSA Digital Signature Algorithm, length 418>
Reading from byte 17920198
<UserIDPacket: u'crados people' (u'cradospeople@hotmail.com'), length 40>
Reading from byte 17920238
<SignaturePacket: RSA Encrypt or Sign, MD5, length 149>
Reading from byte 17920387
<SignaturePacket: DSA Digital Signature Algorithm, SHA1, length 75>
Reading from byte 17920462
<PublicSubkeyPacket: 0x7D75AF271A865FE1, ElGamal Encrypt-Only, length 525>
Reading from byte 17920987
<SignaturePacket: DSA Digital Signature Algorithm, SHA1, length 63>
Reading from byte 17921050
<PublicKeyPacket: 0x050808769DBBE7A2, RSA Encrypt or Sign, length 269>
Reading from byte 17921319
<UserIDPacket: u'Sina Bossert' (u'sina@bossert-online.de'), length 37>
Reading from byte 17921356
<SignaturePacket: RSA Encrypt or Sign, SHA1, length 312>
Reading from byte 17921668
<PublicKeyPacket: 0xC2DF504D0C7C8B31, RSA Encrypt or Sign, length 269>
Reading from byte 17921937
<SignaturePacket: RSA Encrypt or Sign, SHA1, length 287>
Reading from byte 17922224
<UserIDPacket: u'dkgmail' (u'dkgeneralmail@gmail.com'), length 33>
Reading from byte 17922257
<SignaturePacket: RSA Encrypt or Sign, SHA1, length 316>
Reading from byte 17922573
<PublicSubkeyPacket: 0x593089B48465B71B, RSA Encrypt or Sign, length 269>
Reading from byte 17922842
<SignaturePacket: RSA Encrypt or Sign, SHA1, length 293>
Traceback (most recent call last):
  File "/home/muelli/hg/openpgp-things/mypgpdump.py", line 38, in <module>
    sys.exit(main(sys.argv))
  File "/home/muelli/hg/openpgp-things/mypgpdump.py", line 23, in main
    for packet in data.packets():
  File "/home/muelli/git/python-pgpdump/pgpdump/data.py", line 33, in packets
    total_length, packet = construct_packet(self.data, offset)
  File "/home/muelli/git/python-pgpdump/pgpdump/packet.py", line 576, in construct_packet
    packet = PacketType(tag, name, new, packet_data)
  File "/home/muelli/git/python-pgpdump/pgpdump/packet.py", line 313, in __init__
    super(PublicKeyPacket, self).__init__(*args, **kwargs)
  File "/home/muelli/git/python-pgpdump/pgpdump/packet.py", line 20, in __init__
    self.parse()
  File "/home/muelli/git/python-pgpdump/pgpdump/packet.py", line 337, in parse
    self.pub_algorithm_type, self.pubkey_version))
Exception: Invalid non-RSA (elgamal) v3 public key

Funnily enough, pgpdump passes out after ~6MB. So it there might be a bug over there:

Old: Public Key Packet(tag 6)(269 bytes)
    Ver 4 - new
    Public key creation time - Wed Feb  6 09:42:19 CET 2008
    Pub alg - RSA Encrypt or Sign(pub 1)
    RSA n(2048 bits) - ...
    RSA e(17 bits) - ...
Old: User ID Packet(tag 13)(32 bytes)
    User ID - Michael Keller <mik@cmp-gmbh.de>
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Jan 14 12:07:28 CET 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed Jan 28 12:07:28 CET 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - b0 19 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Jun  9 09:06:01 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Jun 23 09:06:01 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 92 fd 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Jun 22 21:03:56 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Jul  6 21:03:56 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - c0 a5 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Jul  1 10:36:42 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed Jul 15 10:36:42 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - bf 19 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Jul 14 21:01:49 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Jul 28 21:01:49 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - fa 8c 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Jul 28 09:01:39 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Aug 11 09:01:39 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 76 38 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Aug 10 09:01:59 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Aug 24 09:01:59 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 1a 1c 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Aug 23 21:02:12 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Sep  6 21:02:12 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 28 7c 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Sep  6 09:02:01 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Sep 20 09:02:01 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - eb f9 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sat Sep 19 21:00:19 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sat Oct  3 21:00:19 CEST 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 65 d1 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Oct 15 21:09:18 CEST 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Oct 29 20:09:18 CET 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - c3 f2 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Oct 29 08:08:44 CET 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Nov 12 08:08:44 CET 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 97 d3 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Nov 11 09:07:59 CET 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed Nov 25 09:07:59 CET 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 7c 54 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Nov 24 21:07:39 CET 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Dec  8 21:07:39 CET 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - fc 06 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Dec  8 09:03:16 CET 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Dec 22 09:03:16 CET 2009
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 3f b9 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri Dec 18 10:42:34 CET 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Fri Jan  1 10:42:34 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 51 9a 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Dec 31 21:02:38 CET 2009
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Jan 14 21:02:38 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 53 3c 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Jan 13 21:02:55 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed Jan 27 21:02:55 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - d1 29 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Jan 27 09:02:32 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed Feb 10 09:02:32 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 86 de 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Feb  9 21:02:58 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Feb 23 21:02:58 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - cd 29 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Feb 23 09:02:39 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Mar  9 09:02:39 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 10 c0 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Mar  8 21:02:18 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Mar 22 21:02:18 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - ce f4 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Mar 22 08:02:46 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Apr  5 09:02:46 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 53 95 
    RSA m^d mod n(2043 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Apr  4 21:02:28 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Apr 18 21:02:28 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 80 43 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Apr 18 09:02:48 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun May  2 09:02:48 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 4b 97 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sat May  1 21:03:02 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sat May 15 21:03:02 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 8b 55 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri May 14 21:04:02 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Fri May 28 21:04:02 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 5d c5 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri May 28 09:02:42 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Fri Jun 11 09:02:42 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 25 22 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Jun  7 10:17:55 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Jun 21 10:17:55 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - df 64 
    RSA m^d mod n(2044 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Jun 20 21:02:30 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Jul  4 21:02:30 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 8a 16 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Jun 24 15:26:21 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Jul  8 15:26:21 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - c2 c7 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Jul  6 17:41:14 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Jul 20 17:41:14 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 4c e7 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Jul 19 21:03:01 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Aug  2 21:03:01 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 48 fd 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Aug  1 21:03:26 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Aug 15 21:03:26 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 41 9f 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Aug 15 09:03:07 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Aug 29 09:03:07 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 15 ee 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sat Aug 28 21:02:43 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sat Sep 11 21:02:43 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 6a 4c 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri Sep 10 21:03:10 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Fri Sep 24 21:03:10 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 68 00 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Sep 23 21:03:30 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Oct  7 21:03:30 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 70 4b 
    RSA m^d mod n(2043 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Oct  7 09:02:47 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Oct 21 09:02:47 CEST 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 16 31 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Oct 20 09:09:36 CEST 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed Nov  3 08:09:36 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 18 cc 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Nov  2 20:08:27 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Nov 16 20:08:27 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - ab ca 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Nov 15 21:08:20 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Nov 29 21:08:20 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - a8 5e 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Nov 24 10:40:16 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed Dec  8 10:40:16 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 15 78 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Dec  7 21:08:44 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Dec 21 21:08:44 CET 2010
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - e0 e2 
    RSA m^d mod n(2044 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Dec 20 21:12:16 CET 2010
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Jan  3 21:12:16 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 77 28 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Jan  3 09:11:59 CET 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Jan 17 09:11:59 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 49 6b 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Jan 16 21:13:06 CET 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Jan 30 21:13:06 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - b5 c0 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Jan 30 09:13:49 CET 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Feb 13 09:13:49 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - f3 43 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sat Feb 12 21:01:48 CET 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sat Feb 26 21:01:48 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 51 8a 
    RSA m^d mod n(2044 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri Feb 25 21:12:38 CET 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Fri Mar 11 21:12:38 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - b6 2c 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri Mar 11 09:17:16 CET 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Fri Mar 25 09:17:16 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 40 21 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Mar 24 20:15:18 CET 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Apr  7 21:15:18 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - fd 46 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Apr  7 09:18:28 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Apr 21 09:18:28 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 1a f3 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Apr 20 21:15:05 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed May  4 21:15:05 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - c2 70 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed May  4 09:20:25 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed May 18 09:20:25 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - f0 35 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed May 11 10:53:46 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed May 25 10:53:46 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 86 3c 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue May 24 21:00:29 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Jun  7 21:00:29 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 06 80 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Jun  6 21:00:34 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Jun 20 21:00:34 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 32 87 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Jun 19 21:00:51 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Jul  3 21:00:51 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 1c 56 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Jul  3 09:00:27 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Jul 17 09:00:27 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 90 88 
    RSA m^d mod n(2046 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sat Jul 16 09:00:30 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sat Jul 30 09:00:30 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 04 6f 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri Jul 29 21:00:40 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Fri Aug 12 21:00:40 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 4d d0 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri Aug 12 09:00:33 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Fri Aug 26 09:00:33 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 0f 2d 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Thu Aug 25 09:00:36 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Thu Sep  8 09:00:36 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 9b ac 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Wed Sep  7 21:00:29 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Wed Sep 21 21:00:29 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - c5 41 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Sep 20 21:00:37 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Oct  4 21:00:37 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - f8 95 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Oct  4 09:00:26 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Tue Oct 18 09:00:26 CEST 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - d9 21 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Mon Oct 17 09:00:27 CEST 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Mon Oct 31 08:00:27 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - d8 1c 
    RSA m^d mod n(2048 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(290 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Oct 30 20:00:31 CET 2011
    Hashed Sub: signature expiration time(sub 3)(4 bytes)
        Time - Sun Nov 13 20:00:31 CET 2011
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x9710B89BCA57AD7C
    Hash left 2 bytes - 1d 7c 
    RSA m^d mod n(2047 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(388 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Fri Feb  8 13:07:53 CET 2008
    Hashed Sub: notation data(sub 20)(47 bytes)
        Flag - Human-readable
        Name - preferred-email-encoding@pgp.com
        Value - pgpmime
    Hashed Sub: preferred symmetric algorithms(sub 11)(6 bytes)
        Sym alg - AES with 256-bit key(sym 9)
        Sym alg - AES with 192-bit key(sym 8)
        Sym alg - AES with 128-bit key(sym 7)
        Sym alg - CAST5(sym 3)
        Sym alg - Triple-DES(sym 2)
        Sym alg - Twofish with 256-bit key(sym 10)
    Hashed Sub: preferred key server(sub 24)(24 bytes)
        URL - ldap://keyserver.pgp.com
    Hashed Sub: key flags(sub 27)(4 bytes)
        Flag - This key may be used to certify other keys
        Flag - This key may be used to sign data
    Hashed Sub: preferred compression algorithms(sub 22)(2 bytes)
        Comp alg - ZLIB <RFC1950>(comp 2)
        Comp alg - ZIP <RFC1951>(comp 1)
    Hashed Sub: features(sub 30)(4 bytes)
        Flag - Modification detection (packets 18 and 19)
    Hashed Sub: preferred hash algorithms(sub 21)(3 bytes)
        Hash alg - SHA256(hash 8)
        Hash alg - SHA384(hash 9)
        Hash alg - SHA512(hash 10)
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x2F471B4FBB926C65
    Hash left 2 bytes - f2 52 
    RSA m^d mod n(2043 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(388 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Jul  6 17:40:56 CEST 2010
    Hashed Sub: notation data(sub 20)(47 bytes)
        Flag - Human-readable
        Name - preferred-email-encoding@pgp.com
        Value - pgpmime
    Hashed Sub: preferred symmetric algorithms(sub 11)(6 bytes)
        Sym alg - AES with 256-bit key(sym 9)
        Sym alg - AES with 192-bit key(sym 8)
        Sym alg - AES with 128-bit key(sym 7)
        Sym alg - CAST5(sym 3)
        Sym alg - Triple-DES(sym 2)
        Sym alg - Twofish with 256-bit key(sym 10)
    Hashed Sub: preferred key server(sub 24)(24 bytes)
        URL - ldap://keyserver.pgp.com
    Hashed Sub: key flags(sub 27)(4 bytes)
        Flag - This key may be used to certify other keys
        Flag - This key may be used to sign data
    Hashed Sub: preferred compression algorithms(sub 22)(2 bytes)
        Comp alg - ZLIB <RFC1950>(comp 2)
        Comp alg - ZIP <RFC1951>(comp 1)
    Hashed Sub: features(sub 30)(4 bytes)
        Flag - Modification detection (packets 18 and 19)
    Hashed Sub: preferred hash algorithms(sub 21)(3 bytes)
        Hash alg - SHA256(hash 8)
        Hash alg - SHA384(hash 9)
        Hash alg - SHA512(hash 10)
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x2F471B4FBB926C65
    Hash left 2 bytes - 0e 22 
    RSA m^d mod n(2045 bits) - ...
        -> PKCS-1
Old: Signature Packet(tag 2)(388 bytes)
    Ver 4 - new
    Sig type - Generic certification of a User ID and Public Key packet(0x10).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - SHA1(hash 2)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Tue Jul  6 17:40:56 CEST 2010
    Hashed Sub: notation data(sub 20)(47 bytes)
        Flag - Human-readable
        Name - preferred-email-encoding@pgp.com
        Value - pgpmime
    Hashed Sub: preferred symmetric algorithms(sub 11)(6 bytes)
        Sym alg - AES with 256-bit key(sym 9)
        Sym alg - AES with 192-bit key(sym 8)
        Sym alg - unknown(sym 122)
        Sym alg - unknown(sym 159)
        Sym alg - unknown(sym 132)
        Sym alg - unknown(sym 192)
    Hashed Sub: unknown(sub 104, critical)(125 bytes)
    Sub: unknown(sub 52, critical)(70 bytes)
    Sub: unknown(sub 120)(9805 bytes)
    Sub: unknown(sub 118, critical)(2154 bytes)
    Sub: unknown(sub 98, critical)(19 bytes)
    Sub: unknown(sub 41, critical)(2067 bytes)
    Sub: unknown(sub 102, critical)(6460 bytes)
    Sub: reserved(sub 19)(critical)(101 bytes)
    Sub: unknown(sub 106)(38 bytes)
    Sub: unknown(sub 73, critical)(189 bytes)
    Sub: unknown(sub 121)(100 bytes)
    Sub: preferred hash algorithms(sub 21)(112 bytes)
        Hash alg - unknown(hash 87)
        Hash alg - unknown(hash 178)
        Hash alg - unknown(hash 103)
        Hash alg - unknown(hash 227)
        Hash alg - unknown(hash 49)
        Hash alg - unknown(hash 169)
        Hash alg - unknown(hash 19)
        Hash alg - unknown(hash 14)
        Hash alg - unknown(hash 179)
        Hash alg - unknown(hash 203)
        Hash alg - unknown(hash 200)
        Hash alg - unknown(hash 99)
        Hash alg - unknown(hash 177)
        Hash alg - unknown(hash 95)
        Hash alg - unknown(hash 145)
        Hash alg - unknown(hash 203)
        Hash alg - unknown(hash 118)
        Hash alg - SHA512(hash 10)
        Hash alg - unknown(hash 67)
        Hash alg - Reserved(hash 6)
        Hash alg - unknown(hash 17)
        Hash alg - unknown(hash 47)
        Hash alg - unknown(hash 22)
        Hash alg - unknown(hash 29)
        Hash alg - unknown(hash 48)
        Hash alg - unknown(hash 171)
        Hash alg - unknown(hash 128)
        Hash alg - unknown(hash 118)
        Hash alg - unknown(hash 110)
        Hash alg - SHA512(hash 10)
        Hash alg - unknown(hash 108)
        Hash alg - unknown(hash 192)
        Hash alg - unknown(hash 103)
        Hash alg - unknown(hash 124)
        Hash alg - unknown(hash 119)
        Hash alg - unknown(hash 41)
        Hash alg - unknown(hash 70)
        Hash alg - unknown(hash 131)
        Hash alg - unknown(hash 13)
        Hash alg - unknown(hash 237)
        Hash alg - unknown(hash 132)
        Hash alg - unknown(hash 242)
        Hash alg - unknown(hash 114)
        Hash alg - unknown(hash 96)
        Hash alg - unknown(hash 198)
        Hash alg - unknown(hash 126)
        Hash alg - unknown(hash 120)
        Hash alg - unknown(hash 211)
        Hash alg - unknown(hash 81)
        Hash alg - unknown(hash 214)
        Hash alg - SHA384(hash 9)
        Hash alg - unknown(hash 239)
        Hash alg - unknown(hash 22)
        Hash alg - unknown(hash 146)
        Hash alg - unknown(hash 99)
        Hash alg - unknown(hash 102)
        Hash alg - unknown(hash 54)
        Hash alg - unknown(hash 251)
        Hash alg - unknown(hash 110)
        Hash alg - unknown(hash 59)
        Hash alg - unknown(hash 87)
        Hash alg - unknown(hash 196)
        Hash alg - unknown(hash 43)
        Hash alg - unknown(hash 28)
        Hash alg - unknown(hash 245)
        Hash alg - unknown(hash 81)
        Hash alg - unknown(hash 235)
        Hash alg - Reserved(hash 4)
        Hash alg - unknown(hash 71)
        Hash alg - unknown(hash 241)
        Hash alg - unknown(hash 216)
        Hash alg - unknown(hash 138)
        Hash alg - unknown(hash 157)
        Hash alg - unknown(hash 231)
        Hash alg - unknown(hash 192)
        Hash alg - unknown(hash 103)
        Hash alg - unknown(hash 189)
        Hash alg - unknown(hash 102)
        Hash alg - unknown(hash 109)
        Hash alg - unknown(hash 119)
        Hash alg - unknown(hash 175)
        Hash alg - unknown(hash 168)
        Hash alg - Reserved(hash 5)
        Hash alg - unknown(hash 106)
        Hash alg - unknown(hash 121)
        Hash alg - unknown(hash 79)
        Hash alg - unknown(hash 234)
        Hash alg - unknown(hash 231)
        Hash alg - unknown(hash 128)
        Hash alg - unknown(hash 103)
        Hash alg - unknown(hash 90)
        Hash alg - unknown(hash 23)
        Hash alg - unknown(hash 103)
        Hash alg - unknown(hash 250)
        Hash alg - unknown(hash 202)
        Hash alg - unknown(hash 83)
        Hash alg - SHA256(hash 8)
        Hash alg - unknown(hash 58)
        Hash alg - unknown(hash 33)
        Hash alg - unknown(hash 175)
        Hash alg - unknown(hash 234)
        Hash alg - unknown(hash 199)
        Hash alg - unknown(hash 194)
        Hash alg - unknown(hash 140)
        Hash alg - unknown(hash 104)
        Hash alg - unknown(hash 108)
        Hash alg - unknown(hash 219)
        Hash alg - unknown(hash 215)
        Hash alg - unknown(hash 103)
        Hash alg - unknown(hash 39)
        Hash alg - unknown(hash 173)
        Hash alg - SHA384(hash 9)
    Sub: unknown(sub 120, critical)(40 bytes)
    Sub: unknown(sub 50)(1 bytes)
    Sub: unknown(sub 115, critical)(186 bytes)
    Sub: policy URL(sub 26)(42 bytes)
        URL - צ�wZ1&�������dh>2��7���\�3����
    Sub: unknown(sub 103)(82 bytes)
    Sub: signer's User ID(sub 28)(critical)(12 bytes)
        User ID - ��b�������|
    Sub: unknown(sub 44, critical)(49 bytes)
    Sub: exportable certification(sub 4)(33 bytes)
        Exportable - Yes
    Sub: signature creation time(sub 2)(0 bytes)
        Time - Sat Jan 10 03:48:34 CET 1970

From there it's binary garbage with some readable email addresses in between.

GnuPG parses fine (takes ages though), at least it doesn't fail hard.

toofishes commented 12 years ago

You didn't include a link to the file you were parsing, so I can't reproduce this at the moment. I could also build a utility function that allows dumping of any invalid packets to a file to make this easier for both of us...

Also, the output is helpful but way too long, as long as you give me the traceback and tell me pgpdump dies at some point, I can recreate that output no problem. :)

muelli commented 12 years ago

Sorry for having forgotten the link. I updated the initial post.

toofishes commented 12 years ago

Now supported in commit cae58be10b31d.