crypto/x509: Go accepts the IDP extension with DER encoding as an empty sequence #73284
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
go version go1.24.2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Hello Developer,
However, when I am using Go to parse a CRL file, this CRL file has onlyContainsUserCerts, onlyContainsCACerts, indirectCRL, and OnlyContainsAttributeCerts all set to FALSE, and it does not have a distributionPoint field or an onlySomeReasons field. Go does not throw an error. Is this a bug, or is it a feature of Go?
What did you see happen?
Go parses the IDP extension information with a DER encoding of an empty sequence.
What did you expect to see?
crl_IDP_None.zip
The text was updated successfully, but these errors were encountered: