Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to get curve name from ECDSA certificate #368

Open
steepnought opened this issue Feb 3, 2022 · 2 comments
Open

Add function to get curve name from ECDSA certificate #368

steepnought opened this issue Feb 3, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@steepnought
Copy link

Please add a function to get the curve name from an ECDSA certificate. I couldn't find any in the documentation.

@h-vn h-vn self-assigned this Feb 17, 2022
@h-vn h-vn added the enhancement New feature or request label Feb 17, 2022
@h-vn
Copy link
Contributor

h-vn commented Feb 17, 2022

Do you know which OpenSSL API functions would be needed for this? If you do, then I'd know quicker what to expose. For example, is this the information you are looking for: https://wiki.openssl.org/index.php/File:Cert-with-flag.png

@steepnought
Copy link
Author

I am looking for the name of the curve that was used to create the key via -pkeyopt ec_paramgen_curve:$curve. This seems to be the ASN1 OID in the openssl output.

Unfortunately, I don't know what is needed to get this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants