mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Impld Clone for SigningKey (#249)
This commit is contained in:
parent
f6a242a5b0
commit
616d55c36c
2 changed files with 2 additions and 1 deletions
|
|
@ -9,3 +9,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Changes
|
||||
* Bumped MSRV from 1.41 to 1.60.0
|
||||
* Removed `ExpandedSecretKey` API ((#205)[https://github.com/dalek-cryptography/ed25519-dalek/pull/205])
|
||||
* Implemented `Clone` for `SigningKey`
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ pub type SecretKey = [u8; SECRET_KEY_LENGTH];
|
|||
/// ed25519 signing key which can be used to produce signatures.
|
||||
// Invariant: `public` is always the public key of `secret`. This prevents the signing function
|
||||
// oracle attack described in https://github.com/MystenLabs/ed25519-unsafe-libs
|
||||
#[derive(Debug)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct SigningKey {
|
||||
/// The secret half of this signing key.
|
||||
pub(crate) secret_key: SecretKey,
|
||||
|
|
|
|||
Loading…
Reference in a new issue