#102 Add ES algos also to the exception list
Some checks failed
CMake / build (map[name:MacOSX/11/AppleClang-12.0.5.12050022 os:macos-11 parallel:3 triplet:x64-osx]) (push) Has been cancelled
CMake / build (map[name:Ubuntu/20.04/GCC-9.3.0 os:ubuntu-20.04 parallel:2 triplet:x64-linux]) (push) Has been cancelled
CMake / build (map[name:Windows/2019/MSVC-19.30.30528.0 os:windows-2019 parallel:2 triplet:x64-windows]) (push) Has been cancelled

This commit is contained in:
arunmu-nx 2025-04-22 18:58:46 +05:30
parent b9528b32eb
commit a54fa08a3b

View file

@ -211,6 +211,9 @@ inline verify_result_t jwt_signature::check_for_algo_confusion_attack(
case algorithm::RS256:
case algorithm::RS384:
case algorithm::RS512:
case algorithm::ES256:
case algorithm::ES384:
case algorithm::ES512:
return {false, std::error_code{}};
default:
// For all other cases make sure that the secret provided