]> git.kaiwu.me - haproxy.git/commit
MINOR: jwt: Manage ECDH-ES algorithm in jwt_decrypt_jwk function
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 10 Mar 2026 13:43:44 +0000 (14:43 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 10 Mar 2026 13:58:47 +0000 (14:58 +0100)
commit32d9af559f167f3c6efd7b142c3ab4111a4fb315
treea1f67398c97d2fc3eddfb108a7d45783337adf39
parent026652a7eb30a9b4dcd24be08628fdc9629126a3
MINOR: jwt: Manage ECDH-ES algorithm in jwt_decrypt_jwk function

When ECDH-ES algorithm is used in a JWE token, no cek is provided and
one must be built in order to decrypt the contents of the token. The
decrypting key is built by deriving a temporary key out of a public key
provided in the token and the private key provided by the user and
performing a concatKDF operation.
reg-tests/jwt/jwt_decrypt.vtc
src/jwe.c