{"repo":"slowli/jwt-compact","free":true,"listed":false,"github":"https://github.com/slowli/jwt-compact","clone":"git clone https://github.com/slowli/jwt-compact.git","description":"Compact JWT implementation in Rust","language":"Rust","stars":62,"topics":["jwt","elliptic-curves","cbor"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Compact JWT implementation in Rust Documentation: Minimalistic [JSON web token (JWT)][JWT] implementation with focus on type safety and secure cryptographic primitives. Usage Add this to your Crate.toml : Basic token lifecycle See the crate docs for more examples of usage. Features - Algorithm-specific signing and verifying keys (i.e., type safety). - Key strength requirements from [RFC 7518] are expressed with wrapper types. - Easy to extend to support new signing algorithms. - The crate supports more compact [CBOR] encoding of the claims. - Basic [JWK] functionality for key conversion from human-readable formats (JSON / YAML / TOML) and computing [key thumbprints]. - HS256 , HS384 and HS512 algorithms are implemented via pure Rust [ sha2 ] crate. - The crate supports EdDSA algorithm with the Ed25519 elliptic curve, and ES256K algorithm with the secp256k1 elliptic curve. Both curves are widely used in crypto community and believed to be securely generated (there are some doubts about parameter generation for elliptic curves used in standard ES algorithms). - The ES256 algorithm is supported via pure Rust [ p256 ] crate. - RSA algorithms ( RS and PS ) are supported via pure Rust [ rsa ] crate. Beware that the rsa crate (along with other RSA implementations) may be susceptible to the \"Marvin\" timing side-channel attack at the time of writing; use with caution. - The crate supports the no std mode. No-std support and WASM compatibility are explicitly tested. Missing features - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/slowli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/slowli/jwt-compact/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}