Hi, I'm trying to use the openssl toolkit to decrypt a message that was encryted using an RSA public key. I have the RSA private key and thus has generated to the public key. so I have both. The string with the encrytped message is held in a file called "q2.enc": a7jjYdmTJVFm9Lok2AHKEdBllkG+Lf0IbifXtB87gRExy7PmdyrFs/Cw3jVi5V/RPgNUYehUpxfKcgwWfE2/dg==
I have my private RSA key in file "prvt.cey" and my public RSA key in "pub.cey". The command i am trying to use is this: openssl rsautl -in q2.enc -inkey prvt.cey -decrypt However this gives me an error message: RSA operation error 4384:error:0406506C:rsa routines:RSA_EAY_PRIVATE_DECRYPT:data greater than mod len:./crypto/rsa/rsa_eay.c:512: I don't understand how this can be the case. The input is only an 88byte file. Any help would be much appreciated. Thanks in advance ~ Ax -- View this message in context: http://www.nabble.com/RSA-Decryption-Error-tp21934088p21934088.html Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org