diff options
Diffstat (limited to 'src/tests/data/test_list_packets/list_json_grips.txt')
-rw-r--r-- | src/tests/data/test_list_packets/list_json_grips.txt | 274 |
1 files changed, 274 insertions, 0 deletions
diff --git a/src/tests/data/test_list_packets/list_json_grips.txt b/src/tests/data/test_list_packets/list_json_grips.txt new file mode 100644 index 0000000..63e6b42 --- /dev/null +++ b/src/tests/data/test_list_packets/list_json_grips.txt @@ -0,0 +1,274 @@ +[ + { + "header":{ + "offset":0, + "tag":6, + "tag.str":"Public Key", + "raw":"9852", + "length":82, + "partial":false, + "indeterminate":false + }, + "version":4, + "creation time":1522762293, + "algorithm":19, + "algorithm.str":"ECDSA", + "material":{ + "p.bits":515, + "curve":"NIST P-256" + }, + "keyid":"23674f21b2441527", + "fingerprint":"b54fdebbb673423a5d0aa54423674f21b2441527", + "grip":"fc81aece90bce6e54d0d637d266109783ac8dac0" + }, + { + "header":{ + "offset":84, + "tag":13, + "tag.str":"User ID", + "raw":"b408", + "length":8, + "partial":false, + "indeterminate":false + }, + "userid":"ecc-p256" + }, + { + "header":{ + "offset":94, + "tag":2, + "tag.str":"Signature", + "raw":"8894", + "length":148, + "partial":false, + "indeterminate":false + }, + "version":4, + "type":19, + "type.str":"Positive User ID certification", + "algorithm":19, + "algorithm.str":"ECDSA", + "hash algorithm":8, + "hash algorithm.str":"SHA256", + "subpackets":[ + { + "type":27, + "type.str":"key flags", + "length":1, + "hashed":true, + "critical":false, + "flags":3, + "flags.str":[ + "certify", + "sign" + ] + }, + { + "type":11, + "type.str":"preferred symmetric algorithms", + "length":4, + "hashed":true, + "critical":false, + "algorithms":[ + 9, + 8, + 7, + 2 + ], + "algorithms.str":[ + "AES-256", + "AES-192", + "AES-128", + "TripleDES" + ] + }, + { + "type":34, + "type.str":"preferred AEAD algorithms", + "length":2, + "hashed":true, + "critical":false, + "algorithms":[ + 2, + 1 + ], + "algorithms.str":[ + "OCB", + "EAX" + ] + }, + { + "type":21, + "type.str":"preferred hash algorithms", + "length":5, + "hashed":true, + "critical":false, + "algorithms":[ + 10, + 9, + 8, + 11, + 2 + ], + "algorithms.str":[ + "SHA512", + "SHA384", + "SHA256", + "SHA224", + "SHA1" + ] + }, + { + "type":22, + "type.str":"preferred compression algorithms", + "length":3, + "hashed":true, + "critical":false, + "algorithms":[ + 2, + 3, + 1 + ], + "algorithms.str":[ + "ZLib", + "BZip2", + "ZIP" + ] + }, + { + "type":30, + "type.str":"features", + "length":1, + "hashed":true, + "critical":false, + "mdc":true, + "aead":true, + "v5 keys":false + }, + { + "type":23, + "type.str":"key server preferences", + "length":1, + "hashed":true, + "critical":false, + "no-modify":true + }, + { + "type":33, + "type.str":"issuer fingerprint", + "length":21, + "hashed":true, + "critical":false, + "fingerprint":"b54fdebbb673423a5d0aa54423674f21b2441527" + }, + { + "type":2, + "type.str":"signature creation time", + "length":4, + "hashed":true, + "critical":false, + "creation time":1549119463 + }, + { + "type":16, + "type.str":"issuer key ID", + "length":8, + "hashed":false, + "critical":false, + "issuer keyid":"23674f21b2441527" + } + ], + "lbits":"d727", + "material":{ + "r.bits":251, + "s.bits":256 + } + }, + { + "header":{ + "offset":244, + "tag":14, + "tag.str":"Public Subkey", + "raw":"b856", + "length":86, + "partial":false, + "indeterminate":false + }, + "version":4, + "creation time":1522762293, + "algorithm":18, + "algorithm.str":"ECDH", + "material":{ + "p.bits":515, + "curve":"NIST P-256", + "hash algorithm":8, + "hash algorithm.str":"SHA256", + "key wrap algorithm":7, + "key wrap algorithm.str":"AES-128" + }, + "keyid":"37e285e9e9851491", + "fingerprint":"40e608afbc8d62cdcc08904f37e285e9e9851491", + "grip":"a56dc8db8355747a809037459b4258b8a743eab5" + }, + { + "header":{ + "offset":332, + "tag":2, + "tag.str":"Signature", + "raw":"8878", + "length":120, + "partial":false, + "indeterminate":false + }, + "version":4, + "type":24, + "type.str":"Subkey Binding Signature", + "algorithm":19, + "algorithm.str":"ECDSA", + "hash algorithm":8, + "hash algorithm.str":"SHA256", + "subpackets":[ + { + "type":27, + "type.str":"key flags", + "length":1, + "hashed":true, + "critical":false, + "flags":12, + "flags.str":[ + "encrypt_comm", + "encrypt_storage" + ] + }, + { + "type":33, + "type.str":"issuer fingerprint", + "length":21, + "hashed":true, + "critical":false, + "fingerprint":"b54fdebbb673423a5d0aa54423674f21b2441527" + }, + { + "type":2, + "type.str":"signature creation time", + "length":4, + "hashed":true, + "critical":false, + "creation time":1549119471 + }, + { + "type":16, + "type.str":"issuer key ID", + "length":8, + "hashed":false, + "critical":false, + "issuer keyid":"23674f21b2441527" + } + ], + "lbits":"64aa", + "material":{ + "r.bits":256, + "s.bits":256 + } + } +] |