Skip to content

proposal: crypto/x509: Add support for OtherName SAN #69023

Description

@kindermoumoute

Proposal Details

Reopening #55897 with more context.

We use otherName (RFC 5280 4.2.1.6) as an alternative to dNSName since underscores are forbidden from being used in dNSName entries (Ballot SC12: Sunset of Underscores in dNSNames).

Why we use underscores? We use an internal PKI to sign certificates on protobuf namespaces, which allow underscores.

This SAN is generally adopted by PKI tools (e.g. vault API other_sans) and major proxies (e.g. envoy API OTHER_NAME).

we generally treat crypto/x509 as supporting what we need for the web, not for all of X.509

@rsc not sure to understand what is the scope of "web" here. FWIW we use gRPC APIs from web browser.

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions