Skip to content

Instantly share code, notes, and snippets.

@nahi
Created July 2, 2009 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nahi/139523 to your computer and use it in GitHub Desktop.
Save nahi/139523 to your computer and use it in GitHub Desktop.
% ruby -Ilib bin/pgpdump.rb yutaka-oiwa-pubkey-2008.asc
Old: Public Key Packet(tag 6)(1198 bytes)
Algorithm: DSA (Digital Signature Standard)(17)
Key Created: Mon Jun 23 16:02:21 +0900 2008
DSA Key (256 bits)
p (3072 bits)
q (256 bits)
g (3072 bits)
y (3071 bits)
Old: User ID Packet(tag 13)(28 bytes)
User ID: Yutaka OIWA <yutaka@oiwa.jp>
Old: Signature Packet(tag 2)(131 bytes)
Version - 4
Sig type - Positive certification of a User ID and Public Key packet(19)
PKey algorithm - DSA (Digital Signature Standard)(17)
Hash algorithm - SHA256(8)
Hashed Sub:
Non-critical Sub: key flags(27)(1 bytes)
This key may be used to certify other keys
This key may be used to sign data
Non-critical Sub: key expiration time(9)(4 bytes)
Time - 8030 days (693792000 secs)
Non-critical Sub: features(30)(1 bytes)
Modification Detection - true
Non-critical Sub: key server preferences(23)(1 bytes)
No-modify
Non-critical Sub: primary user id(25)(1 bytes)
Primary User ID - true
Non-critical Sub: signature creation time(2)(4 bytes)
Time - Tue Jun 24 03:32:59 +0900 2008
Non-critical Sub: preferred symmetric algorithms(11)(5 bytes)
AES with 256-bit key(9)
AES with 192-bit key(8)
AES with 128-bit key(7)
CAST5 (128 bit key, as per RFC 2144)(3)
Triple-DES (DES-EDE, as per spec - 168 bit key derived from 192)(2)
Non-critical Sub: preferred hash algorithms(21)(5 bytes)
SHA512(10)
SHA384(9)
SHA256(8)
SHA-1(2)
RIPEMD-160(3)
Non-critical Sub: preferred compression algorithms(22)(3 bytes)
ZLIB (RFC1950)(2)
BZip2(3)
ZIP (RFC1951)(1)
Unhashed Sub:
Non-critical Sub: issuer key ID(16)(8 bytes)
Key ID - 0x86779BD2440546B5
Hash left 2 bytes - 19b2
Signature: DSA (Digital Signature Standard)
r - 254 bits, s - 255 bits
Old: Signature Packet(tag 2)(70 bytes)
Version - 4
Sig type - Generic certification of a User ID and Public Key packet(16)
PKey algorithm - DSA (Digital Signature Standard)(17)
Hash algorithm - SHA-1(2)
Hashed Sub:
Non-critical Sub: signature creation time(2)(4 bytes)
Time - Mon Jun 23 16:07:26 +0900 2008
Unhashed Sub:
Non-critical Sub: issuer key ID(16)(8 bytes)
Key ID - 0x475440C1995DD3E1
Hash left 2 bytes - 85d5
Signature: DSA (Digital Signature Standard)
r - 160 bits, s - 159 bits
Old: Signature Packet(tag 2)(126 bytes)
Version - 4
Sig type - Positive certification of a User ID and Public Key packet(19)
PKey algorithm - DSA (Digital Signature Standard)(17)
Hash algorithm - SHA256(8)
Hashed Sub:
Non-critical Sub: signature creation time(2)(4 bytes)
Time - Mon Jun 23 16:06:13 +0900 2008
Non-critical Sub: key flags(27)(1 bytes)
This key may be used to certify other keys
This key may be used to sign data
Non-critical Sub: key expiration time(9)(4 bytes)
Time - 8030 days (693792000 secs)
Non-critical Sub: preferred symmetric algorithms(11)(5 bytes)
AES with 256-bit key(9)
AES with 192-bit key(8)
AES with 128-bit key(7)
CAST5 (128 bit key, as per RFC 2144)(3)
Triple-DES (DES-EDE, as per spec - 168 bit key derived from 192)(2)
Non-critical Sub: preferred hash algorithms(21)(3 bytes)
SHA-1(2)
SHA256(8)
RIPEMD-160(3)
Non-critical Sub: preferred compression algorithms(22)(3 bytes)
ZLIB (RFC1950)(2)
BZip2(3)
ZIP (RFC1951)(1)
Non-critical Sub: features(30)(1 bytes)
Modification Detection - true
Non-critical Sub: key server preferences(23)(1 bytes)
No-modify
Unhashed Sub:
Non-critical Sub: issuer key ID(16)(8 bytes)
Key ID - 0x86779BD2440546B5
Hash left 2 bytes - 0260
Signature: DSA (Digital Signature Standard)
r - 255 bits, s - 255 bits
Old: User ID Packet(tag 13)(31 bytes)
User ID: Yutaka OIWA <y.oiwa@aist.go.jp>
Old: Signature Packet(tag 2)(128 bytes)
Version - 4
Sig type - Positive certification of a User ID and Public Key packet(19)
PKey algorithm - DSA (Digital Signature Standard)(17)
Hash algorithm - SHA256(8)
Hashed Sub:
Non-critical Sub: key flags(27)(1 bytes)
This key may be used to certify other keys
This key may be used to sign data
Non-critical Sub: key expiration time(9)(4 bytes)
Time - 8030 days (693792000 secs)
Non-critical Sub: features(30)(1 bytes)
Modification Detection - true
Non-critical Sub: key server preferences(23)(1 bytes)
No-modify
Non-critical Sub: signature creation time(2)(4 bytes)
Time - Tue Jun 24 03:33:03 +0900 2008
Non-critical Sub: preferred symmetric algorithms(11)(5 bytes)
AES with 256-bit key(9)
AES with 192-bit key(8)
AES with 128-bit key(7)
CAST5 (128 bit key, as per RFC 2144)(3)
Triple-DES (DES-EDE, as per spec - 168 bit key derived from 192)(2)
Non-critical Sub: preferred hash algorithms(21)(5 bytes)
SHA512(10)
SHA384(9)
SHA256(8)
SHA-1(2)
RIPEMD-160(3)
Non-critical Sub: preferred compression algorithms(22)(3 bytes)
ZLIB (RFC1950)(2)
BZip2(3)
ZIP (RFC1951)(1)
Unhashed Sub:
Non-critical Sub: issuer key ID(16)(8 bytes)
Key ID - 0x86779BD2440546B5
Hash left 2 bytes - 58a9
Signature: DSA (Digital Signature Standard)
r - 255 bits, s - 254 bits
Old: Signature Packet(tag 2)(70 bytes)
Version - 4
Sig type - Generic certification of a User ID and Public Key packet(16)
PKey algorithm - DSA (Digital Signature Standard)(17)
Hash algorithm - SHA-1(2)
Hashed Sub:
Non-critical Sub: signature creation time(2)(4 bytes)
Time - Mon Jun 23 16:04:14 +0900 2008
Unhashed Sub:
Non-critical Sub: issuer key ID(16)(8 bytes)
Key ID - 0x475440C1995DD3E1
Hash left 2 bytes - 5c63
Signature: DSA (Digital Signature Standard)
r - 158 bits, s - 157 bits
Old: Signature Packet(tag 2)(126 bytes)
Version - 4
Sig type - Positive certification of a User ID and Public Key packet(19)
PKey algorithm - DSA (Digital Signature Standard)(17)
Hash algorithm - SHA256(8)
Hashed Sub:
Non-critical Sub: signature creation time(2)(4 bytes)
Time - Mon Jun 23 16:02:21 +0900 2008
Non-critical Sub: key flags(27)(1 bytes)
This key may be used to certify other keys
This key may be used to sign data
Non-critical Sub: key expiration time(9)(4 bytes)
Time - 8030 days (693792000 secs)
Non-critical Sub: preferred symmetric algorithms(11)(5 bytes)
AES with 256-bit key(9)
AES with 192-bit key(8)
AES with 128-bit key(7)
CAST5 (128 bit key, as per RFC 2144)(3)
Triple-DES (DES-EDE, as per spec - 168 bit key derived from 192)(2)
Non-critical Sub: preferred hash algorithms(21)(3 bytes)
SHA-1(2)
SHA256(8)
RIPEMD-160(3)
Non-critical Sub: preferred compression algorithms(22)(3 bytes)
ZLIB (RFC1950)(2)
BZip2(3)
ZIP (RFC1951)(1)
Non-critical Sub: features(30)(1 bytes)
Modification Detection - true
Non-critical Sub: key server preferences(23)(1 bytes)
No-modify
Unhashed Sub:
Non-critical Sub: issuer key ID(16)(8 bytes)
Key ID - 0x86779BD2440546B5
Hash left 2 bytes - 03d9
Signature: DSA (Digital Signature Standard)
r - 256 bits, s - 252 bits
Old: Public Subkey Packet(tag 14)(781 bytes)
Algorithm: Elgamal (Encrypt-Only)(16)
Key Created: Mon Jun 23 16:03:16 +0900 2008
Elgamal Key (3072 bits)
p (3072 bits)
y (3072 bits)
Old: Signature Packet(tag 2)(103 bytes)
Version - 4
Sig type - Subkey Binding Signature(24)
PKey algorithm - DSA (Digital Signature Standard)(17)
Hash algorithm - SHA256(8)
Hashed Sub:
Non-critical Sub: signature creation time(2)(4 bytes)
Time - Mon Jun 23 16:03:16 +0900 2008
Non-critical Sub: key flags(27)(1 bytes)
This key may be used to encrypt communications
This key may be used to encrypt storage
Non-critical Sub: key expiration time(9)(4 bytes)
Time - 8030 days (693792000 secs)
Unhashed Sub:
Non-critical Sub: issuer key ID(16)(8 bytes)
Key ID - 0x86779BD2440546B5
Hash left 2 bytes - d15f
Signature: DSA (Digital Signature Standard)
r - 256 bits, s - 255 bits
Old: Public Subkey Packet(tag 14)(1198 bytes)
Algorithm: DSA (Digital Signature Standard)(17)
Key Created: Tue Jun 24 03:19:02 +0900 2008
DSA Key (256 bits)
p (3072 bits)
q (256 bits)
g (3072 bits)
y (3070 bits)
Old: Signature Packet(tag 2)(199 bytes)
Version - 4
Sig type - Subkey Binding Signature(24)
PKey algorithm - DSA (Digital Signature Standard)(17)
Hash algorithm - SHA256(8)
Hashed Sub:
Non-critical Sub: signature creation time(2)(4 bytes)
Time - Tue Jun 24 03:19:03 +0900 2008
Non-critical Sub: key flags(27)(1 bytes)
This key may be used to sign data
Non-critical Sub: key expiration time(9)(4 bytes)
Time - 8029 days (693705600 secs)
Unhashed Sub:
Non-critical Sub: issuer key ID(16)(8 bytes)
Key ID - 0x86779BD2440546B5
Non-critical Sub: embedded signature(32)(94 bytes)
(unknown sub packet)
Hash left 2 bytes - 07a3
Signature: DSA (Digital Signature Standard)
r - 254 bits, s - 254 bits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment