You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document how to get SubjectPublicKey form from SubjectPublicKeyInfo #476
I have computed an EC private key: openssl ecparam -name prime256v1 -genkey -noout -outform der -out ecdsa_private_key.der and the corresponding public key: openssl ec -in ecdsa_private_key.der -inform der -pubout -out ecdsa_public_key.der -outform der.
As far as I can tell, (by converting the DER public key to PEM), the public key from this is in SubjectPublicKeyInfo. I understand that ring works with the "traditional" form (is this PKCS#1?)
Is there any command line tool I could use to perform this conversion? openssl ec does not seem to have the RSAPublicKey_{in|out} analogue.
changed the title [-]How are EC Public key used in ECDSA signature verification generated?[/-][+]How are EC Public keys used in ECDSA signature verification generated?[/+]on Mar 7, 2017
changed the title [-]How are EC Public keys used in ECDSA signature verification generated?[/-][+]Document how to get SubjectPublicKey for from SubjectPublicKeyInfo[/+]on Mar 7, 2017
changed the title [-]Document how to get SubjectPublicKey for from SubjectPublicKeyInfo[/-][+]Document how to get SubjectPublicKey form from SubjectPublicKeyInfo[/+]on Mar 7, 2017
Activity
[-]How are EC Public key used in ECDSA signature verification generated?[/-][+]How are EC Public keys used in ECDSA signature verification generated?[/+]briansmith commentedon Mar 7, 2017
I don't know. It's better to ask on openssl-users; see https://www.openssl.org/community/mailinglists.html.
Once #378 is fixed, you'll be able to parse a
SubjectPublicKeyInfoin ring to get the rawSubjectPublicKeythatsing::signature::verify()uses.[-]How are EC Public keys used in ECDSA signature verification generated?[/-][+]Document how to get SubjectPublicKey for from SubjectPublicKeyInfo[/+][-]Document how to get SubjectPublicKey for from SubjectPublicKeyInfo[/-][+]Document how to get SubjectPublicKey form from SubjectPublicKeyInfo[/+]briansmith commentedon Oct 14, 2023
Closing as a duplicate of #370 (edit: was #378).