crypto/x509: certificate with empty Authority Key Identifier extension considered invalid #70619
Labels
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Go version
go version go1.18.1 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I used crypto/x509 of golang to convert the der certificate to a pem certificate. For my test case, there was an Authority Key Identifier extension with an empty value.
What did you see happen?
Golang considered it an invalid Authority Key Identifier extension, but openssl and gnutls did not.
What did you expect to see?
According to rfc5280, the keyIdentifier, authorityCertIssuer, and authorityCertSerialNumber of the Authority Key Identifier extension are all OPTIONAL
The text was updated successfully, but these errors were encountered: