Skip to content

Instantly share code, notes, and snippets.

View darkredz's full-sized avatar

Leng Sheng Hong darkredz

View GitHub Profile
@darkredz
darkredz / jwtRS256.sh
Created August 25, 2023 11:08 — forked from Holger-Will/jwtRS256.sh
generate public private key pair (RSA RS256) for use with koa-jwt jasonwebtoken etc.
# generate private key
openssl genrsa -out private.pem 2048
# extatract public key from it
openssl rsa -in private.pem -pubout > public.pem