News for hackers. Stuff that matters.
Re:JWT is Awesome by rvz on Tuesday February 18, 2020 @06:45AM (#22355225)
Fernet [0] was just as close to being a suitable and secure JWT replacement. But the specification wasn't really updated in a while so a simpler and another secure alternative to JWT and Fernet would be Branca [1] tokens that uses the same cryptography as PASETO v2.local [2].

Here's some trivia, the name comes from an italian drink from the 19th century named Fernet-Branca [3].

[0] - https://github.com/fernet/spec/blob/master/Spec.md

[1] - https://branca.io

[2] - https://github.com/paragonie/paseto/tree/master/docs/01-Prot...

[3] - https://en.wikipedia.org/wiki/Fernet-Branca

Re:JWT is Awesome by twic on Tuesday February 18, 2020 @09:08AM (#22356138)
From the 19th century perhaps, but used in some classic cocktails, and so still found in many bars:

https://www.diffordsguide.com/cocktails/recipe/930/hanky-pan...

Re:JWT is Awesome by strbean on Tuesday February 18, 2020 @08:02PM (#22362119)
I've heard Fernet and Coke is the traditional "bartender's cocktail".

Had a sip of my fiancee's once, it tastes like someone mixed every soda from the soda fountain with every herb and spice in their spice rack, and then squeezed a healthy dollop of toothpaste in for good measure.