I am new to OpenSSL and have a private RSA key and am trying to read a
encrypted message that looks to be in base64 format but I'm not to sure.
When i do the below code i get this error.... if you can offer any help it
would be great.

Thanks

OpenSSL> rsautl -decrypt -inkey privatekey.pem -in message.txt
Loading 'screen' into random state - done
RSA operation error
9596:error:0407106B:rsa routines:RSA_padding_check_PKCS1_type_2:block type
is no
t 02:.\crypto\rsa\rsa_pk1.c:190:
9596:error:04065072:rsa routines:RSA_EAY_PRIVATE_DECRYPT:padding check
failed:.\
crypto\rsa\rsa_eay.c:616:
error in rsautl



-- 
Regards,

*Matt McPhee*
mcphe...@gmail.com
  • RSA Matt McPhee

Reply via email to