Last active
August 29, 2015 14:17
-
-
Save fawkesley/5285a6ebce4a30dca12b to your computer and use it in GitHub Desktop.
Json output of GPG file generated with `echo hello | gpg --s2k-mode=0` and passphrase `foo`. Incorrect decryption of ciphertext!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"header": { | |
"packet_type": "SymmetricKeyEncryptedSessionKeyPacket", | |
"packet_tag": 3, | |
"packet_format": "old", | |
"header_octets": { | |
"octets": "8c:04", | |
"length": 2 | |
}, | |
"body_octets": { | |
"octets": "04:09:00:02", | |
"length": 4 | |
} | |
}, | |
"version": 4, | |
"cipher": { | |
"name": "AES256", | |
"octet_value": 9, | |
"key_length": { | |
"bits": 256, | |
"octets": 32 | |
} | |
}, | |
"string_to_key_specifier": { | |
"name": "SimpleS2K", | |
"octet_value": 0, | |
"hash_algorithm": { | |
"name": "SHA1", | |
"octet_value": 2, | |
"output_length": { | |
"bits": 160, | |
"octets": 20 | |
} | |
}, | |
"_key": { | |
"octets": "0b:ee:c7:b5:ea:3f:0f:db:c9:5d:0d:d4:7f:3c:5b:c2:75:da:8a:33:5a:8c:aa:40:39:fd:bc:02:c0:1a:64:9c", | |
"length": 32 | |
} | |
}, | |
"encrypted_session_key": null, | |
"_session_key": { | |
"octets": "0b:ee:c7:b5:ea:3f:0f:db:c9:5d:0d:d4:7f:3c:5b:c2:75:da:8a:33:5a:8c:aa:40:39:fd:bc:02:c0:1a:64:9c", | |
"length": 32 | |
} | |
}, | |
{ | |
"header": { | |
"packet_type": "SymmetricEncryptedandIntegrityProtectedDataPacket", | |
"packet_tag": 18, | |
"packet_format": "new", | |
"header_octets": { | |
"octets": "d2:3b", | |
"length": 2 | |
}, | |
"body_octets": { | |
"octets": "01:0b:1e:cf:86:33:08:fd:66:9a:f0:be:48:62:a4:a5:42:4f:d8:20:fe:16:e4:4c:db:80:89:ee:34:72:ef:52:36:70:15:01:82:d5:0e:eb:61:ba:e7:71:4a:8c:22:6a:9c:79:8f:e3:da:31:fc:ad:14:eb:8a", | |
"length": 59 | |
} | |
}, | |
"version": 1, | |
"encrypted_data": { | |
"octets": "0b:1e:cf:86:33:08:fd:66:9a:f0:be:48:62:a4:a5:42:4f:d8:20:fe:16:e4:4c:db:80:89:ee:34:72:ef:52:36:70:15:01:82:d5:0e:eb:61:ba:e7:71:4a:8c:22:6a:9c:79:8f:e3:da:31:fc:ad:14:eb:8a", | |
"length": 58 | |
}, | |
"_decrypted_data": { | |
"random_octets": { | |
"octets": "48:9b:65:84:01:f7:33:23:0a:6e:e4:32:9d:c4:ef:99", | |
"length": 16 | |
}, | |
"repeated_octets": { | |
"octets": "56:a8", | |
"length": 2 | |
}, | |
"plaintext": { | |
"octets": "b9:fd:5a:05:6e:d2:83:22:22:fe:e5:d7:77:dd:93:49:4f:03:fe:13", | |
"length": 20 | |
}, | |
"sha1": { | |
"octets": "ce:7d:93:34:59:f6:71:70:c3:bd:06:94:ad:97:f3:0a:59:72:1d:93", | |
"length": 20 | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment