diff --git a/Cargo.lock b/Cargo.lock index e4a48ac..4bdadc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,6 +245,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + [[package]] name = "block-padding" version = "0.3.3" @@ -428,6 +437,12 @@ dependencies = [ "windows-sys 0.61.2", ] +[[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" @@ -606,11 +621,22 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer", + "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.1", + "const-oid", + "crypto-common 0.2.2", +] + [[package]] name = "dirs" version = "6.0.0" @@ -944,7 +970,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest", + "digest 0.10.7", ] [[package]] @@ -1604,9 +1630,9 @@ version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ - "digest", + "digest 0.10.7", "hmac", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -2012,7 +2038,18 @@ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures 0.2.17", - "digest", + "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]] @@ -3181,7 +3218,7 @@ dependencies = [ "rusqlite", "rust-stemmers", "serde", - "sha2", + "sha2 0.11.0", "tempfile", "thiserror 2.0.18", "wx-db", @@ -3215,7 +3252,7 @@ dependencies = [ "cbc", "hmac", "pbkdf2", - "sha2", + "sha2 0.11.0", "tempfile", "thiserror 2.0.18", ] @@ -3233,7 +3270,7 @@ dependencies = [ "mach2", "regex", "serde", - "sha2", + "sha2 0.11.0", "tempfile", "thiserror 2.0.18", "tokio", @@ -3272,7 +3309,7 @@ dependencies = [ "pbkdf2", "rusqlite", "serde", - "sha2", + "sha2 0.11.0", "tempfile", "thiserror 2.0.18", "tokio", diff --git a/crates/wx-context/Cargo.toml b/crates/wx-context/Cargo.toml index dada67a..edcba28 100644 --- a/crates/wx-context/Cargo.toml +++ b/crates/wx-context/Cargo.toml @@ -22,6 +22,6 @@ filetime = "0.2" aes = "0.9" cbc = "0.2" hmac = "0.12" -sha2 = "0.10" +sha2 = "0.11" pbkdf2 = { version = "0.12", features = ["hmac"] } hex = "0.4" diff --git a/crates/wx-decrypt/Cargo.toml b/crates/wx-decrypt/Cargo.toml index 357388f..acac2ee 100644 --- a/crates/wx-decrypt/Cargo.toml +++ b/crates/wx-decrypt/Cargo.toml @@ -7,7 +7,7 @@ edition.workspace = true aes = "0.9" cbc = "0.2" pbkdf2 = { version = "0.12", features = ["sha2"] } -sha2 = "0.10" +sha2 = "0.11" hmac = "0.12" thiserror = "2" diff --git a/crates/wx-keychain/Cargo.toml b/crates/wx-keychain/Cargo.toml index a86a5be..9ab0f25 100644 --- a/crates/wx-keychain/Cargo.toml +++ b/crates/wx-keychain/Cargo.toml @@ -24,5 +24,5 @@ libc = "0.2" aes = "0.9" cbc = "0.2" hmac = "0.12" -sha2 = "0.10" +sha2 = "0.11" tempfile = "3" diff --git a/crates/wx-monitor/Cargo.toml b/crates/wx-monitor/Cargo.toml index 137ed51..80288eb 100644 --- a/crates/wx-monitor/Cargo.toml +++ b/crates/wx-monitor/Cargo.toml @@ -18,7 +18,7 @@ serde = { version = "1", features = ["derive"] } aes = "0.9" cbc = "0.2" hmac = "0.12" -sha2 = "0.10" +sha2 = "0.11" pbkdf2 = { version = "0.12", features = ["sha2"] } rusqlite = { version = "0.40", features = ["bundled"] } tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }