Date: February 23, 2026.
- Bump MSRV to
1.88. - Bump
getrandomto0.4.
Date: July 16, 2025.
- Omit fractional seconds in
DateTimeclaims on creation (#200, credits: @Chaoses-Ib). - Add
remove_claim()toClaims(#201, credits: @Chaoses-Ib).
Date: June 7, 2025.
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).
Date: April 12, 2025.
- Add
ClaimsValidationRules::disable_valid_at()which optionally skips validation ofiatandnbf, that may be present within payload claims #173.
Date: April 10, 2025.
- Fix bug that prevented compiling with
serde-feature enabled. - Bump MSRV to
1.81.0.
Date: January 27, 2025.
- Bump
getrandomto0.3.0.
Date: December 10, 2024.
- Add
serdeSerializeandDeserializetoTrustedToken,UntrustedTokenandClaims(#150, credits: @tomtom5152).
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), whereClaimValidationErrornow further specifies the validation error (#131, credits: @jpramosi).
Date: December 12, 2023.
- Bump MSRV to
1.70. - Add
Claims::set_expires_in()(#107, credits: @franklx).
Date: June 10, 2023.
Changelog:
- Add security policy.
- Add
Claims::new_expires_in()(#96).
Date: March 4, 2023.
Changelog:
- Update license year to 2023.
- Bump
p384to0.13.0 - Bump MSRV to
1.65.0 - Switch from
actions-rs/tarpaulintocargo-tarpaulinin CI.
Date: December 14, 2022.
Changelog:
SymmetricKey,AsymmetricSecretKeyandAsymmetricKeyPairnow implementClone.
Date: November 17, 2022.
Changelog:
AsymmetricSecretKeynow re-computes the public key from the secret seed to check if they match. If they don't an error is returned. Because we useed25519-compactcrate for Ed25519, if an all-zero seed is used, the creation ofAsymmetricSecretKeywill panic.
Date: October 15, 2022.
Changelog:
- Add optional
serdesupport for keys + PASERK ID, to be de/serialized from/to PASERK strings. Also introducing a new optional featureserde(see #26, by @SanchithHegde) - Clippy improvements to tests (see #69, by @SanchithHegde)
- Update
ed25519-compactto2.0.2(see #72)
Date: September 23, 2022.
Changelog:
- Fix
ed25519-compactimports that broke build after the crate bumped to1.0.13+
Date: September 20, 2022.
Changelog:
- Bump MSRV to
1.59.0 clippyfixes- Add
rust-versionfield toCargo.toml - Update copyright year to 2022
Date: June 20, 2022.
Changelog:
- PASERK operations are now implemented for
AsymmetricSecretKey<V2>andAsymmetricSecretKey<V4>instead ofAsymmetricKeyPair<V2>andAsymmetricKeyPair<V4>, respectively - All
sign()operations with public tokens now take only the secret key V2andV4token'sAsymmetricSecretKey<>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 forV2andV4as well
Date: June 4, 2022.
Changelog:
- Bump MSRV to
1.57.0 - Implement
v3.publictokens (#40) - Introduce separate crate-features for each version and one for PASERK:
v2,v3,v4andpaserk.std,v4andpaserkare enabled by default - Add support for the PASERK ID operation (#40)
- Stricter permissions for GH Actions workflows (#43)
- Add
Generatetrait and implement this for all key-types, removing alsoSymmetricKey::gen()(#45) - Switch from
ed25519-dalektoed25519-compact(#48) - Add new types
token::UntrustedTokenandtoken::TrustedTokenwhich are now used byverify()/decrypt()operations. These allow extracting parts of tokens before and after verification (#47) - Version structs previously available in
keys::have been moved to a newversion::module - Add
Footertype that makes it easier to create JSON-encoded footers (#52) - PASERK deserialization of keys now takes
&strinstead ofString(#53) - Rename
Error::Base64Decoding->Error::Base64
Date: November 27, 2021.
Changelog:
- Update Orion to
0.17(#39) - Bump MSRV to
1.52
Date: November 11, 2021.
Changelog:
- Enable
getrandom/jsfeature and testwasm32-unknown-unknownin CI (#37)
Date: October 25, 2021.
Changelog:
- [Security fix]: Switched from
chronototimecrate (#30) Errornow implementsstd::error::Error(#27) (by @not-my-profile)Errorsenum has be renamed toErrorand "error" postfixes have been trimmed from variants (#33)SymmetricKey,AsymmetricPublicKeyandAsymmetricSecretKeyhave been made generic over their versions (#31) (by @not-my-profile)- Add support for
local,publicandsecretPASERK types for keys (#24)
Date: September 22, 2021.
Changelog:
- Implement version 4 of the PASETO specification
- New
SymmetricKey,AsymmetricPublicKeyandAsymmetricSecretKeynow 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 paseto-standard/paseto-spec#17) and
Errors::EmptyPayloadErrorhas been added - New
Claimstype to easily define claims for tokens andClaimsValidationRulesto validate such claims. - New
stdfeature which is enabled by default. This means, that to beno_std,pasetorshas to be declared without default features. - New
local/publicAPI which uses the latest version, and automatically handles validation ofClaims.
Date: June 2, 2021.
Changelog:
- Remove
Csprngtrait from public API and usegetrandominstead - Update Orion to
0.16
Date: March 21, 2021.
Changelog:
- Switch from
base64toct-codecsto provide constant-time Base64 encoding/decoding
Date: October 12, 2020.