You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 94de838
Browse filesBrowse the repository at this point in the historyBrowse files
A deployment with no SPIFFE associations still received a non-nil
association registry, because the trust config is always built. The
registry then installed a client resolver and an X.509 matcher, so a
request carrying the SPIFFE JWT assertion type on a plain server took
the SPIFFE arm and failed there instead of reaching the default client
authentication path.
NewSPIFFEAssociationRegistry now returns nil when the trust config has
no associations, which leaves the resolver and the matcher unset.
Associations is safe on a nil trust config, so a nil config takes the
same path. The server comments that said these are nil only without a
trust config are updated.
Doc 17 lists the SPIFFE discovery entries. It also no longer says that
omitting token_exchange from inbound_grants disables RFC 8693
entirely: token exchange stays enabled and advertised when a legacy
delegate client or trusted-issuer policy is present, or when any
SPIFFE association lists the token-exchange grant.
Breaking: on a server with no SPIFFE associations, a request with the
SPIFFE JWT assertion type now gets the default strategy's rejection
instead of a SPIFFE-specific one.
Part of #6204.
Co-authored-by: Mecatl <noreply@mecatl.dev>
0 commit comments