Skip to content

Instantly share code, notes, and snippets.

View farzadafi's full-sized avatar
🇮🇷
Don't forget to Smile:)

farzad farzadafi

🇮🇷
Don't forget to Smile:)
  • Islamic Republic of Iran
View GitHub Profile
@ygotthilf
ygotthilf / jwtRS256.sh
Last active July 14, 2024 00:03
How to generate JWT RS256 key
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
cat jwtRS256.key
cat jwtRS256.key.pub