Re:Let’s Encrypt comes up with workaround for abandonware An...
by algesten on Friday December 25, 2020 @09:18AM
(#25536605)
When I've implemented JWT in the past (yes, I know, "don't use JWT"), I've opted for public/private signatures. The public cert I would publish on some URL for all consumers of the JWT to use. The rotation of certs there was a matter of hours. It would hold 3-4 of the last certs (depending on JWT lifetime).
[ Parent
| on HN ]
Re:Let’s Encrypt comes up with workaround for abandonware An...
by fireant on Saturday December 26, 2020 @04:05AM
(#25542257)
What's wrong with using JWTs? What you have done should be industry standard and is enabled by the JWK spec. In fact several features of OpenID Connect are built upon signed JWTs from a well-known JWK store.
Re:Let’s Encrypt comes up with workaround for abandonware An...
by Dylan16807 on Saturday December 26, 2020 @04:21AM
(#25542319)
https://www.howmanydayssinceajwtalgnonevuln.com/
Having such a tempting footgun is a real problem.
Re:Let’s Encrypt comes up with workaround for abandonware An...
by fireant on Saturday December 26, 2020 @06:41AM
(#25542827)
The problem I think is that JWT is just a small puzzle piece of a great artwork that is identity and auth. It is overly complex (not without reason) and people don't put in enough effort to learn the whole picture (and it just isn't thought in schools) and just want to use something quickly for their current problem. Which is why they pick JWT and don't understand the host of related technologies - OAuth2, OIDC, JWK, JWE - just to name a few.
I don't see a reason why I would ever want to use auth=none for anything as at that point JWT is just base64 encoded json but I may be too deep in the identity world by now.