You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7bf3252
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Accept canonical Base64URL padding in JWT segments (#1216)
* Accept trailing Base64URL padding when decoding JWS segments
The canonical encode/decode round-trip rejected AWS ALB tokens that
include standard '=' padding. Keep rejecting non-alphabet junk such
as '!!!!', but allow trailing padding so those tokens verify.
Fixes#1209
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* test: cover padded Base64URL segment validation
* test: verify padded ALB-style ES256 JWT decoding
---------
Co-authored-by: jaideeppyne <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: José Padilla <[email protected]>
0 commit comments