2.0.3 • Published 2 years ago
jose-cli v2.0.3
jose CLI
CLI tools for jose library
Description
Generating secret key (symmetric) and pair keys (asymmetric) easily for the jose library. You can actually create it manually/automatically through the documentation published by the creator.
Motivation
I struggled when trying to generate a new key using the jose library and waited for someone to provide the key generator I needed. Eventually, I had to create it myself, and it became my contribution as a developer to help others by making it easier for them.
Installation
npm install jose-cli -gGenerate secret key
Command : generate:secret / secret
jose secretGenerate & save secret key
jose secret --saveGenerate with custom file name
jose secret --save MySecretHelp command
jose secret -hGenerate key pair
Command : generate:keypair / keypair
jose keypair Generate key pair + JWK
jose keypair --jwkGenerate key pair + JWK & export as file
jose keypair --jwk --saveGenerate with custom file name
jose keypair --jwk MyJWK --save MyKeyHelp command
jose keypair -h