How to generate JWT RS256 key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key|
|# Don't add passphrase|
|openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub|
Jan 5, 2023
Thank you indeed!
Feb 16, 2023
Mar 7, 2023
Mar 9, 2023
Mar 21, 2023
I think this link resolve also this problem.
Mar 31, 2023
Thanks! What if I need to use the private key associated to a Metamask wallet to sign? Can I do it by manipulating the key or do I need another type of key altogether?
Apr 5, 2023
Apr 22, 2023
BTW @ygotthilf you can add
-N '' to ssh keygen and will not even ask for passphrase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Use this command to convert the keys to one line string