Entries are listed in reverse chronological order.
- Implement
PartialEq
andEq
inSigningKey
andVerificationKey
.
- Update
curve25519-dalek
to4.1.0
- Update
curve25519-dalek
to4.0.0
- Fix no-std build with serde activated (#87)
- Update
curve25519-dalek
to4.0.0-rc.3
Signature
is now an alias fored25519::Signature
impl From<Signature> for [u8; 64]
no longer exists; useto_bytes()
instead.
signature::{Signer, Verifier} is now implemented for
SigningKeyand
VerificationKey`.- Updates
sha2
version to0.10
andcurve25519-dalek
version to4.0.0-rc.2
. - Add DER & PEM support for SigningKeySeed and VerificationKeyBytes (RFC 8410) #46 #46
- This is under the non-default
pem
andpkcs8
features
- This is under the non-default
MSRV increased to 1.65.0
.
- Add no_std support by @pvdrz in #57
- Fix typo by @rex4539 in #32
- Add Zeroize impl for SigningKey by @kim in #34
- Add JNI code for ed25519-zebra by @droark in #37
- Update rand_core to 0.6 and rand to 0.8 by @dconnolly in #44
- dependencies: update zeroize to 1.2 by @FintanH in #52
- Add
PartialOrd
,Ord
implementations forVerificationKeyBytes
. While the derived ordering is not cryptographically meaningful, deriving these traits is useful because it allows, e.g., usingVerificationKeyBytes
as the key to aBTreeMap
(contributed by @cloudhead).
- Updates
sha2
version to0.9
andcurve25519-dalek
version to3
.
- Add a missing multiplication by the cofactor in batch verification and test
that individual and batch verification agree. This corrects an omission that
should have been included in
2.0.0
.
- Implements
Clone + Debug
forbatch::Item
and providesbatch::Item::verify_single
to perform fallback verification in case of batch failure.
- Implements ZIP 215, so that batched and individual verification agree on whether signatures are valid.
- Adds
impl TryFrom<&[u8]>
for all types.
- Add a note about versioning to handle ZIP 215.
- Change
docs.rs
configuration inCargo.toml
to not refer to the removedbatch
feature so that the docs render correctly ondocs.rs
.
- The sync batch verification api is changed to remove a dependence on the message lifetime that made it difficult to use in async contexts.
- Change terminology from secret and public keys to signing and verification keys.
- Remove async batch verification in favor of a sync api; the async approach is to be developed in another crate.
- The previous implementation exactly matched the behavior of
libsodium
1.0.15
with theED25519_COMPAT
configuration, but this configuration wasn't used byzcashd
. This commit changes the validation rules to exactly match withoutED25519_COMPAT
, and highlights the remaining inconsistencies with the Zcash specification that were not addressed in the previous spec fix.
- Adds
impl AsRef<[u8]> for PublicKey
. - Adds
impl AsRef<[u8]> for SecretKey
.
- Adds
impl AsRef<[u8]> for PublicKeyBytes
.
- Adds experimental futures-based batch verification API, gated by the
batch
feature.
Initial release, attempting to match the actual zcashd
behavior.