]> git.kaiwu.me - haproxy.git/commit
MINOR: jwe: Add option to enable/disable algorithms or encryption algorithms for...
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 7 May 2026 15:05:16 +0000 (17:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 7 May 2026 16:00:27 +0000 (18:00 +0200)
commitf82a242c8fc6b3321eeda56277317bc2f2bc7e5b
tree360d109d352e19731a369f69e6fc85a5dc2df4b7
parent00941af7b77c0cd71ecb30748ce2f59419bbc600
MINOR: jwe: Add option to enable/disable algorithms or encryption algorithms for jwt_decrypt

Some users of the jwt_decrypt_XXX converters might want to reject JWT
tokens with a specific algorithm or encryption algorithm ("alg" or "enc"
field respectively) in order to avoid weak algorithms for instance.
This could be done from the configuration but would be tedious.

This patch adds the new 'jwt.decrypt_alg_list' and
'jwt.decrypt_enc_list' global options that can be used to define a
subset of accepted algorithms
doc/configuration.txt
src/jwe.c