Extracting VerifyingKey from X.509 certificates
tomato42 opened this issue · 2 comments
tomato42 commented
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 commented
Is it hard to implement that feature?
tomato42 commented
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