Skip to content

feat(spiffeid): accept case-insensitive scheme and normalize trust domain#376

Open
maxlambrecht wants to merge 3 commits intospiffe:mainfrom
maxlambrecht:feat/spiffeid-case-insensitive-parse
Open

feat(spiffeid): accept case-insensitive scheme and normalize trust domain#376
maxlambrecht wants to merge 3 commits intospiffe:mainfrom
maxlambrecht:feat/spiffeid-case-insensitive-parse

Conversation

@maxlambrecht
Copy link
Copy Markdown
Member

Summary

Aligns SPIFFE ID parsing with SPIFFE spec:

  • §2.4 SPIFFE ID parsing — Scheme and trust domain name are case-insensitive; path is case-sensitive. The parser now accepts mixed-case spiffe / authority input and canonicalizes the trust domain host to lowercase.
  • §2.1 Trust domain — The authority host must be lowercase in the canonical form; we enforce that by normalizing after parse.
  • §2.2 Path — Path rules unchanged; path bytes are preserved as provided.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant