News for hackers. Stuff that matters.
Re:Show HN: PAST, a secure alternative to JWT by lvh on Thursday January 04, 2018 @02:12PM (#16073138)
I’m not sure I follow: if the other party is allowed to create claims too, symmetric crypto seems more obvious. That’s what NS (and later KRBv5) did in the seventies. Or is that precisely what you’re saying?
Re:Show HN: PAST, a secure alternative to JWT by e12e on Thursday January 04, 2018 @05:00PM (#16074480)
Kerberos vouching hinges on "ticket-granting server says...", and you know that because the tgt shares a secret with every player. On the face of it, it'd be much easier to just demand everyone know the tgt's public key (no need for N keys on the tgt for N participants).

I've long considered the merits of a kerberos-like system built on top of something like nacl... But without out-of-the-box support from all kinds of systems... It'd essentially build down to ssh+certificates with expiration dates... So i've gathered "better CA for ssh" is the better product. And there are thankfully a couple of projects in that vein (teleport, netflix/bless, others?).

[ed: i should add: I think tptacek is absolutely right about public key systems being easier to get wrong; but part of that is also the problem domain: look at the history of security issues with Kerberos (both implementations and protocol evolution) for a great example. On the face of it NxN key exchange is "text book simple; should be easy to define, a little tricky to scale". Then there's replay, clock drift, (de)serialisation, nounces, large number of session keys (secure random numbers)...]

Re:Show HN: PAST, a secure alternative to JWT by WorldMaker on Thursday January 04, 2018 @02:34PM (#16073328)
In a stateless, negotiation-less flow where you have no pre-existing relationship with the other party? Isn't that exactly the bootstrap that PKI was built for?
Re:Show HN: PAST, a secure alternative to JWT by lvh on Thursday January 04, 2018 @03:03PM (#16073551)
Aha, I missed the stateless negotiation-less flow. But yes, that's basically TLS as deployed in browsers :)