The tool for working with JWT signed by multiple verificators as per RFC 7515. Based on the RubyGem «jwt» under the hood.
Clone or download
Latest commit e0de113 Apr 3, 2018

README.md

JWT::Multisig

Build Status Maintainability Test Coverage

Usage

JWT::Multisig.generate_jwt(payload, private_keychain, algorithms)

JWT::Multisig.generate_jws(payload, key_id, key_value, algorithm)

JWT::Multisig.verify_jwt(jwt, public_keychain, options)

JWT::Multisig.verify_jws(jws, payload, public_keychain, options)

JWT::Multisig.add_jws(jwt, key_id, key_value, algorithm)

JWT::Multisig.remove_jws(jwt, key_id)

The full documentation is available at rubydoc.info.