Re: En/Decrypt Mismatch: Command-Line Tool vs. Perl's Crypt::OpenSSL

2008-08-19 Thread Jerry Krinock
Well, I got this working, although I there are several things that don't seem to work they way they should. Short summary: Must use perl function private_encrypt() instead of sign(), even though, to generate the same signature, the command-line tool must use -sign. Must use the SHA1 dige

En/Decrypt Mismatch: Command-Line Tool vs. Perl's Crypt::OpenSSL

2008-08-12 Thread Jerry Krinock
I cannot get RSA-encrypted messages which I generate using Perl's Crypt::OpenSSL::RSA to decrypt using the openssl command-line tool in Mac OS X. May be something easy/stupid since I am a new openssl user. I believe that the problem is in the ENcrypting because the signatures produced are