Entries are listed in reverse chronological order.
- Note: All
x255919-dalek
2.x releases are in sync with the underlyingcurve25519-dalek
4.x releases.
StaticSecret
serialization andto_bytes()
no longer returns clamped integers. Clamping is still always done during scalar-point multiplication.- Update underlying
curve25519_dalek
library to4.0.0-rc.3
. Notable changes:- curve25519-dalek backend now by default auto selects
simd
backend overserial
where supported.
- curve25519-dalek backend now by default auto selects
- Update MSRV to 1.60.
- Update edition to 2021
- Add
.as_bytes()
andAsRef<[u8]>
forShared/StaticSecret
- Add
getrandom
feature to providerandom_from_rng
constructors - Make
StaticSecrets
optional via featurestatic_secrets
- Update underlying
curve25519_dalek
library to4.0.0-rc.2
. Notable changes:- curve25519-dalek backend additive features have been removed in favor of cfg based selection.
- curve25519-dalek backend now by default auto selects the appropriate word size over the previous default
32
.
- Loosen restriction on zeroize dependency version from =1.3 to 1.
- Update MSRV to 1.51.
- Update
rand_core
dependency to0.6
.
- Add module documentation for using the bytes-oriented
x25519()
API. - Add implementation of
zeroize::Zeroize
forPublicKey
. - Move unittests to a separate directory.
- Add cargo feature flags
"fiat_u32_backend"
and"fiat_u64_backend"
for activating the Fiat crypto field element implementations. - Fix issue with removed
feature(external_doc)
on nightly compilers. - Pin
zeroize
to version 1.3 to support a wider range of MSRVs. - Add CI via Github actions.
- Fix breakage in the serde unittests.
- MSRV is now 1.41 for production and 1.48 for development.
- Add an optional check to
SharedSecret
for contibutory behaviour. - Add implementation of
ReusableSecret
keys which are non-ephemeral, but which cannot be serialised to discourage long-term use.
- Fix a typo in the README.
- Add impls of
PartialEq
,Eq
, andHash
forPublicKey
(by @jack-michaud)
- Update underlying
curve25519_dalek
library to3.0
.
- Widen generic bound on
EphemeralSecret::new
andStaticSecret::new
to allow owned as well as borrowed RNGs. - Add
PublicKey::to_bytes
andSharedSecret::to_bytes
, returning owned byte arrays, complementing the existingas_bytes
methods returning references. - Remove mention of deprecated
rand_os
crate from examples. - Clarify
EphemeralSecret
/StaticSecret
distinction in documentation.
- Updates
rand_core
version to0.5
. - Adds
serde
support. - Replaces
clear_on_drop
withzeroize
. - Use Rust 2018.
- Implement
Clone
forStaticSecret
.
- Implement
Copy, Clone, Debug
forPublicKey
. - Remove doctests.
- Adds support for static and ephemeral keys.