Skip to content

Simple collection of tools to make my life dealing with JWT/JWK/JWKS easier.

Notifications You must be signed in to change notification settings

tobiasb/jwa-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWA (JSON Web Algorithm) related tools

Simple collection of tools to make my life dealing with JWT/JWK/JWKS easier.

Note: To run without pipenv run python ... you need pipenv-shebang installed. Install with either sudo pip install pipenv-shebang or pip --user install pipenv-shebang.

JWK

PEM to JWK

./jwa.py jwk from-pem ~/my-key.rsa.pub

{
    "n": "v1ljt5FnLBsMshQtA2jR8z...9NAojndn3umzze2agmOiAV0UGFRY0HeK4o3RxjvYcHbQ",
    "e": "AQAB",
    "kty": "RSA"
}

JWT

Signed by PEM

./jwa.py jwt signed-by-pem ~/my-key.rsa

About

Simple collection of tools to make my life dealing with JWT/JWK/JWKS easier.

Resources

Stars

Watchers

Forks