News for hackers. Stuff that matters.
Re:Things to Use Instead of JSON Web Tokens by kevinburke on Monday May 08, 2017 @12:37PM (#14293167)
you could also choose to use safer libraries and cryptographic primitives
Re:Things to Use Instead of JSON Web Tokens by ZoneGhost on Monday May 08, 2017 @01:54PM (#14293924)
There's nothing a library can add to make things "safer" when it comes to application-specific constraints. If I'm checking to make sure I only accept a specific algorithm, I'm not going to blame a crypto library for validating something that is technically accurate (short of maybe disabling the "none" algorithm by default). You should also be in possession of at least the public key beforehand, and rely on that for authentication, rather than anything in the claim.