Skip to content

Semantic matching for otherName/x400Address/ediPartyName/registeredID name constraints #12

Description

@kjanat

Name constraints for otherName, x400Address, ediPartyName, and registeredID are currently handled fail-closed per RFC 5280 §4.2.1.10: a critical constraint of one of these forms rejects a subsequent certificate only when a SAN of that form actually appears (unsupported_name_constraints). That is spec-sanctioned and safe, but not semantic evaluation.

Semantic matching would mean actually comparing constraint subtrees against SAN values for these forms (e.g. registeredID OID equality, otherName type-id + value comparison). Real-world demand is near zero outside niche PKIs (e.g. UPN constraints in Microsoft environments via otherName), so this is demand-driven.

Additive — fail-closed behavior stays the fallback for anything still unsupported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrfc-conformanceRFC adherence and conformance evidenceverifyPath validation and verification helpers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions