Date: August 28, 2024.
1.80
.v3.public
.Error::ClaimValidation(ClaimValidationError)
, where ClaimValidationError
now further specifies the validation error (#131, credits: @jpramosi).Date: December 12, 2023.
1.70
.Claims::set_expires_in()
(#107, credits: @franklx).Date: June 10, 2023.
Changelog:
Claims::new_expires_in()
(#96).Date: March 4, 2023.
Changelog:
p384
to 0.13.0
1.65.0
actions-rs/tarpaulin
to cargo-tarpaulin
in CI.Date: December 14, 2022.
Changelog:
SymmetricKey
, AsymmetricSecretKey
and AsymmetricKeyPair
now implement Clone
.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.Date: October 15, 2022.
Changelog:
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)ed25519-compact
to 2.0.2
(see #72)Date: September 23, 2022.
Changelog:
ed25519-compact
imports that broke build after the crate bumped to 1.0.13+
Date: September 20, 2022.
Changelog:
1.59.0
clippy
fixesrust-version
field to Cargo.toml
Date: June 20, 2022.
Changelog:
AsymmetricSecretKey<V2>
and AsymmetricSecretKey<V4>
instead of AsymmetricKeyPair<V2>
and AsymmetricKeyPair<V4>
, respectivelysign()
operations with public tokens now take only the secret keyV2
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 wellDate: June 4, 2022.
Changelog:
1.57.0
v3.public
tokens (#40)v2
, v3
, v4
and paserk
. std
, v4
and paserk
are enabled by defaultGenerate
trait and implement this for all key-types, removing also SymmetricKey::gen()
(#45)ed25519-dalek
to ed25519-compact
(#48)token::UntrustedToken
and token::TrustedToken
which are now used by verify()
/decrypt()
operations. These allow extracting parts of tokens before and after verification (#47)keys::
have been moved to a new version::
moduleFooter
type that makes it easier to create JSON-encoded footers (#52)&str
instead of String
(#53)Error::Base64Decoding
-> Error::Base64
Date: November 27, 2021.
Changelog:
0.17
(#39)1.52
Date: November 11, 2021.
Changelog:
getrandom/js
feature and test wasm32-unknown-unknown
in CI (#37)Date: October 25, 2021.
Changelog:
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)local
, public
and secret
PASERK types for keys (#24)Date: September 22, 2021.
Changelog:
SymmetricKey
, AsymmetricPublicKey
and AsymmetricSecretKey
now used throughout the API of both version 2 and 4 (#14)Errors::EmptyPayloadError
has been addedClaims
type to easily define claims for tokens and ClaimsValidationRules
to validate such claims.std
feature which is enabled by default. This means, that to be no_std
, pasetors
has to be declared without default features.local
/public
API which uses the latest version, and automatically handles validation of Claims
.Date: June 2, 2021.
Changelog:
Csprng
trait from public API and use getrandom
instead0.16
Date: March 21, 2021.
Changelog:
base64
to ct-codecs
to provide constant-time Base64 encoding/decodingDate: October 12, 2020.