News for hackers. Stuff that matters.
Re:Why to not use JWT (2021) by Salgat on Thursday September 29, 2022 @10:35AM (#33021262)
You mean the public key? The private key is what's used to sign tokens, the public key is used to verify the signature and can be freely shared. Or maybe you mean they used a symmetric key and shared that?
Re:Why to not use JWT (2021) by xtracto on Thursday September 29, 2022 @03:31PM (#33025893)
Private key to SIGN the content.
Re:Why to not use JWT (2021) by P5fRxh5kUvp2th on Thursday September 29, 2022 @04:06PM (#33026372)
what am I missing?

a JWT signature is the header and payload encrypted and attached. You would do that encryption via a private key, said public key would be used to verify it was encrypted by the private key.

What does "to SIGN" mean in this context?

Re:Why to not use JWT (2021) by ehutch79 on Thursday September 29, 2022 @11:13AM (#33021844)
I'm pretty sure he meant they were putting the private key in the jwt.

People do some dumb stuff. And the dunning kruger effect is all too real.

Re:Why to not use JWT (2021) by Salgat on Thursday September 29, 2022 @11:16AM (#33021886)
He said it was used to verify the token, which is only true if you use a symmetric key not a private key.
Re:Why to not use JWT (2021) by ehutch79 on Thursday September 29, 2022 @09:56PM (#33029945)
Right, from what they're saying, they're pulling the key out of the claims to verify the token.

No it doesn't make sense.