Skip to content

crypto/x509: CRLs not checked as part of certificate validation #77143

Description

@joyantaDebnath

Go version

latest or older

Output of go env in your module/workspace:

N/A

What did you do?

The cryptographic library in the Go programming language includes low-level functions for parsing CRLs.
However, it lacks any implementation for CRL semantic checks (e.g., does not check
whether the CRL is expired). Even the certificate validation logic in Go’s X509 pack-
age does not perform revocation checking, nor does it provide any API interface to
supply CRLs as input for validation.

What did you see happen?

Expired CRL is accepted during CRL revocation checking of a certificate

What did you expect to see?

CRL is expired. Thus, certificate validation must fail

Metadata

Metadata

Assignees

No one assigned

    Labels

    LibraryProposalIssues describing a requested change to the Go standard library or x/ libraries, but not to a toolNeedsInvestigationSomeone 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