-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Because there's no default:
branch erroring out, I could smuggle any valid JSON there, like true
, false
, null
, any number or an object.
Line 69 in 1639fcf
switch data[0] { |
They'll simply be discarded.
I don't know if there's security implications, might not because because header and payload are signed by the issuer, and any tampering would get detected. But since I can't for 100 % say it's a non-issue, I'd feel more comfortable rejecting the data that would get discarded otherwise.
WDYT?
Metadata
Metadata
Assignees
Labels
No labels