Skip to main content

Module jwks

Module jwks 

Source
Expand description

GET /oauth/jwks — JSON Web Key Set (RFC 7517).

Returns the node’s signing keys: Ed25519 (OKP, RFC 8037) and optionally RSA (for RS256 interop with enterprise RPs).

Functions§

compute_kid
Compute the RFC 7638 JWK Thumbprint for an Ed25519 key (32-byte raw pubkey).
compute_rsa_kid
Compute the RFC 7638 JWK Thumbprint for an RSA key (n and e as base64url strings).
jwks
GET /oauth/jwks
jwks_json
Build the public JWKS key array shared by /oauth/jwks and the SPIFFE bundle endpoint.