Re: OpenSSL verification SHA1 with RSA problem

2010-09-11 Thread sandeep kiran p
If you haven't figured it out yet, you need to provide the -a/-base64 option to 'openssl enc' to encode/decode the base64 data. Check 'man enc'. -Sandeep On Sun, Sep 5, 2010 at 1:13 PM, tera tellence tellt...@googlemail.comwrote: Hi, Thank you for the reply. I now send the signature and

Re: OpenSSL verification SHA1 with RSA problem

2010-09-06 Thread tera tellence
Hi, Thank you for the reply. I now send the signature and original message as base64 format from System A(Java Machine) and now at System B I decode it using: openssl enc -d -in sig.b64 -out sig.bin But unfortunately, the output file is empty! I wonder why! Also, I do the same on my original

OpenSSL verification SHA1 with RSA problem

2010-09-03 Thread tera tellence
Dear all, I have to sign a message with a private key using the sha1 with RSA using the Java JCE(Bouncy Castle engine) on System A. I then have to pass the public key, the original message and the signature to System B which uses OpenSSL to verify the signature. At the openSSL end, I use:

RE: OpenSSL verification SHA1 with RSA problem

2010-09-03 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of tera tellence Sent: Friday, 03 September, 2010 04:13 I have to sign a message with a private key using the sha1 with RSA using the Java JCE(Bouncy Castle engine) on System A. I then have to pass the public key, the