RE: Verify signed text

2011-03-31 Thread luis hernandez
Thak you DAVE I answer without seeing your post. > From: dthomp...@prinpay.com > To: openssl-users@openssl.org > Subject: RE: Verify signed text > Date: Thu, 31 Mar 2011 16:56:39 -0400 > > > From: owner-openssl-us...@openssl.org On Behalf Of luis hernandez > >

RE: Verify signed text

2011-03-31 Thread luis hernandez
Problem solved! I found this:openssl x509 -inform pem -in certificate.pem -pubkey -noout > publickey.pemand added to the certificate. From: lu_her...@hotmail.com To: openssl-users@openssl.org Subject: RE: Verify signed text Date: Thu, 31 Mar 2011 14:07:27 -0600 it did not work:$

RE: Verify signed text

2011-03-31 Thread Dave Thompson
ferably validate the cert as well. > Subject: Re: Verify signed text > From: w...@omnigroup.com > Date: Wed, 30 Mar 2011 10:12:45 -0700 > On 30 Mar 2011, at 9:59 AM, luis hernandez wrote: > > i get a file with a signed

RE: Verify signed text

2011-03-31 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Wim Lewis > Sent: Wednesday, 30 March, 2011 17:01 > On 30 Mar 2011, at 12:02 PM, luis hernandez wrote: > > Thanks Wim, > > > > i know that cer pem files have the public key in it like: > > > > -BEGIN PUBLIC KEY- > > MIGfMA0GCSqGSIb3D

RE: Verify signed text

2011-03-31 Thread luis hernandez
it did not work:$cat signedbase64string.txt | openssl enc -base64 -d -A -out seal $cat stringtosign.xt | openssl dgst -md5 -verify cert.pem -signature seal $unable to load key file > Subject: Re: Verify signed text > From: w...@omnigroup.com > Date: Wed, 30 Mar 2011 10:12:45 -070

RE: Verify signed text

2011-03-30 Thread luis hernandez
OK thanks a lot > Subject: Re: Verify signed text > From: w...@omnigroup.com > Date: Wed, 30 Mar 2011 14:01:24 -0700 > To: openssl-users@openssl.org > > > On 30 Mar 2011, at 12:02 PM, luis hernandez wrote: > > Thanks Wim, > > > > i know that cer p

Re: Verify signed text

2011-03-30 Thread Wim Lewis
On 30 Mar 2011, at 12:02 PM, luis hernandez wrote: > Thanks Wim, > > i know that cer pem files have the public key in it like: > > -BEGIN PUBLIC KEY- > MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD0ltQNthUNUfzq0t1GpIyapjz... > -END PUBLIC KEY- > -BEGIN CERTIFICATE- > MIIE/TC

RE: Verify signed text

2011-03-30 Thread luis hernandez
... -END CERTIFICATE- but what i receive is: signedstring:ki987jjhfw84hf7ewh9f497fe9hihfw87yr79g23hfd937f237fg327f2... certificate:MIIE/TCCA+WgAwIBAgIUMzAwMDEwMDAwMDAxMDAwMDA4MDAwDQYJKoZIhvcNAQEF... some other data... so from that can i verify the signed string? > Subject: Re: Verify signed t

Re: Verify signed text

2011-03-30 Thread Wim Lewis
On 30 Mar 2011, at 9:59 AM, luis hernandez wrote: > i get a file with a signed base64 string produced using the following > commands: > > openssl dgs -md5 -sign key.pem stringtosign.txt | openssl enc -base64 -A > > signedbase64string.txt > > that signed string is part of a text file that inc

Verify signed text

2011-03-30 Thread luis hernandez
Hi all, i get a file with a signed base64 string produced using the following commands: openssl dgs -md5 -sign key.pem stringtosign.txt | openssl enc -base64 -A > signedbase64string.txt that signed string is part of a text file that includes the certificate in pem format without the public