Skip to content

crypto/x509: ParseRevocationList accepts having both onlyContainsUserCerts and onlyContainsCACerts set to true #73308

@onepeople158

Description

@onepeople158

Go version

go version go1.24.2 linux/amd64

Output of go env in your module/workspace:

IDP Extension Flags:
 Only Contains User Certificates: true
 Only Contains CA Certificates: true
 Indirect CRL: false

What did you do?

I successfully parsed the information from a CRL file using Go, where both onlyContainsUserCerts and onlyContainsCACerts are set to True, and there were no errors. Is this a bug?Since Go does not have a direct API to parse the IDP value, I'm not sure if this is a bug, or if I need to implement error detection for this in the code myself.

What did you see happen?

Go parsed a CRL file where both onlyContainsUserCerts and onlyContainsCACerts are set to True

What did you expect to see?

crl_IDP_ou_oa.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions