Kenji Urushima
Kenji Urushima
It doesn't seem your "token" value have an "alg" attribute with "HS256". You can find an example at this site: https://jwt.io/
@lukepayyapilli , I tried verifyJWT and works fine for me. Could you provide the token and the secret which was failed? I can investigate further for it.
> It seems that this problem occurs when the plaintext is too long. Message shall be smaller than your key size.
> Whether segmented decryption is supported or will be supported soon? There is no plan to support it because openssl pkeyutl encryption doesn't support it too. ``` cat largefile.zip |...
Hi @madaster97 , I got the issue. The n of wrong form has leading zero for two's supplement. ``` AKLMe2qRcXdeqt... => 00a2cc7b6a9171775... (in hexadecimal) osx7apFxd16q1gSIDkK... => a2cc7b6a9171775... ``` I'll fix...
Sorry but I can't see the link above.
I see your code before and it seems the issue of RSAPSS salt length difference between node crypto and jsrsasign. To verify RSAPSS signature generated by Node crypto, you need...
I seems no further comments. This will be closed.