Hello,
I am using the dgst command to sign a file, I'm also using the -hmac
option. I then want to verify the signature by decrypting it and
checking the hash. The problem is the hash never seems to match.
For example, if i sign the string foo I get the hash below
$ echo foo | openssl dgst
toby.wa...@fxhome.com wrote:
Hello,
I am using the dgst command to sign a file, I'm also using the -hmac
option. I then want to verify the signature by decrypting it and
checking the hash. The problem is the hash never seems to match.
It's unclear to me what you are trying to accomplish
On Tue, Aug 30, 2005, Roberto Arias Alegria wrote:
Hello Stephen,
Thanks for helping me, I'm new using open-ssl I really appreciate your
support.
Then I used openssl asn1parse -inform DER -in file.key and I got this:
0:d=0 hl=4 l= 710 cons: SEQUENCE
4:d=1 hl=2 l= 64 cons:
I want to be like you!
Exactly, the file is in PKCS #8 format, that command worked perfectly,
I entered my password and worked well.
Now I want to sign a file. You said that I should use the the -sign
option in the dgst command, right? Since I also need a md5 hash of my
string I tried:
openssl
:[EMAIL PROTECTED] nome de Roberto Arias Alegria
Enviada em: quarta-feira, 31 de agosto de 2005 11:33
Para: openssl-users@openssl.org
Assunto: Re: Signing a file
I want to be like you!
Exactly, the file is in PKCS #8 format, that command worked perfectly,
I entered my password and worked well.
Now I
On Wed, Aug 31, 2005, Roberto Arias Alegria wrote:
I want to be like you!
Exactly, the file is in PKCS #8 format, that command worked perfectly,
I entered my password and worked well.
Now I want to sign a file. You said that I should use the the -sign
option in the dgst command, right?
On Wed, Aug 31, 2005, Cleidson wrote:
Hi,
I have the same problem with my private keys (I have a proprietary software
that produce a private key, and I wanna use it in Openssl), but I used the
command
openssl asn1parse -inform DER -in file.key and I got this:
0:d=0 hl=4 l= 630 cons:
That command worked just fine.
Thaks a lot.
Cleidson Correia
-Mensagem original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nome de Dr. Stephen Henson
Enviada em: quarta-feira, 31 de agosto de 2005 12:46
Para: openssl-users@openssl.org
Assunto: Re: RES: Signing a file
On Wed
OK, perfectly, just what I needed. Let me try it with my real file I
think I can do the rest of what I need for myself.
Thanks again!
Roberto
On 8/31/05, Dr. Stephen Henson [EMAIL PROTECTED] wrote:
On Wed, Aug 31, 2005, Roberto Arias Alegria wrote:
I want to be like you!
Exactly, the
Me again,
Reading further in the specifications, I found out that the software
that builds the private and public keys is using PKCS #10, it is
important that I used
openssl pkcs8 -inform DER -in mykey.key -out mykey.pem
to convert my private key?
Just to know, it worked perfectly.
Roberto
On Wed, Aug 31, 2005, Roberto Arias Alegria wrote:
Me again,
Reading further in the specifications, I found out that the software
that builds the private and public keys is using PKCS #10, it is
important that I used
openssl pkcs8 -inform DER -in mykey.key -out mykey.pem
to convert my
Hello,
I tried to sign a file using a private key (a file with a .key
extension) using this:
openssl rsautl -sign -in myfile.txt -inkey mykey.key -out signed
But I got a meesage unable to load private key.
The private key was generated using a propiertary software (in fact, a
government-made
On Tue, Aug 30, 2005, Roberto Arias Alegria wrote:
Hello,
I tried to sign a file using a private key (a file with a .key
extension) using this:
openssl rsautl -sign -in myfile.txt -inkey mykey.key -out signed
But I got a meesage unable to load private key.
The private key was
Hello Stephen,
Thanks for helping me, I'm new using open-ssl I really appreciate your support.
OK firstly no, I didn't find the private-key string using the binary
editor, I searched for it but I didn't find it.
Thanks for the suggestion, I generated a dummy key with the same
software. After
Hi,
I am trying to sign a file with openssl :
openssl rsautl -raw -sign -in coucou1.pdf -inkey gilles.pem -out sig
Enter pass phrase for gilles.pem:
RSA operation error
30452:error:0406B06E:rsa routines:RSA_padding_add_none:data too large for
key size:rsa_none.c:70:
I did not find anything
On Fri, Apr 23, 2004, [EMAIL PROTECTED] wrote:
Hi,
I am trying to sign a file with openssl :
openssl rsautl -raw -sign -in coucou1.pdf -inkey gilles.pem -out sig
Enter pass phrase for gilles.pem:
RSA operation error
30452:error:0406B06E:rsa routines:RSA_padding_add_none:data too large
cc :
Objet : Re: signing a file with openssl
On Fri, Apr 23, 2004, [EMAIL PROTECTED] wrote:
Hi,
I am trying to sign a file with openssl
17 matches
Mail list logo