PackageTrack
Sign in Get early access

pasetors

PASETO: Platform-Agnostic Security Tokens (in Rust)

0.8.0 9.0M downloads/mo #3310 most downloaded on crates.io brycx/pasetors

What this package is like to depend on

Last release 1 months ago

23 Jul 2026

Ships fairly regularly

a new release about every 3 months

Nearly every release is documented

notes for 27 of 27 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

34 releases · first in 2020

2 releases in the last 12 months

see the full history below

Release timeline

34 releases · Oct 2020 to Jul 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 34
  1. 0.8.0 23 Jul 2026
    Release notes

    Date: July 23, 2026.

    • (BREAKING) Remove rand_core from dependencies.
    • (BREAKING) Rust Edition 2024 (previously 2018).
    • Bump ed25519-compact from 2.0.2 to 2.3.1.
    • Bump zeroize from 1.4.1 to 1.9.
    • Bump subtle from 2.4.1 to 2.6.1.
    • Bump p384 from 0.13.0 to 0.14.0.
    • Bump sha2 from 0.10.2 to 0.11.0.
    • Normalize signature S on signing operation in V3. This achieves higher compatability with reference PHP implementation, but does not change spec-adherence.
    Open source →
  2. 0.7.8 23 Feb 2026
    Release notes

    Date: February 23, 2026.

    • Bump MSRV to 1.88.
    • Bump getrandom to 0.4.
    Open source →
  3. 0.7.7 16 Jul 2025
    Release notes

    Date: July 16, 2025.

    Open source →
  4. 0.7.6 07 Jun 2025
    Release notes

    Date: June 7, 2025.

    • Fixup for "Build serde and serde_derive in parallel" (#192, credits: @Enselic).
    Open source →
  5. 0.7.5 07 Jun 2025
    Release notes

    Date: June 7, 2025.

    • Build serde and serde_derive in parallel (22% faster builds) (#189, credits: @Enselic).
    • Bump MSRV to 1.85.0 (due to base64-ct) (#191).
    Open source →
  6. 0.7.4 12 Apr 2025
    Release notes

    Date: April 12, 2025.

    • Add ClaimsValidationRules::disable_valid_at() which optionally skips validation of iat and nbf, that may be present within payload claims #173.
    Open source →
  7. 0.7.3 10 Apr 2025
    Release notes

    Date: April 10, 2025.

    • Fix bug that prevented compiling with serde-feature enabled.
    • Bump MSRV to 1.81.0.
    Open source →
  8. 0.7.2 27 Jan 2025
    Release notes

    Date: January 27, 2025.

    • Bump getrandom to 0.3.0.
    Open source →
  9. 0.7.1 10 Dec 2024
    Release notes

    Date: December 10, 2024.

    • Add serde Serialize and Deserialize to TrustedToken, UntrustedToken and Claims (#150, credits: @tomtom5152).
    Open source →
  10. 0.7.0 28 Aug 2024
    Release notes

    Date: August 28, 2024.

    • Bump MSRV to 1.80.
    • Updated test vectors for v3.public.
    • (BREAKING) Improved error-handling during claims validation. Added Error::ClaimValidation(ClaimValidationError), where ClaimValidationError now further specifies the validation error (#131, credits: @jpramosi).
    Open source →
  11. 0.6.8 12 Dec 2023
    Release notes

    Date: December 12, 2023.

    • Bump MSRV to 1.70.
    • Add Claims::set_expires_in() (#107, credits: @franklx).
    Open source →
  12. 0.6.7 10 Jun 2023
    Release notes

    Date: June 10, 2023.

    Changelog:

    • Add security policy.
    • Add Claims::new_expires_in() (#96).
    Open source →
  13. 0.6.6 04 Mar 2023
    Release notes

    Date: March 4, 2023.

    Changelog:

    • Update license year to 2023.
    • Bump p384 to 0.13.0
    • Bump MSRV to 1.65.0
    • Switch from actions-rs/tarpaulin to cargo-tarpaulin in CI.
    Open source →
  14. 0.6.5 14 Dec 2022
    Release notes

    Date: December 14, 2022.

    Changelog:

    • SymmetricKey, AsymmetricSecretKey and AsymmetricKeyPair now implement Clone.
    Open source →
  15. 0.6.4 17 Nov 2022
    Release notes

    Date: November 17, 2022.

    Changelog:

    • AsymmetricSecretKey now re-computes the public key from the secret seed to check if they match. If they don't an error is returned. Because we use ed25519-compact crate for Ed25519, if an all-zero seed is used, the creation of AsymmetricSecretKey will panic.
    Open source →
  16. 0.6.3 15 Oct 2022
    Release notes

    Date: October 15, 2022.

    Changelog:

    • Add optional serde support for keys + PASERK ID, to be de/serialized from/to PASERK strings. Also introducing a new optional feature serde (see #26, by @SanchithHegde)
    • Clippy improvements to tests (see #69, by @SanchithHegde)
    • Update ed25519-compact to 2.0.2 (see #72)
    Open source →
  17. 0.6.2 23 Sep 2022
    Release notes

    Date: September 23, 2022.

    Changelog:

    • Fix ed25519-compact imports that broke build after the crate bumped to 1.0.13+
    Open source →
  18. 0.6.1 20 Sep 2022
    Release notes

    Date: September 20, 2022.

    Changelog:

    • Bump MSRV to 1.59.0
    • clippy fixes
    • Add rust-version field to Cargo.toml
    • Update copyright year to 2022
    Open source →
  19. 0.6.0 20 Jun 2022
    Release notes

    Date: June 20, 2022.

    Changelog:

    • PASERK operations are now implemented for AsymmetricSecretKey<V2> and AsymmetricSecretKey<V4> instead of AsymmetricKeyPair<V2> and AsymmetricKeyPair<V4>, respectively
    • All sign() operations with public tokens now take only the secret key
    • V2 and V4 token's AsymmetricSecretKey<> are now defined to contain both the Ed25519 secret seed and the public key (see https://github.com/MystenLabs/ed25519-unsafe-libs)
    • TryFrom<AsymmetricSecretKey<>> for AsymmetricPublicKey<> is now provided for V2 and V4 as well
    Open source →
  20. 0.5.0 04 Jun 2022
    Release notes

    Date: June 4, 2022.

    Changelog:

    • Bump MSRV to 1.57.0
    • Implement v3.public tokens (#40)
    • Introduce separate crate-features for each version and one for PASERK: v2, v3, v4 and paserk. std, v4 and paserk are enabled by default
    • Add support for the PASERK ID operation (#40)
    • Stricter permissions for GH Actions workflows (#43)
    • Add Generate trait and implement this for all key-types, removing also SymmetricKey::gen() (#45)
    • Switch from ed25519-dalek to ed25519-compact (#48)
    • Add new types token::UntrustedToken and token::TrustedToken which are now used by verify()/decrypt() operations. These allow extracting parts of tokens before and after verification (#47)
    • Version structs previously available in keys:: have been moved to a new version:: module
    • Add Footer type that makes it easier to create JSON-encoded footers (#52)
    • PASERK deserialization of keys now takes &str instead of String (#53)
    • Rename Error::Base64Decoding -> Error::Base64
    Open source →
  21. 0.5.0-alpha.7 03 Jun 2022 pre-release

    Nothing published for this version

  22. 0.5.0-alpha.6 26 May 2022 pre-release

    Nothing published for this version

  23. 0.5.0-alpha.5 26 Apr 2022 pre-release

    Nothing published for this version

  24. 0.5.0-alpha.4 26 Apr 2022 pre-release

    Nothing published for this version

  25. 0.5.0-alpha.3 22 Apr 2022 pre-release

    Nothing published for this version

  26. 0.5.0-alpha.2 04 Apr 2022 pre-release

    Nothing published for this version

  27. 0.5.0-alpha.1 28 Mar 2022 pre-release

    Nothing published for this version

  28. 0.4.2 27 Nov 2021
    Release notes

    Date: November 27, 2021.

    Changelog:

    • Update Orion to 0.17 (#39)
    • Bump MSRV to 1.52
    Open source →
  29. 0.4.1 11 Nov 2021
    Release notes

    Date: November 11, 2021.

    Changelog:

    • Enable getrandom/js feature and test wasm32-unknown-unknown in CI (#37)
    Open source →
  30. 0.4.0 25 Oct 2021
    Release notes

    Date: October 25, 2021.

    Changelog:

    • [Security fix]: Switched from chrono to time crate (#30)
    • Error now implements std::error::Error (#27) (by @not-my-profile)
    • Errors enum has be renamed to Error and "error" postfixes have been trimmed from variants (#33)
    • SymmetricKey, AsymmetricPublicKey and AsymmetricSecretKey have been made generic over their versions (#31) (by @not-my-profile)
    • Add support for local, public and secret PASERK types for keys (#24)
    Open source →
  31. 0.3.0 22 Sep 2021
    Release notes

    Date: September 22, 2021.

    Changelog:

    • Implement version 4 of the PASETO specification
    • New SymmetricKey, AsymmetricPublicKey and AsymmetricSecretKey now used throughout the API of both version 2 and 4 (#14)
    • Use new test vectors from https://github.com/paseto-standard/test-vectors
    • Empty payloads are no longer allowed (see https://github.com/paseto-standard/paseto-spec/issues/17) and Errors::EmptyPayloadError has been added
    • New Claims type to easily define claims for tokens and ClaimsValidationRules to validate such claims.
    • New std feature which is enabled by default. This means, that to be no_std, pasetors has to be declared without default features.
    • New local/public API which uses the latest version, and automatically handles validation of Claims.
    Open source →
  32. 0.2.0 02 Jun 2021
    Release notes

    Date: June 2, 2021.

    Changelog:

    • Remove Csprng trait from public API and use getrandom instead
    • Update Orion to 0.16
    Open source →
  33. 0.1.1 21 Mar 2021
    Release notes

    Date: March 21, 2021.

    Changelog:

    • Switch from base64 to ct-codecs to provide constant-time Base64 encoding/decoding
    Open source →
  34. 0.1.0 12 Oct 2020
    Release notes

    Date: October 12, 2020.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive