Files
ziti/controller/oidc_auth
Björn Mage 4a8b63d99d fix(oidc_auth): hex-encode peer signer kid in KeySet() (#4068)
KeySet() formatted a peer controller's SHA1 cert fingerprint with %s
instead of %x, producing an undecodable raw-byte kid in the /oidc/keys
JWKS response for every entry sourced from GetPeerSigners(). The
error-path logging four lines below this already used %x correctly.

In a multi-controller raft HA deployment, each controller signs
OIDC/OTT JWTs with its own root ctrl-plane-identity key. A JWKS lookup
landing on a controller other than the signer sees the true signer's
key advertised under this corrupt kid and cannot match it against the
token's kid header, failing verification.

Fixes #4067

Co-authored-by: Björn Mage <4495532+bjornmage@users.noreply.github.com>
2026-07-07 20:23:06 -04:00
..
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00