From f8f006f64125d44cd70b0d43e030dd9c55a7be98 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 2 May 2026 15:06:14 -0600 Subject: [PATCH] Bump `signature` dependency to v3 Release PR: RustCrypto/traits#2400 --- Cargo.lock | 20 ++++++++++---------- dsa/Cargo.toml | 2 +- ecdsa/Cargo.toml | 2 +- ed25519/Cargo.toml | 2 +- ed448/Cargo.toml | 2 +- lms/Cargo.toml | 2 +- ml-dsa/Cargo.toml | 2 +- slh-dsa/Cargo.toml | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3265232c..9e8467b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -451,7 +451,7 @@ dependencies = [ "rfc6979", "sha1", "sha2", - "signature 3.0.0-rc.10", + "signature 3.0.0", "zeroize", ] @@ -466,7 +466,7 @@ dependencies = [ "rfc6979", "serdect", "sha2", - "signature 3.0.0-rc.10", + "signature 3.0.0", "spki", "zeroize", ] @@ -480,7 +480,7 @@ dependencies = [ "rand_core 0.9.5", "serde", "serde_bytes", - "signature 3.0.0-rc.10", + "signature 3.0.0", "zerocopy", "zeroize", ] @@ -493,7 +493,7 @@ dependencies = [ "pkcs8", "serde", "serde_bytes", - "signature 3.0.0-rc.10", + "signature 3.0.0", "zeroize", ] @@ -787,7 +787,7 @@ dependencies = [ "hybrid-array", "rand_core 0.10.1", "sha2", - "signature 3.0.0-rc.10", + "signature 3.0.0", "static_assertions", "typenum", "zeroize", @@ -832,7 +832,7 @@ dependencies = [ "serde", "serde_json", "sha3", - "signature 3.0.0-rc.10", + "signature 3.0.0", "zeroize", ] @@ -1342,9 +1342,9 @@ checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" [[package]] name = "signature" -version = "3.0.0-rc.10" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f1880df446116126965eeec169136b2e0251dba37c6223bcc819569550edea3" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" dependencies = [ "digest", "rand_core 0.10.1", @@ -1374,7 +1374,7 @@ dependencies = [ "serde_json", "sha2", "sha3", - "signature 3.0.0-rc.10", + "signature 3.0.0", "typenum", "zerocopy", "zeroize", @@ -1435,7 +1435,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.2", "once_cell", "rustix", "windows-sys", diff --git a/dsa/Cargo.toml b/dsa/Cargo.toml index 5e7fb8e7..c30ac761 100644 --- a/dsa/Cargo.toml +++ b/dsa/Cargo.toml @@ -22,7 +22,7 @@ crypto-bigint = { version = "0.7", default-features = false, features = ["alloc" crypto-primes = { version = "0.7", default-features = false } rfc6979 = { version = "0.5.0-rc.5" } sha2 = { version = "0.11", default-features = false } -signature = { version = "3.0.0-rc.10", default-features = false, features = ["alloc", "digest", "rand_core"] } +signature = { version = "3", default-features = false, features = ["alloc", "digest", "rand_core"] } zeroize = { version = "1", default-features = false, features = ["alloc"] } # optional dependencies diff --git a/ecdsa/Cargo.toml b/ecdsa/Cargo.toml index e717965a..909c24fd 100644 --- a/ecdsa/Cargo.toml +++ b/ecdsa/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.85" [dependencies] elliptic-curve = { version = "0.14.0-rc.32", default-features = false, features = ["sec1"] } -signature = { version = "3.0.0-rc.10", default-features = false, features = ["rand_core"] } +signature = { version = "3", default-features = false, features = ["rand_core"] } zeroize = { version = "1.5", default-features = false } # optional dependencies diff --git a/ed25519/Cargo.toml b/ed25519/Cargo.toml index adf58c10..140b0c83 100644 --- a/ed25519/Cargo.toml +++ b/ed25519/Cargo.toml @@ -18,7 +18,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -signature = { version = "3.0.0-rc.10", default-features = false } +signature = { version = "3", default-features = false } # optional dependencies pkcs8 = { version = "0.11", optional = true } diff --git a/ed448/Cargo.toml b/ed448/Cargo.toml index 93cca694..d83170fb 100644 --- a/ed448/Cargo.toml +++ b/ed448/Cargo.toml @@ -18,7 +18,7 @@ keywords = ["crypto", "curve448", "ecc", "signature", "signing"] rust-version = "1.85" [dependencies] -signature = { version = "3.0.0-rc.10", default-features = false } +signature = { version = "3", default-features = false } # optional dependencies pkcs8 = { version = "0.11", optional = true } diff --git a/lms/Cargo.toml b/lms/Cargo.toml index 74bb6ea0..a099bca7 100644 --- a/lms/Cargo.toml +++ b/lms/Cargo.toml @@ -18,7 +18,7 @@ getrandom = { version = "0.4", features = ["sys_rng"] } sha2 = "0.11" static_assertions = "1.1" rand_core = "0.10" -signature = { version = "3.0.0-rc.10", features = ["alloc", "digest", "rand_core"] } +signature = { version = "3", features = ["alloc", "digest", "rand_core"] } typenum = { version = "1.20", features = ["const-generics"] } zeroize = "1.8" diff --git a/ml-dsa/Cargo.toml b/ml-dsa/Cargo.toml index f75cdc34..76fb641b 100644 --- a/ml-dsa/Cargo.toml +++ b/ml-dsa/Cargo.toml @@ -36,7 +36,7 @@ ctutils = { version = "0.4", default-features = false } hybrid-array = { version = "0.4", features = ["extra-sizes"] } module-lattice = { version = "0.2.2", features = ["ctutils"] } sha3 = { version = "0.11", default-features = false } -signature = { version = "3.0.0-rc.10", default-features = false, features = ["digest"] } +signature = { version = "3", default-features = false, features = ["digest"] } # optional dependencies const-oid = { version = "0.10", features = ["db"], optional = true } diff --git a/slh-dsa/Cargo.toml b/slh-dsa/Cargo.toml index e4b70d7a..fc61dc81 100644 --- a/slh-dsa/Cargo.toml +++ b/slh-dsa/Cargo.toml @@ -24,7 +24,7 @@ pkcs8 = { version = "0.11", default-features = false } rand_core = "0.10" sha2 = { version = "0.11", default-features = false } sha3 = { version = "0.11", default-features = false } -signature = { version = "3.0.0-rc.10", features = ["rand_core"] } +signature = { version = "3", features = ["rand_core"] } typenum = { version = "1.20", features = ["const-generics"] } zerocopy = { version = "0.8", features = ["derive"] }