Re: Signature verification problem

2005-08-11 Thread Peter BENKO,VSE IT Sluzby,+421-55-610-2045,+421-903-855532
On Tue, Aug 09, 2005 at 08:54:44PM +0200, Dr. Stephen Henson wrote: > On Tue, Aug 09, 2005, Peter BENKO,VSE IT > Sluzby,+421-55-610-2045,+421-903-855532 wrote: > > > I have problem with signature verification: > > > > When I try to verify the SMIME signed message (hello.txt.p7m - see > > attachm

Re: Signature verification problem

2005-08-09 Thread Dr. Stephen Henson
On Tue, Aug 09, 2005, Peter BENKO,VSE IT Sluzby,+421-55-610-2045,+421-903-855532 wrote: > I have problem with signature verification: > > When I try to verify the SMIME signed message (hello.txt.p7m - see > attachment) with the command: > openssl smime -verify -in hello.txt.p7m -inform DER -CAfi

Signature verification problem

2005-08-09 Thread Peter BENKO,VSE IT Sluzby,+421-55-610-2045,+421-903-855532
I have problem with signature verification: When I try to verify the SMIME signed message (hello.txt.p7m - see attachment) with the command: openssl smime -verify -in hello.txt.p7m -inform DER -CAfile ca-bundle.crt -out /dev/null I obtain the following error message: Verification failure 12491:e

Re: Signature Verification problem

2003-04-02 Thread Dr. Stephen Henson
On Wed, Apr 02, 2003, Howard Chan wrote: > Actually, I found that if I use : openssl dgst -sha1 -verify > "pubkey" -signature "signature_file" -binary "original_file" > works. > > Provided that I signed with : openssl dgst -sha1 -sign "privkey" "original > file" . This is what I did with a tes

Re: Signature Verification problem

2003-04-02 Thread Howard Chan
of the signature and the "original file". In the case of OCSP requests, the "original file" is most certainly NOT the whole binary file!! Does anyone have any hints for me? Regards, - HC - Original Message - From: "Nils Larsch" <[EMAIL PROTECTED]>

Re: Signature Verification problem

2003-04-02 Thread Nils Larsch
Howard Chan wrote: What about using the openssl commands? ie. x509, rsautl, dgst, etc. Can I do all that I specified below strictly using those openssl commands? If so, how? 'openssl rsautl -pubin -verfiy ...' didn't work ? Regards, Nils

Re: Signature Verification problem

2003-04-01 Thread Howard Chan
- Original Message - From: "Aleix Conchillo Flaque" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 8:35 PM Subject: Re: Signature Verification problem > "Howard Chan" <[EMAIL PROTECTED]> writes: > > > > > I ha

Re: Signature Verification problem

2003-04-01 Thread Aleix Conchillo Flaque
"Howard Chan" <[EMAIL PROTECTED]> writes: > > I have this file which used sha1 hash algorithm to obtain it's message > digest, and subsequently the digest was encrypted (signed) using RSA > algorithm with a private key from a X.509 certificate. > i don't think you can get a private key from an X5

Signature Verification problem

2003-04-01 Thread Howard Chan
Dear all,   I'm experimenting with openssl and I have the following problem at hand:   I have this file which used sha1 hash algorithm to obtain it's message digest, and subsequently the digest was encrypted (signed) using RSA algorithm with a private key from a X.509 certificate.   Now, I h