diff --git a/Cargo.lock b/Cargo.lock index 7a3a9ac8..be4fb502 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -191,6 +191,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 = "bumpalo" version = "3.20.3" @@ -271,7 +280,7 @@ dependencies = [ "proptest", "serde", "serde_json", - "sha2", + "sha2 0.11.0", "tempfile", "tokio", "toml", @@ -292,7 +301,7 @@ dependencies = [ "rusqlite", "serde", "serde_json", - "sha2", + "sha2 0.11.0", "tempfile", "thiserror", "tokio", @@ -311,7 +320,7 @@ dependencies = [ "hex", "hmac", "reqwest", - "sha2", + "sha2 0.11.0", "tokio", "toml", "tracing", @@ -345,7 +354,7 @@ dependencies = [ "rusqlite", "serde", "serde_json", - "sha2", + "sha2 0.11.0", "tempfile", "thiserror", "tokio", @@ -381,7 +390,7 @@ dependencies = [ "rustls-pemfile", "serde", "serde_json", - "sha2", + "sha2 0.11.0", "tempfile", "thiserror", "tokio", @@ -402,7 +411,7 @@ dependencies = [ "proptest", "serde", "serde_json", - "sha2", + "sha2 0.11.0", "tempfile", "tokio", "tracing", @@ -503,7 +512,7 @@ dependencies = [ "hmac", "http", "rand", - "sha2", + "sha2 0.11.0", "thiserror", "tokio", "tokio-tungstenite", @@ -593,6 +602,12 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + [[package]] name = "core-foundation-sys" version = "0.8.7" @@ -608,6 +623,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 = "crypto-common" version = "0.1.7" @@ -618,6 +642,15 @@ dependencies = [ "typenum", ] +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + [[package]] name = "data-encoding" version = "2.11.0" @@ -657,11 +690,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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.0", + "const-oid", + "crypto-common 0.2.2", +] + [[package]] name = "dirs" version = "6.0.0" @@ -990,7 +1034,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest", + "digest 0.10.7", ] [[package]] @@ -1038,6 +1082,15 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" +[[package]] +name = "hybrid-array" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da" +dependencies = [ + "typenum", +] + [[package]] name = "hyper" version = "1.10.1" @@ -1590,7 +1643,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89815c69d36021a140146f26659a81d6c2afa33d216d736dd4be5381a7362220" dependencies = [ "pest", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -2139,8 +2192,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]] @@ -2150,8 +2203,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.3", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 4329210b..11fa4f79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ url = "2" # Cryptography (used by backend-s3) hmac = "0.12" -sha2 = "0.10" +sha2 = "0.11" hex = "0.4" # Binary encodings (base32/base64 for opaque cursors and device IDs) diff --git a/crates/backend-local/Cargo.toml b/crates/backend-local/Cargo.toml index 39f66d1e..5f1468bd 100644 --- a/crates/backend-local/Cargo.toml +++ b/crates/backend-local/Cargo.toml @@ -12,7 +12,7 @@ tokio.workspace = true anyhow.workspace = true tracing.workspace = true chrono.workspace = true -sha2 = "0.10" +sha2 = "0.11" walkdir = "2" fs2 = "0.4" toml.workspace = true diff --git a/crates/backend-p2p/Cargo.toml b/crates/backend-p2p/Cargo.toml index 60a49fdf..995f8d20 100644 --- a/crates/backend-p2p/Cargo.toml +++ b/crates/backend-p2p/Cargo.toml @@ -17,7 +17,7 @@ tracing.workspace = true chrono.workspace = true toml.workspace = true rusqlite = { version = "0.35", features = ["bundled"] } -sha2 = "0.10" +sha2 = "0.11" dirs.workspace = true [dev-dependencies] diff --git a/crates/p2p/Cargo.toml b/crates/p2p/Cargo.toml index c5c3f74b..5fa28192 100644 --- a/crates/p2p/Cargo.toml +++ b/crates/p2p/Cargo.toml @@ -12,7 +12,7 @@ anyhow.workspace = true thiserror.workspace = true tracing.workspace = true chrono.workspace = true -sha2 = "0.10" +sha2 = "0.11" hmac.workspace = true rcgen = "0.13" data-encoding.workspace = true