Skip to content

crypto/x509: accept non-string pkix.Name attributes #75260

Description

@lukevalenta

Relative OID tag support is currently missing from the encoding/asn1 and x/crypto/cryptobyte packages.

The motivation is that RELATIVE-OID is used in both https://datatracker.ietf.org/doc/html/draft-ietf-tls-trust-anchor-ids-01 and https://datatracker.ietf.org/doc/draft-davidben-tls-merkle-tree-certs/.

In particular, attempting to parse a draft07 Merkle Tree Certificate with x509.ParseCertificate gives the following error: x509: invalid RDNSequence: invalid attribute value: unsupported string type: 13.

Pinned by FiloSottile

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LibraryProposalIssues describing a requested change to the Go standard library or x/ libraries, but not to a toolProposalProposal-AcceptedProposal-CryptoProposal related to crypto packages or other security issues

    Type

    No type

    Projects

    • Status
      Accepted

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions