-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Open
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Description
Go version
go version go1.24.2 linux/amd64
Output of go env in your module/workspace:
IDP Extension Flags:
Only Contains User Certificates: false
Only Contains CA Certificates: false
Indirect CRL: false
Tag: 5
gn.Bytes [134 23 104 116 116 112 115 58 47 47 119 119 119 46 101 120 97 109 112 108 101 46 99 111 109]
[Entry 1] Distribution Point URI: https://www.example.comWhat did you do?
In this CRL file, the GeneralName in the fullName of the distributionPoint in the IDP extension is tagged as a context-specific tag and simple encoding, with the tag value set to 5. This violates the RFC5280 specification.However, when I use Go to parse this CRL file,Go successfully extracts the URI value from the GeneralName without any errors. Is this a bug, or is it a feature of Go?
What did you see happen?
Go parsed a GeneralName with an incorrect tag.
What did you expect to see?
Metadata
Metadata
Assignees
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.