#json #jwt #json-object #encryption-key #jws #jose

jute

An opinionated JOSE library that implements JWT, JWS, JWE, JWA and JWK

1 unstable release

0.1.2 Sep 16, 2023
0.1.1 Sep 16, 2023
0.1.0 Sep 14, 2023

#531 in Authentication

MIT/Apache

335KB
6.5K SLoC

🌿 jute

N3NX N3NX Crates.io Docs dependency status Build status

An opinionated JSON Object Signing Encryption (JOSE) library that includes implementations of JSON Web Tokens (JWT), JSON Web Signature (JWS), JSON Web Encryption (JWE) along with their dependencies like JSON Web Algorithm (JWA) and JSON Web Keys (JWK).

This work is originally derived from biscuit.

Motivation

The name Jute is a phonetic term of how JWT sounds.

Our primary focus for this project is to ensure that the algorithms and techniques used in this library are cryptographically secure and reliable for present and future use.

Since this library is opinionated, we have removed implementations that are mentioned in RFCs but are considered obsolete and/or unsecure to use by today's standards. See the documentation for more information.

Contributions and peer reviews are highly appreciated and we welcome everyone who wants to support this project.

Contribution

N3N Contributor Guidelines

We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started. Please also read our Contributor Terms before you make any contributions.

Any contribution intentionally submitted for inclusion in a N3N project or a Knytx Labs open source project, shall comply with the Rust standard licensing model (MIT OR Apache 2.0) and therefore be dual licensed as described below, without any additional terms or conditions:

Installation

Add the following to Cargo.toml:

jute = "0.2.0"

To use the latest master branch, for example:

jute = { git = "https://github.com/n3nx/jute", branch = "dev" }

License

This contribution is dual licensed under EITHER OF

at your option.

For clarity, "your" refers to the N3N contributors, NCRYPTO Labs Private Limited or any other licensee/user of the contribution.

Dependencies

~8–11MB
~294K SLoC