verify signature using public key?

2007-06-25 Thread Janet N
Hi I am having difficulties using openssl to verify the signature using my dsa-public key, any help is appreciated! sign data using private key: 1) openssl rsautl -sign -in sign.txt -inkey userkey.pem -out sig Verify signature with public key got syntax error: 2) openssl rsautl -verify -in sig

Re: verify signature using public key?

2007-06-25 Thread Dr. Stephen Henson
On Mon, Jun 25, 2007, Janet N wrote: Hi I am having difficulties using openssl to verify the signature using my dsa-public key, any help is appreciated! sign data using private key: 1) openssl rsautl -sign -in sign.txt -inkey userkey.pem -out sig Verify signature with public key got

Re: verify signature using public key?

2007-06-25 Thread Janet N
Hi, Thanks for the prompt respond. I've tried to use the dgst function to sign and verify the signature using the dsa public key, it failed to even load the private key to sign it! 1) Message digest: -bash-3.1$ openssl dgst -sha1 sig.txt SHA1(sig.txt)= 922a03e68e2e8d36a6b7a7fb4400fb32b89373f0

Re: verify signature using public key?

2007-06-25 Thread Janet N
I got it to signed and verify using dgst -dss1. To sign or verify data using the DSA algorithm then the dss1 digest must be used. On 6/25/07, Janet N [EMAIL PROTECTED] wrote: Hi, Thanks for the prompt respond. I've tried to use the dgst function to sign and verify the signature using the