Skip to content

proposal: crypto/x509: add support for Relative OIDs #75260

@lukevalenta

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.

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-CryptoProposal related to crypto packages or other security issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions