Skip to content

Fix SPIFFE ID scheme detection#398

Merged
rturner3 merged 1 commit intospiffe:mainfrom
maxlambrecht:fix/spiffeid-scheme-prefix
Jan 22, 2026
Merged

Fix SPIFFE ID scheme detection#398
rturner3 merged 1 commit intospiffe:mainfrom
maxlambrecht:fix/spiffeid-scheme-prefix

Conversation

@maxlambrecht
Copy link
Member

Summary

This PR fixes SPIFFE ID parsing to require the spiffe:// scheme to appear at the beginning of the identifier rather than anywhere in the string. This aligns scheme validation with the SPIFFE specification and prevents malformed IDs from being accepted. A small regression test is included.

Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
@rturner3 rturner3 merged commit f9969c1 into spiffe:main Jan 22, 2026
8 checks passed
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.

2 participants

Comments