From 1bfd4250467113eac63c7c126d3456f22bc844ef Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 10 Jul 2025 15:14:05 -0600 Subject: [PATCH] Use `ed25519-dalek` v3.0.0-pre.0 crate release Switches from a git-sourced branch to a crate release --- Cargo.lock | 17 ++++++++++------- Cargo.toml | 3 --- ssh-key/Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7629362..818d6d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -233,8 +233,9 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.3" -source = "git+https://github.com/dalek-cryptography/curve25519-dalek.git?branch=rustcrypto-new-releases#88e1efaae36d4438fd3f17ad3cb043dd3da844d4" +version = "5.0.0-pre.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdebdcbeb8f27a33dd326d0c6382a475a838abbb306bfd573b79d5e39be7afd3" dependencies = [ "cfg-if", "cpufeatures", @@ -248,7 +249,8 @@ dependencies = [ [[package]] name = "curve25519-dalek-derive" version = "0.1.1" -source = "git+https://github.com/dalek-cryptography/curve25519-dalek.git?branch=rustcrypto-new-releases#88e1efaae36d4438fd3f17ad3cb043dd3da844d4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", @@ -329,8 +331,9 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.2.0-pre" -source = "git+https://github.com/dalek-cryptography/curve25519-dalek.git?branch=rustcrypto-new-releases#88e1efaae36d4438fd3f17ad3cb043dd3da844d4" +version = "3.0.0-pre.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e0db9678ad1873a245383faabce5bf0636b15edc8742f7bf5425f3a82d74c49" dependencies = [ "curve25519-dalek", "ed25519", @@ -369,9 +372,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.9" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" [[package]] name = "getrandom" diff --git a/Cargo.toml b/Cargo.toml index f4a7594..e08f27c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,3 @@ ssh-cipher = { path = "./ssh-cipher" } ssh-derive = { path = "./ssh-derive" } ssh-encoding = { path = "./ssh-encoding" } ssh-key = { path = "./ssh-key" } - -# https://github.com/dalek-cryptography/curve25519-dalek/pull/676 -ed25519-dalek = { git = "https://github.com/dalek-cryptography/curve25519-dalek.git", branch = "rustcrypto-new-releases" } diff --git a/ssh-key/Cargo.toml b/ssh-key/Cargo.toml index d135a08..3ffec7d 100644 --- a/ssh-key/Cargo.toml +++ b/ssh-key/Cargo.toml @@ -29,7 +29,7 @@ zeroize = { version = "1", default-features = false } argon2 = { version = "0.6.0-rc.0", optional = true, default-features = false, features = ["alloc"] } bcrypt-pbkdf = { version = "0.11.0-rc.0", optional = true, default-features = false, features = ["alloc"] } dsa = { version = "0.7.0-rc.2", optional = true, default-features = false, features = ["hazmat"] } -ed25519-dalek = { version = "=2.2.0-pre", optional = true, default-features = false } +ed25519-dalek = { version = "=3.0.0-pre.0", optional = true, default-features = false } hex = { version = "0.4", optional = true, default-features = false, features = ["alloc"] } hmac = { version = "0.13.0-rc.0", optional = true } home = { version = "0.5", optional = true }