mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-15 01:08:31 +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
|
@ -98,6 +98,8 @@ enum class VerificationErrc
|
|||
InvalidSignature,
|
||||
// Invalid value type used for known claims
|
||||
TypeConversionError,
|
||||
// Algorithm confusion attack detected
|
||||
AlgoConfusionAttack,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue