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
I'm playing around TPM Endorsement Key certificates. One of the things I want to archive is to verify a EK certificate against the root CA. The function looks like
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, according to the sources.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I'm playing around TPM Endorsement Key certificates. One of the things I want to archive is to verify a EK certificate against the root CA. The function looks like
What did you expect to see?
I expect the verification process to complete.
What did you see instead?
Verification fails with
x509: unhandled critical extension
. The unhandled critical extension is SubjectAltName.The reason
RFC 5280, 4.2.1.6 defines 9 types of general names. However, parseSANExtension function (crypto/x509) supports only 4 (email, dns, uri, ip).
The proposal
Support other types of general names for SubjectAltName (or add some of them).
The text was updated successfully, but these errors were encountered: