Ugh after a quick search, I can't really find any #JS libraries for verifying #JWT signatures in browsers.
Which I know doesn't make much sense normally, but I'm repurposing JWTs and need to be able to verify them offline.
So I have to either write a JWT library using #SubtleCrypto, or make my own format with both SubtleCrypto/node crypto support.
I just want to send a encrypted decryption key that can’t be used to encrypt another message using the wrapKey of #subtlecrypto but I get unspecified errors all around. Guess tomorrow I will be spending time figuring out which combinations are allowed.
#subtlecrypto #browser #security #cryptographic #programming