From 27cda85cb2e5a88e0c049d216221fcd82c58e958 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 21:04:58 +0000 Subject: [PATCH] build(deps): bump sha2 from 0.10.9 to 0.11.0 Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.9 to 0.11.0. - [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.9...sha2-v0.11.0) --- updated-dependencies: - dependency-name: sha2 dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 94 ++++++++++++++++++++++++++++++++------- client/Cargo.toml | 2 +- kwallet/parser/Cargo.toml | 2 +- server/Cargo.toml | 2 +- 4 files changed, 82 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 13d1cf685..5db44a4b3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,7 +10,7 @@ checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", "cipher", - "cpufeatures", + "cpufeatures 0.2.17", "zeroize", ] @@ -282,6 +282,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be" +dependencies = [ + "hybrid-array", +] + [[package]] name = "block-padding" version = "0.3.3" @@ -387,7 +396,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ - "crypto-common", + "crypto-common 0.1.7", "inout", "zeroize", ] @@ -447,6 +456,12 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + [[package]] name = "cpufeatures" version = "0.2.17" @@ -456,6 +471,15 @@ dependencies = [ "libc", ] +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + [[package]] name = "crossbeam-utils" version = "0.8.21" @@ -472,6 +496,15 @@ dependencies = [ "typenum", ] +[[package]] +name = "crypto-common" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77727bb15fa921304124b128af125e7e3b968275d1b108b379190264f4423710" +dependencies = [ + "hybrid-array", +] + [[package]] name = "deranged" version = "0.5.8" @@ -488,11 +521,22 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer", - "crypto-common", + "block-buffer 0.10.4", + "crypto-common 0.1.7", "subtle", ] +[[package]] +name = "digest" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4850db49bf08e663084f7fb5c87d202ef91a3907271aff24a94eb97ff039153c" +dependencies = [ + "block-buffer 0.12.0", + "const-oid", + "crypto-common 0.2.1", +] + [[package]] name = "ecb" version = "0.1.2" @@ -774,7 +818,16 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest", + "digest 0.10.7", +] + +[[package]] +name = "hybrid-array" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3944cf8cf766b40e2a1a333ee5e9b563f854d5fa49d6a8ca2764e97c6eddb214" +dependencies = [ + "typenum", ] [[package]] @@ -855,7 +908,7 @@ dependencies = [ "serde", "serde_json", "sha1", - "sha2", + "sha2 0.11.0", "zeroize", ] @@ -942,7 +995,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ "cfg-if", - "digest", + "digest 0.10.7", ] [[package]] @@ -1157,7 +1210,7 @@ dependencies = [ "pbkdf2", "serde", "serde_bytes", - "sha2", + "sha2 0.11.0", "subtle", "tempfile", "tokio", @@ -1205,7 +1258,7 @@ dependencies = [ "rustix", "serde", "serde_repr", - "sha2", + "sha2 0.11.0", "tempfile", "tokio", "tokio-stream", @@ -1357,10 +1410,10 @@ version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ - "digest", + "digest 0.10.7", "hmac", "password-hash", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -1738,8 +1791,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", - "cpufeatures", - "digest", + "cpufeatures 0.2.17", + "digest 0.10.7", ] [[package]] @@ -1749,8 +1802,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", - "cpufeatures", - "digest", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "digest 0.11.2", ] [[package]] diff --git a/client/Cargo.toml b/client/Cargo.toml index 60f81b3f7..0c5343b88 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -33,7 +33,7 @@ openssl = { version = "0.10", optional = true } pbkdf2 = { version = "0.12", optional = true } serde.workspace = true serde_bytes = "0.11" -sha2 = { version = "0.10", optional = true } +sha2 = { version = "0.11", optional = true } subtle = { version = "2.5", optional = true } tokio = { workspace = true, features = [ "sync", diff --git a/kwallet/parser/Cargo.toml b/kwallet/parser/Cargo.toml index 5f06c1a65..ac8488134 100644 --- a/kwallet/parser/Cargo.toml +++ b/kwallet/parser/Cargo.toml @@ -18,7 +18,7 @@ cbc = "0.1" ecb = "0.1" md5 = "0.7" sha1 = "0.10" -sha2 = "0.10" +sha2 = "0.11" pbkdf2 = { version = "0.12", default-features = false, features = ["simple"] } cipher = { version = "0.4", features = ["block-padding"] } zeroize = { workspace = true } diff --git a/server/Cargo.toml b/server/Cargo.toml index 3e6ec8094..798561fc0 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -37,7 +37,7 @@ oo7 = { workspace = true, features = ["tokio"] } rpassword = "7.4" serde.workspace = true serde_repr = "0.1" -sha2 = { version = "0.10", optional = true } +sha2 = { version = "0.11", optional = true } tokio = { workspace = true, features = ["full"] } tokio-stream = "0.1" tracing = "0.1"