Skip to content

Instantly share code, notes, and snippets.

@hukl
Created February 21, 2017 16:00
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 hukl/8c342dd8618e0fdc69376382efa516ad to your computer and use it in GitHub Desktop.
Save hukl/8c342dd8618e0fdc69376382efa516ad to your computer and use it in GitHub Desktop.
Attempted decode
openssl rsautl -decrypt -inkey private.pem -oaep -in cryptedmessage -out decrypted
RSA operation error
11511:error:0407A079:rsa routines:RSA_padding_check_PKCS1_OAEP:oaep decoding error:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-64.30.2/src/crypto/rsa/rsa_oaep.c:199:
11511:error:04065072:rsa routines:RSA_EAY_PRIVATE_DECRYPT:padding check failed:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-64.30.2/src/crypto/rsa/rsa_eay.c:614:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment