https://github.com/brycx/pasetors
PASETOrs: PASETO tokens in pure Rust
https://github.com/brycx/pasetors
authentication ed25519 hacktoberfest jwt paseto paseto-tokens rust security xchacha20-poly1305
Last synced: 24 days ago
JSON representation
PASETOrs: PASETO tokens in pure Rust
- Host: GitHub
- URL: https://github.com/brycx/pasetors
- Owner: brycx
- License: mit
- Created: 2020-10-01T19:49:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-18T05:22:09.000Z (about 2 months ago)
- Last Synced: 2025-04-03T04:11:28.729Z (about 1 month ago)
- Topics: authentication, ed25519, hacktoberfest, jwt, paseto, paseto-tokens, rust, security, xchacha20-poly1305
- Language: Rust
- Homepage:
- Size: 419 KB
- Stars: 102
- Watchers: 5
- Forks: 12
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
 [](https://docs.rs/pasetors/) [](https://crates.io/crates/pasetors) [](https://github.com/rust-secure-code/safety-dance/) [](https://img.shields.io/badge/MSRV-1.81.0-informational) [](https://codecov.io/gh/brycx/pasetors)
### PASETOrs
> "Paseto is everything you love about JOSE (JWT, JWE, JWS) without any of the many design deficits that plague the JOSE standards."
PASETO (Platform-Agnostic SEcurity TOkens) are secure stateless tokens. Read more [here](https://github.com/paragonie/paseto) and at [PASETO.io](https://paseto.io/).
This library includes:
- [x] Pure-Rust implementation of the Version 4, 3† and 2 protocol
- [x] PASERK support (limited amount of PASERK-types) with optional `serde` support as well
- [x] `#![no_std]` (with default-features disabled) and `#![forbid(unsafe_code)]`
- [x] WASM-friendly (`wasm32-unknown-unknown` using `#![no_std]`)
- [x] Fuzzing targets
- [x] Test vectors
- [x] Usage examples† _Only the public variant (`v3.public`) of version 3 is currently supported._
### Usage
[See usage examples here](https://docs.rs/pasetors/).
### Security
This library has **not undergone any third-party security audit**. Usage is at **own risk**.
### Minimum Supported Rust Version
Rust 1.81.0 or later is supported however, the majority of testing happens with latest stable Rust.MSRV may be changed at any point and will not be considered a SemVer breaking change.
### Changelog
Please refer to the [CHANGELOG.md](https://github.com/brycx/pasetors/blob/master/CHANGELOG.md) list.### License
pasetors is licensed under the MIT license. See the `LICENSE` file for more information.