Skip to content

Instantly share code, notes, and snippets.

@catap

catap/100k.txt Secret

Created September 3, 2017 12:53
Show Gist options
  • Save catap/f909b1d221f93c446edff03832fba075 to your computer and use it in GitHub Desktop.
Save catap/f909b1d221f93c446edff03832fba075 to your computer and use it in GitHub Desktop.
➜ rnp-gpg-test openssl dgst -sha1 100k.bin
SHA1(100k.bin)= 344099224b95e3e1006befb5c63f37d1a477d619
➜ rnp-gpg-test gpg --homedir ~/.rnp --encrypt -r '<catap@localhost>' 100k.bin
gpg: F664AD37: There is no assurance this key belongs to the named user
sub 2048R/F664AD37 2017-08-23 RSA (Encrypt or Sign) 2048-bit key <catap@localhost>
Primary key fingerprint: 5E0A 2ACB 2A00 8740 7648 85A0 21E0 95A8 19E8 76E8
Subkey fingerprint: 0961 9254 4507 6F4F 33C1 1652 9EBD 8590 F664 AD37
It is NOT certain that the key belongs to the person named
in the user ID. If you *really* know what you are doing,
you may answer the next question with yes.
Use this key anyway? (y/N) y
➜ rnp-gpg-test rm -f 100k.bin
➜ rnp-gpg-test ~/Documents/Riboseinc/rnp/src/rnp/.libs/rnp --decrypt 100k.bin.gpg
signature 2048/RSA (Encrypt or Sign) 9ebd8590f664ad37 2017-08-23 [E]
0961 9254 4507 6f4f 33c1 1652 9ebd 8590 f664 ad37
➜ rnp-gpg-test openssl dgst -sha1 100k.bin
SHA1(100k.bin)= 344099224b95e3e1006befb5c63f37d1a477d619
➜ rnp-gpg-test
➜ rnp-gpg-test openssl dgst -sha1 4g.bin
SHA1(4g.bin)= 31ab4e5b65b56e28867079bac1a4fb98b51cc077
➜ rnp-gpg-test gpg --homedir ~/.rnp --encrypt -r '<catap@localhost>' 4g.bin
gpg: F664AD37: There is no assurance this key belongs to the named user
sub 2048R/F664AD37 2017-08-23 RSA (Encrypt or Sign) 2048-bit key <catap@localhost>
Primary key fingerprint: 5E0A 2ACB 2A00 8740 7648 85A0 21E0 95A8 19E8 76E8
Subkey fingerprint: 0961 9254 4507 6F4F 33C1 1652 9EBD 8590 F664 AD37
It is NOT certain that the key belongs to the person named
in the user ID. If you *really* know what you are doing,
you may answer the next question with yes.
Use this key anyway? (y/N) y
➜ rnp-gpg-test rm -f 4g.bin
➜ rnp-gpg-test ~/Documents/Riboseinc/rnp/src/rnp/.libs/rnp --decrypt 4g.bin.gpg
signature 2048/RSA (Encrypt or Sign) 9ebd8590f664ad37 2017-08-23 [E]
0961 9254 4507 6f4f 33c1 1652 9ebd 8590 f664 ad37
parse_se_ip_data: bad version
packet-parse.c:2495: Unknown, Packet was not consumed
reader.c:1707: PGP_E_R_READ_FAILED, file descriptor 3
reader.c:1707: system error 14 returned from read()
➜ rnp-gpg-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment