All Projects → phish108 → node-jose-tools

phish108 / node-jose-tools

Licence: MIT license
Command line tools for node-jose's features

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-jose-tools

Authlib
The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
Stars: ✭ 2,854 (+9741.38%)
Mutual labels:  jose, jwk, jwe, jws, openid-connect
jwt-signature
[READ ONLY] Signature component of the JWT Framework
Stars: ✭ 32 (+10.34%)
Mutual labels:  jose, jwk, jwe, jws
lexik-jose-bridge
An Encoder for the LexikJWTAuthenticationBundle that uses web-token/jwt-framework
Stars: ✭ 27 (-6.9%)
Mutual labels:  jose, jwk, jwe, jws
jwt-core
[READ-ONLY] Core component of the JWT Framework
Stars: ✭ 46 (+58.62%)
Mutual labels:  jose, jwk, jwe, jws
Jose
🔐 JSON Object Signing and Encryption Framework (JWT, JWS, JWE, JWA, JWK, JWKSet and more)
Stars: ✭ 479 (+1551.72%)
Mutual labels:  jose, jwe, jws
Jwt Framework
JWT Framework
Stars: ✭ 577 (+1889.66%)
Mutual labels:  jose, jwe, jws
Json Jwt
JSON Web Token and its family (JSON Web Signature, JSON Web Encryption and JSON Web Key) in Ruby
Stars: ✭ 262 (+803.45%)
Mutual labels:  jose, jwe, jws
Jose2go
Golang (GO) implementation of Javascript Object Signing and Encryption specification
Stars: ✭ 150 (+417.24%)
Mutual labels:  jose, jwe, jws
Jwt
Safe, simple and fast JSON Web Tokens for Go
Stars: ✭ 231 (+696.55%)
Mutual labels:  jose, jwe, jws
jwx
JSON/JWK/JWS/JWT/Base64 library in SPARK
Stars: ✭ 15 (-48.28%)
Mutual labels:  jose, jwk, jws
Jose
Universal "JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK with no dependencies
Stars: ✭ 1,029 (+3448.28%)
Mutual labels:  jose, jwe, jws
Go Jose
An implementation of JOSE standards (JWE, JWS, JWT) in Go
Stars: ✭ 1,849 (+6275.86%)
Mutual labels:  jose, jwe, jws
Jose Jwt
Ultimate Javascript Object Signing and Encryption (JOSE) and JSON Web Token (JWT) Implementation for .NET and .NET Core
Stars: ✭ 692 (+2286.21%)
Mutual labels:  jose, jwe, jws
Joseswift
A framework for the JOSE standards JWS, JWE, and JWK written in Swift.
Stars: ✭ 114 (+293.1%)
Mutual labels:  jose, jwe, jws
rhonabwy
Javascript Object Signing and Encryption (JOSE) library - JWK, JWKS, JWS, JWE and JWT
Stars: ✭ 33 (+13.79%)
Mutual labels:  jwk, jwe, jws
Jose
JSON Object Signing and Encryption for Node.js and the browser
Stars: ✭ 25 (-13.79%)
Mutual labels:  jose, jwe, jws
Cli
🧰 A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc.
Stars: ✭ 2,151 (+7317.24%)
Mutual labels:  jose, jwe, jws
Hs Jose
Haskell JOSE and JWT library
Stars: ✭ 100 (+244.83%)
Mutual labels:  jose, jws
Buddy Sign
High level message signing library.
Stars: ✭ 86 (+196.55%)
Mutual labels:  jwe, jws
Python Jwt
JSON Web Token library for Python
Stars: ✭ 81 (+179.31%)
Mutual labels:  jose, jws

node-jose-tools for JOSE key management, token signing and encryption

The Swiss-army knife tool for node-jose for handling JSON Web Tokens.

Overview

node-jose-tools provides a simple CLI through the jose command for JSON web-key (JWK) key and key store management as well as for handling JSON web-tokens (JWT) in, both, the signed and encrypted variants.

The jose command allows quick feature testing of node-jose functions.

node-jose-tools have started to learn better about the different features of node-jose. It also provides reference implementations to many of the underlying functions. The tools and functions are separated to allow easy extension and quick orientation for how the different library features work.

Supported platforms and node versions

node-jose-tools are tested with node versions 12, 13, 14, and 15 on linux (ubuntu), Windows, and macOS.

It is recommended to use node version 12 or higher, due to the much better performance of the cryptographic functions.

Installing

On the command line run npm install -g node-jose-tools.

Running

Open your favorite shell and type.

> jose TOOL [OPTIONS]

The following tools are supported:

Key management

  • addkey - add a new key to a jwks
  • newkey - create a new key (that can be used by addkey)
  • listkeys - list the key ids for all keys in a jwks
  • findkey - find a kid in a jwks
  • rmkey - remove a kid from a jwks
  • thumbprint - generate key thumbprints and key-ids
  • info - return basic information about a JWT without processing it
  • sign - creates and signs a JWS for a given payload
  • verify - verifies a JWS and return the payload
  • encrypt - encrypt a payload into a JWE
  • decrypt - decrypts a JWE and returns the payload
  • digest - computes a SHA-2 digest of the provided input

Documentation and Examples

Pro-tip Use the --help or -h flag to get the documentation directly on the command line.

The detailed documentation of the tools and plenty example application scenarios are available in the docs folder.

Reporting Bugs, Issues and Missing Features

Please, use github for reporting issues and bugs.

If a certain part of the JOSE specifications is not supported by node-jose, then these parts are also unsupported by this tool and not considered a bug.

License

This code is released under a MIT License. Please refer to the LICENSE file for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].