Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
crypto: Switch to correct curve name
Alexis Sellier committed 2 years ago
commit 95a314688589b8b974015fef57f1e0b0751692ad
parent 0358d7bcf084518261957d7c53774804e92f759e
1 file changed +1 -1
modified radicle-crypto/src/lib.rs
@@ -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];