Lloyd Brown wrote:
...
[EMAIL PROTECTED]:~$ openssl dgst -ecdsa-with-SHA1 -hex -sign ec.key.prime192v2.pem -out ec.test.sig.hex.sha512 .viminfo [EMAIL PROTECTED]:~$ openssl dgst -ecdsa-with-SHA1 -hex -verify ec.key.prime192v2.pem.pub -signature ec.test.sig.hex.sha512 .viminfo
Error Verifying Data
12313:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:asn1_lib.c:142: 12313:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object header:tasn_dec.c:1269: 12313:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:374:Type=ECDSA_SIG
[EMAIL PROTECTED]:~$

without using the "-hex" option it works for me

Cheers,
Nils
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to