Hi ,

I run the below two command and generated the private key for ecdsa sign .
But i thinks its not the correct lenght that why my signature creation
is failing.

1.openssl ecparam -out ec_key.pem -name secp224r1 -genkey
2. openssl req -newkey ec:ec_key.pem -x509 -nodes -days 365 -keyout
ecdsapriv.pem -out ecdsapublic.x509

cat ecdsapriv.pem
-----BEGIN PRIVATE KEY-----
MHgCAQAwEAYHKoZIzj0CAQYFK4EEACEEYTBfAgEBBBz5PninGQKcwsfBzSdQwL8Z
sofs53EyzZPLWvzHoTwDOgAEipOs1lPyOKrz4D/WGLdh6yE0WhewJIPxoDP1Rf0V
6D2I5SBwV8Bv28zpitRviKIJTp8st1j9iGg=
-----END PRIVATE KEY-----

can anybody guide me which the private key here I am use for signing the data.
Private ekey lenght should be 28 bytes for secp224r1 this curve.



Thanks
jeet
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to