Skip to content

Instantly share code, notes, and snippets.

View tyaslab's full-sized avatar
🌴
On vacation

Yusuf Ali tyaslab

🌴
On vacation
View GitHub Profile
@ygotthilf
ygotthilf / jwtRS256.sh
Last active May 23, 2024 07:42
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
@eugene-ilyin
eugene-ilyin / cookie.js
Created October 21, 2014 08:50
Work with cookies in native Javascript