logoalt Hacker News

a_random_nametoday at 5:13 PM1 replyview on HN

(glanced at it so I could be wrong) They're talking about a public key that can be used to validate the JWT's authenticity. AFAIK there is no need to keep these secret, and it's not possible to (without breaking public key crypto) forge them so it should be safe to store them wherever.


Replies

time4teatoday at 5:16 PM

From article:

Private key redis key

    public static string PrivateKey(string kid) => $"{Root}:jwks:private:{kid}"; // full private material (short life)
show 1 reply