mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-17 10:18:32 +00:00
#102 Prevent Algo confusion attack
This commit is contained in:
parent
4a970bc302
commit
b9528b32eb
7 changed files with 82 additions and 2 deletions
|
@ -829,6 +829,10 @@ private: // Private implementation
|
|||
*/
|
||||
verify_func_t get_verify_algorithm_impl(const jwt_header& hdr) const noexcept;
|
||||
|
||||
/*!
|
||||
*/
|
||||
verify_result_t check_for_algo_confusion_attack(const jwt_header& hdr) const;
|
||||
|
||||
private: // Data members;
|
||||
|
||||
/// The key for creating the JWS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue