tobiasb / jwa-tools

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Python 96.7%Language:Shell 3.3%