Skip to content

Instantly share code, notes, and snippets.

@brson
Created March 12, 2016 20:16
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 brson/dc89049b1141c0cc829d to your computer and use it in GitHub Desktop.
Save brson/dc89049b1141c0cc829d to your computer and use it in GitHub Desktop.
Old: Public Key Packet(tag 6)(525 bytes)
Ver 4 - new
Public key creation time - Thu Sep 26 16:18:33 PDT 2013
Pub alg - RSA Encrypt or Sign(pub 1)
RSA n(4096 bits) - ...
RSA e(17 bits) - ...
Old: User ID Packet(tag 13)(68 bytes)
User ID - Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
Old: Signature Packet(tag 2)(568 bytes)
Ver 4 - new
Sig type - Positive certification of a User ID and Public Key packet(0x13).
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 26 16:18:33 PDT 2013
Hashed Sub: key flags(sub 27)(1 bytes)
Flag - This key may be used to certify other keys
Flag - This key may be used to sign data
Hashed Sub: preferred symmetric algorithms(sub 11)(5 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)
Hashed Sub: preferred hash algorithms(sub 21)(5 bytes)
Hash alg - SHA256(hash 8)
Hash alg - SHA1(hash 2)
Hash alg - SHA384(hash 9)
Hash alg - SHA512(hash 10)
Hash alg - SHA224(hash 11)
Hashed Sub: preferred compression algorithms(sub 22)(3 bytes)
Comp alg - ZLIB <RFC1950>(comp 2)
Comp alg - BZip2(comp 3)
Comp alg - ZIP <RFC1951>(comp 1)
Hashed Sub: features(sub 30)(1 bytes)
Flag - Modification detection (packets 18 and 19)
Hashed Sub: key server preferences(sub 23)(1 bytes)
Flag - No-modify
Sub: issuer key ID(sub 16)(8 bytes)
Key ID - 0x85AB96E6FA1BE5FE
Hash left 2 bytes - 5f 61
RSA m^d mod n(4095 bits) - ...
-> PKCS-1
Old: Public Subkey Packet(tag 14)(525 bytes)
Ver 4 - new
Public key creation time - Thu Sep 26 16:18:33 PDT 2013
Pub alg - RSA Encrypt or Sign(pub 1)
RSA n(4096 bits) - ...
RSA e(17 bits) - ...
Old: Signature Packet(tag 2)(543 bytes)
Ver 4 - new
Sig type - Subkey Binding Signature(0x18).
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 26 16:18:33 PDT 2013
Hashed Sub: key flags(sub 27)(1 bytes)
Flag - This key may be used to encrypt communications
Flag - This key may be used to encrypt storage
Sub: issuer key ID(sub 16)(8 bytes)
Key ID - 0x85AB96E6FA1BE5FE
Hash left 2 bytes - df 14
RSA m^d mod n(4095 bits) - ...
-> PKCS-1
Old: Public Subkey Packet(tag 14)(525 bytes)
Ver 4 - new
Public key creation time - Mon Dec 15 14:45:12 PST 2014
Pub alg - RSA Encrypt or Sign(pub 1)
RSA n(4096 bits) - ...
RSA e(17 bits) - ...
Old: Signature Packet(tag 2)(1086 bytes)
Ver 4 - new
Sig type - Subkey Binding Signature(0x18).
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 15 14:45:12 PST 2014
Hashed Sub: key flags(sub 27)(1 bytes)
Flag - This key may be used to sign data
Sub: issuer key ID(sub 16)(8 bytes)
Key ID - 0x85AB96E6FA1BE5FE
Sub: embedded signature(sub 32)(540 bytes)
Ver 4 - new
Sig type - Primary Key Binding Signature(0x19).
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 15 14:45:12 PST 2014
Sub: issuer key ID(sub 16)(8 bytes)
Key ID - 0x5CB4A9347B3B09DC
Hash left 2 bytes - 1e 98
RSA m^d mod n(4094 bits) - ...
-> PKCS-1
Hash left 2 bytes - d1 6b
RSA m^d mod n(4094 bits) - ...
-> PKCS-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment