]> git.kaiwu.me - haproxy.git/commit
MINOR: jwt: Parse ec-specific fields in jose header
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 10 Mar 2026 13:43:43 +0000 (14:43 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 10 Mar 2026 13:58:46 +0000 (14:58 +0100)
commit026652a7eb30a9b4dcd24be08628fdc9629126a3
treeffdd9dc3ebde18211c4541b6faabec916cbcc45b
parent3d9764f4c3ad96265c3777bc4d53a29122c10404
MINOR: jwt: Parse ec-specific fields in jose header

When the encoding is of the ECDH family, the optional "apu" and "apv"
fields of the JOSE header must be parsed, as well as the mandatory "epk"
field that contains an EC public key used to derive a key that allows
either to decrypt the contents of the token (in case of ECDH-ES) or to
decrypt the content encoding key (cek) when using ECDH-ES+AES Key Wrap.
src/jwe.c