Move MACs to Project Goals #2
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Rationale
Unfortunately MACs in JWTs are used enough to justify supporting them. This is particularly tricky due to the fundamental problems with JWTs.
Avoiding Type Confusion
alg
,kid
, and other distinguishing and/or specifying fields cannot be trusted in a token. No matter what, it is very likely to cough-up a type confusion vulnerability. While the mismatches are obviously errors, matches don't mean anything useful.I have thought of several mitigations: