2 ms·
Reminds me of "macaroons". http://research.google.com/pubs/pub41892.html http://research.google.com/pubs/pub41892.html "Macaroons: Cookies with Contextual Cave
by carapace 10y ago
Reminds me of "macaroons".
http://research.google.com/pubs/pub41892.html http://research.google.com/pubs/pub41892.html "Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud"
- arnarbi 10y agoIt's unfortunate that the JWT encoding scheme of the signed data (non-normative JSON -> base64 -> concatenate with a dot) does not lend itself well to hash-chaining. JWTs could have been a great standard encoding for macaroons. (disclaimer: I'm an author of that paper)
- sk5t 10y agoSolid point... I suspect many of the shortcuts in JWT (e.g., not making any attempt to normalize / canonicalize before signing) are a backlash against the implementation headaches of SAML, specifically XML-DSig and the troubles associated with "tell me the ID of the signed element and I'll verify it's signed" mode operation.