News for hackers. Stuff that matters.
Re:Self-Signed JWTs by jacobljohnston on Friday August 01, 2025 @11:22PM (#44764664)
This is already something in mainstream authentication applications you host yourself on your own domain. We use Keycloak. I don't know why anyone would install a JavaScript library to do this. It's not that difficult.
Re:Self-Signed JWTs by vips7L on Saturday August 02, 2025 @12:04AM (#44764827)
I wish someone would have used keycloak at my place. They decided to write it all by hand instead.
Re:Self-Signed JWTs by danscan on Friday August 01, 2025 @11:44PM (#44764744)
Fair. I assume you mean asymmetric key cryptography and not JWKs in particular? JOSE is a pretty good library if you need the latter and you’re already working in JS
Re:Self-Signed JWTs by jacobljohnston on Saturday August 02, 2025 @12:43AM (#44764954)
We’re using JWKs.
Re:Self-Signed JWTs by danscan on Saturday August 02, 2025 @01:22AM (#44765073)
Ah, and just the subtle crypto API to generate keys? Or are you not generating them on the client?
Re:Self-Signed JWTs by motorest on Saturday August 02, 2025 @02:06AM (#44765202)
> Fair. I assume you mean asymmetric key cryptography and not JWKs in particular?

There's some degree of confusion in your comment. JWKs is a standard to represent cryptographic keys. It is an acronym for JSON Web key set.

> JOSE is a pretty good library (...)

JOSE is a set of standards that form a framework to securely transfer claims.