crypto: Switch to correct curve name
*Note: this is a breaking change for the network protocol*. We switch to the correct curve name for the noise handshake. Since this value is hashed as part of the handshake digest, it will break the protocol until all nodes upgrade.
This commit is contained in:
parent
0358d7bcf0
commit
95a3146885
|
|
@ -175,7 +175,7 @@ impl From<PublicKey> for ssh_key::PublicKey {
|
|||
#[cfg(feature = "cyphernet")]
|
||||
impl cyphernet::EcPk for PublicKey {
|
||||
const COMPRESSED_LEN: usize = 32;
|
||||
const CURVE_NAME: &'static str = "Curve25519";
|
||||
const CURVE_NAME: &'static str = "Edwards25519";
|
||||
|
||||
type Compressed = [u8; 32];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue