Skip to content

Commit 26b2889

Browse files
authored
Bump digest dependency to v0.11.0-rc.0 (#973)
Also bumps: - `elliptic-curve` v0.14.0-rc.2 - `signature` v3.0.0-rc.0
1 parent 132a6b1 commit 26b2889

File tree

10 files changed

+58
-76
lines changed

10 files changed

+58
-76
lines changed

Cargo.lock

Lines changed: 26 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,13 @@ opt-level = 2
1717
[patch.crates-io]
1818
# A global patch crates-io block is used to avoid duplicate dependencies
1919
# when pulling a member crate through git
20-
dsa = { path = "./dsa" }
21-
ecdsa = { path = "./ecdsa" }
20+
dsa = { path = "./dsa" }
21+
ecdsa = { path = "./ecdsa" }
2222
ed448-signature = { path = "./ed448" }
23-
ed25519 = { path = "./ed25519" }
24-
lms-signature = { path = "./lms" }
25-
ml-dsa = { path = "./ml-dsa" }
26-
rfc6979 = { path = "./rfc6979" }
27-
slh-dsa = { path = "./slh-dsa" }
28-
29-
# https://github.com/RustCrypto/traits/pull/1751
30-
# https://github.com/RustCrypto/traits/pull/1767
31-
# https://github.com/RustCrypto/traits/pull/1774
32-
# https://github.com/RustCrypto/traits/pull/1822
33-
# https://github.com/RustCrypto/traits/pull/1845
34-
digest = { git = "https://github.com/RustCrypto/traits.git" }
35-
elliptic-curve = { git = "https://github.com/RustCrypto/traits.git" }
36-
signature = { git = "https://github.com/RustCrypto/traits.git" }
23+
ed25519 = { path = "./ed25519" }
24+
lms-signature = { path = "./lms" }
25+
ml-dsa = { path = "./ml-dsa" }
26+
rfc6979 = { path = "./rfc6979" }
27+
slh-dsa = { path = "./slh-dsa" }
3728

3829
crypto-primes = { git = "https://github.com/entropyxyz/crypto-primes.git" }
39-
40-
hmac = { git = "https://github.com/RustCrypto/MACs.git" }
41-
42-
sha1 = { git = "https://github.com/RustCrypto/hashes.git" }
43-
sha2 = { git = "https://github.com/RustCrypto/hashes.git" }
44-
sha3 = { git = "https://github.com/RustCrypto/hashes.git" }

dsa/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ keywords = ["crypto", "nist", "signature"]
1616
rust-version = "1.85"
1717

1818
[dependencies]
19-
digest = "=0.11.0-pre.10"
19+
digest = "0.11.0-rc.0"
2020
crypto-bigint = { version = "=0.7.0-pre.3", default-features = false, features = ["alloc", "zeroize"] }
2121
crypto-primes = { version = "=0.7.0-dev", default-features = false }
2222
pkcs8 = { version = "0.11.0-rc.1", default-features = false, features = ["alloc"] }
2323
rfc6979 = { version = "=0.5.0-pre.4" }
24-
sha2 = { version = "=0.11.0-pre.5", default-features = false }
25-
signature = { version = "=3.0.0-pre", default-features = false, features = ["alloc", "digest", "rand_core"] }
24+
sha2 = { version = "0.11.0-rc.0", default-features = false }
25+
signature = { version = "3.0.0-rc.0", default-features = false, features = ["alloc", "digest", "rand_core"] }
2626
zeroize = { version = "1", default-features = false }
2727

2828
[dev-dependencies]
@@ -32,7 +32,7 @@ pkcs8 = { version = "0.11.0-rc.1", default-features = false, features = ["pem"]
3232
proptest = "1"
3333
rand = "0.9"
3434
rand_chacha = "0.9"
35-
sha1 = "=0.11.0-pre.5"
35+
sha1 = "0.11.0-rc.0"
3636
der = { version = "0.8.0-rc.1", features = ["derive"] }
3737

3838
[features]

ecdsa/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ edition = "2024"
1717
rust-version = "1.85"
1818

1919
[dependencies]
20-
elliptic-curve = { version = "0.14.0-rc.1", default-features = false, features = ["sec1"] }
21-
signature = { version = "=3.0.0-pre", default-features = false, features = ["rand_core"] }
20+
elliptic-curve = { version = "0.14.0-rc.2", default-features = false, features = ["sec1"] }
21+
signature = { version = "3.0.0-rc.0", default-features = false, features = ["rand_core"] }
2222
zeroize = { version = "1.5", default-features = false }
2323

2424
# optional dependencies
2525
der = { version = "0.8.0-rc.2", optional = true }
26-
digest = { version = "=0.11.0-pre.10", optional = true, default-features = false, features = ["oid"] }
26+
digest = { version = "0.11.0-rc.0", optional = true, default-features = false, features = ["oid"] }
2727
rfc6979 = { version = "=0.5.0-pre.4", optional = true }
2828
serdect = { version = "0.3", optional = true, default-features = false, features = ["alloc"] }
29-
sha2 = { version = "=0.11.0-pre.5", optional = true, default-features = false, features = ["oid"] }
29+
sha2 = { version = "0.11.0-rc.0", optional = true, default-features = false, features = ["oid"] }
3030
spki = { version = "0.8.0-rc.0", optional = true, default-features = false }
3131

3232
[dev-dependencies]
33-
elliptic-curve = { version = "0.14.0-rc.1", default-features = false, features = ["dev"] }
33+
elliptic-curve = { version = "0.14.0-rc.2", default-features = false, features = ["dev"] }
3434
hex-literal = "1"
35-
sha2 = { version = "=0.11.0-pre.5", default-features = false }
35+
sha2 = { version = "0.11.0-rc.0", default-features = false }
3636

3737
[features]
3838
default = ["digest"]

ed25519/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ed25519"
3-
version = "2.3.0-pre.0"
3+
version = "3.0.0-pre"
44
authors = ["RustCrypto Developers"]
55
license = "Apache-2.0 OR MIT"
66
description = """
@@ -18,8 +18,7 @@ edition = "2024"
1818
rust-version = "1.85"
1919

2020
[dependencies]
21-
# TODO(tarcieri): relax requirement back to `3` before next release
22-
signature = { version = "=3.0.0-pre", default-features = false }
21+
signature = { version = "3.0.0-rc.0", default-features = false }
2322

2423
# optional dependencies
2524
pkcs8 = { version = "0.11.0-rc.2", optional = true }

ed448/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ keywords = ["crypto", "curve448", "ecc", "signature", "signing"]
1818
rust-version = "1.85"
1919

2020
[dependencies]
21-
# TODO(tarcieri): relax requirement back to `3` before next release
22-
signature = { version = "=3.0.0-pre", default-features = false }
21+
signature = { version = "3.0.0-rc.0", default-features = false }
2322

2423
# optional dependencies
2524
pkcs8 = { version = "0.11.0-rc.1", optional = true }

lms/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ categories = ["cryptography"]
1212
keywords = ["crypto", "signature"]
1313

1414
[dependencies]
15-
digest = "=0.11.0-pre.10"
15+
digest = "0.11.0-rc.0"
1616
hybrid-array = { version = "0.3", features = ["extra-sizes", "zeroize"] }
1717
rand = "0.9.0"
18-
sha2 = "=0.11.0-pre.5"
18+
sha2 = "0.11.0-rc.0"
1919
static_assertions = "1.1.0"
2020
rand_core = "0.9.0"
21-
signature = { version = "=3.0.0-pre", features = ["alloc", "digest", "rand_core"] }
21+
signature = { version = "3.0.0-rc.0", features = ["alloc", "digest", "rand_core"] }
2222
typenum = { version = "1.17.0", features = ["const-generics"] }
2323
zeroize = "1.8.1"
2424

ml-dsa/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ pkcs8 = ["dep:const-oid", "dep:pkcs8"]
3535
hybrid-array = { version = "0.3", features = ["extra-sizes"] }
3636
num-traits = "0.2.19"
3737
rand_core = { version = "0.9", optional = true }
38-
sha3 = "=0.11.0-pre.5"
39-
signature = "=3.0.0-pre"
38+
sha3 = "0.11.0-rc.0"
39+
signature = "3.0.0-rc.0"
4040
zeroize = { version = "1.8.1", optional = true, default-features = false }
4141

4242
const-oid = { version = "0.10", features = ["db"], optional = true }

rfc6979/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ edition = "2024"
1616
rust-version = "1.85"
1717

1818
[dependencies]
19-
hmac = { version = "=0.13.0-pre.5", default-features = false }
19+
hmac = { version = "0.13.0-rc.0", default-features = false }
2020
subtle = { version = "2", default-features = false }
2121

2222
[dev-dependencies]
2323
hex-literal = "1"
24-
sha2 = "=0.11.0-pre.5"
24+
sha2 = "0.11.0-rc.0"

slh-dsa/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ exclude = ["tests"]
1818
[dependencies]
1919
hybrid-array = { version = "0.3", features = ["extra-sizes"] }
2020
typenum = { version = "1.17.0", features = ["const-generics"] }
21-
sha3 = { version = "=0.11.0-pre.5", default-features = false }
21+
sha3 = { version = "0.11.0-rc.0", default-features = false }
2222
zerocopy = { version = "0.7.34", features = ["derive"] }
2323
rand_core = { version = "0.9.2" }
24-
signature = { version = "=3.0.0-pre", features = ["rand_core"] }
25-
hmac = "=0.13.0-pre.5"
26-
sha2 = { version = "=0.11.0-pre.5", default-features = false }
27-
digest = "=0.11.0-pre.10"
24+
signature = { version = "3.0.0-rc.0", features = ["rand_core"] }
25+
hmac = "0.13.0-prc.0"
26+
sha2 = { version = "0.11.0-rc.0", default-features = false }
27+
digest = "0.11.0-rc.0"
2828
pkcs8 = { version = "0.11.0-rc.1", default-features = false }
2929
const-oid = { version = "0.10", features = ["db"] }
3030
zeroize = { version = "1.8.1", optional = true, default-features = false }

0 commit comments

Comments
 (0)