From 3edd7d6dbf07f2abb21c5733ed375d084d5976e2 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Tue, 20 Jan 2026 16:18:46 -0800 Subject: [PATCH] chore(deps): bump `crypto-primes` to `0.7.0-pre.7` (#1165) Remove `patch.crates-io` on non-main branches. --- Cargo.lock | 20 +++++++++++--------- Cargo.toml | 3 --- dsa/Cargo.toml | 4 ++-- slh-dsa/Cargo.toml | 2 +- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1f1e81e..b7d240b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -108,9 +108,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "chacha20" -version = "0.10.0-rc.7" +version = "0.10.0-rc.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26f659b53b7f4e776e0cb370508f21d62a22349009195b1089de5f9b24afba2f" +checksum = "31cd65b2ca03198c223cd9a8fa1152c4ec251cd79049f6dc584152ad3fb5ba9d" dependencies = [ "cfg-if", "cipher", @@ -147,9 +147,9 @@ dependencies = [ [[package]] name = "cipher" -version = "0.5.0-rc.4" +version = "0.5.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "118a99a35f72e30b718e8eb5ea6ba24652d08415260a4a32b838f76aa4e3284a" +checksum = "b557bad79bc426785757001b5d732f323ae965363983d758295c1a1935496880" dependencies = [ "block-buffer", "crypto-common", @@ -295,8 +295,9 @@ dependencies = [ [[package]] name = "crypto-primes" -version = "0.7.0-pre.6" -source = "git+https://github.com/baloo/crypto-primes.git?branch=baloo%2Fpush-zlqkpkvxqksw#bf0cecba8b014121ac0a4b1dcf3254b28bd02bb9" +version = "0.7.0-pre.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6372ba15f988d7cd77e9cfbc42b269601c006f2f16a21a72b886136caf04bfb" dependencies = [ "crypto-bigint", "libm", @@ -827,8 +828,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.10.0-rc.6" -source = "git+https://github.com/rust-random/rand.git?branch=push-nzsxxkozrnpy#6830af063fc700d4d5460dc00ba024c24913de72" +version = "0.10.0-rc.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d3e6a909ceda8ceb12ef039b675ecf4bbe6def127e773cac109ab8347633766" dependencies = [ "chacha20", "getrandom 0.4.0-rc.0", @@ -1133,7 +1135,7 @@ dependencies = [ "paste", "pkcs8", "proptest", - "rand 0.10.0-rc.6", + "rand 0.10.0-rc.7", "rand_core 0.10.0-rc-5", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index 64a2891..79c5444 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,3 @@ lms-signature = { path = "./lms" } ml-dsa = { path = "./ml-dsa" } rfc6979 = { path = "./rfc6979" } slh-dsa = { path = "./slh-dsa" } - -crypto-primes = { git = "https://github.com/baloo/crypto-primes.git", branch = "baloo/push-zlqkpkvxqksw" } -rand = { git = "https://github.com/rust-random/rand.git", branch = "push-nzsxxkozrnpy" } diff --git a/dsa/Cargo.toml b/dsa/Cargo.toml index 2d0f7b5..eef3419 100644 --- a/dsa/Cargo.toml +++ b/dsa/Cargo.toml @@ -18,8 +18,8 @@ rust-version = "1.85" [dependencies] der = { version = "0.8.0-rc.10", features = ["alloc"] } digest = "0.11.0-rc.7" -crypto-bigint = { version = "0.7.0-rc.16", default-features = false, features = ["alloc", "zeroize"] } -crypto-primes = { version = "0.7.0-pre.6", default-features = false } +crypto-bigint = { version = "0.7.0-rc.21", default-features = false, features = ["alloc", "zeroize"] } +crypto-primes = { version = "0.7.0-pre.7", default-features = false } rfc6979 = { version = "0.5.0-rc.3" } sha2 = { version = "0.11.0-rc.3", default-features = false } signature = { version = "3.0.0-rc.8", default-features = false, features = ["alloc", "digest", "rand_core"] } diff --git a/slh-dsa/Cargo.toml b/slh-dsa/Cargo.toml index f2ab60b..8cec067 100644 --- a/slh-dsa/Cargo.toml +++ b/slh-dsa/Cargo.toml @@ -42,7 +42,7 @@ num-bigint = "0.4.4" paste = "1.0.15" pkcs8 = { version = "0.11.0-rc.8", features = ["pem"] } proptest = "1.4.0" -rand = "0.10.0-rc.6" +rand = "0.10.0-rc.7" serde_json = "1.0.124" serde = { version = "1.0.207", features = ["derive"] }