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

Extracting VerifyingKey from X.509 certificates #119

Open
tomato42 opened this issue Sep 29, 2019 · 2 comments
Open

Extracting VerifyingKey from X.509 certificates #119

tomato42 opened this issue Sep 29, 2019 · 2 comments
Labels
feature functionality to be implemented help wanted

Comments

@tomato42
Copy link
Member

tomato42 commented Sep 29, 2019

The public keys are not usually distributed as bare RFC5912 ASN.1 objects but rather as X.509 certificates.

Add support for parsing certificates (in PEM and DER format) to VerifyingKey.

see also: #113

@marti1125
Copy link

Is it hard to implement that feature?

@tomato42
Copy link
Member Author

It depends: if you're familiar with ASN.1 and DER parsing, no, it's quite easy (it's just about finding the correct node and passing it to the existing parsing function).
If you haven't had your mind warped by this particular seed of primordial chaos: no, not something I can recommend attempting 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature functionality to be implemented help wanted
Projects
None yet
Development

No branches or pull requests

2 participants