From 32a2108c3e13f434a8f0c9a4fe2706d991a564fe Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Wed, 19 Nov 2025 07:37:21 -0800 Subject: [PATCH 1/2] chore: update to fixed argon2 crate fixes the compilation errors described here: https://github.com/RustCrypto/password-hashes/issues/736 this compilation error manifests itself when building various rust-based Secrets Manager clients --- crates/bitwarden-crypto/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bitwarden-crypto/Cargo.toml b/crates/bitwarden-crypto/Cargo.toml index c83ec9b57..9d95d686a 100644 --- a/crates/bitwarden-crypto/Cargo.toml +++ b/crates/bitwarden-crypto/Cargo.toml @@ -27,7 +27,7 @@ wasm = ["dep:tsify", "dep:wasm-bindgen"] # WASM support [dependencies] aes = { version = ">=0.8.2, <0.9", features = ["zeroize"] } -argon2 = { version = "=0.6.0-rc.1", features = [ +argon2 = { version = "=0.6.0-rc.2", features = [ "std", "zeroize", ], default-features = false } From 94a6492564b9c9f7f63d94fc730c00c3e8a9385b Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Thu, 20 Nov 2025 05:35:01 -0800 Subject: [PATCH 2/2] misc: update cargo lockfile --- Cargo.lock | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a4624f9b0..8b3183b74 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -194,9 +194,9 @@ checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" [[package]] name = "argon2" -version = "0.6.0-rc.1" +version = "0.6.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d911686206fdd816a61ed5226535997149b0fc7726e37fee46f407c9ff82ed87" +checksum = "e1a213fe583d472f454ae47407edc78848bebd950493528b1d4f7327a7dc335f" dependencies = [ "base64ct", "blake2", @@ -1009,11 +1009,11 @@ dependencies = [ [[package]] name = "blake2" -version = "0.11.0-rc.2" +version = "0.11.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edac47499deef695d9431bf241c75ea29f4cf3dcb78d39e19b31515e4ad3b08" +checksum = "679065eb2b85a078ace42411e657bef3a6afe93a40d1b9cb04e39ca303cc3f36" dependencies = [ - "digest 0.11.0-rc.3", + "digest 0.11.0-rc.4", ] [[package]] @@ -1673,9 +1673,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.2.0-rc.4" +version = "0.2.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8235645834fbc6832939736ce2f2d08192652269e11010a6240f61b908a1c6" +checksum = "919bd05924682a5480aec713596b9e2aabed3a0a6022fab6847f85a99e5f190a" dependencies = [ "hybrid-array", ] @@ -1916,12 +1916,12 @@ dependencies = [ [[package]] name = "digest" -version = "0.11.0-rc.3" +version = "0.11.0-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dac89f8a64533a9b0eaa73a68e424db0fb1fd6271c74cc0125336a05f090568d" +checksum = "ea390c940e465846d64775e55e3115d5dc934acb953de6f6e6360bc232fe2bf7" dependencies = [ "block-buffer 0.11.0-rc.5", - "crypto-common 0.2.0-rc.4", + "crypto-common 0.2.0-rc.5", "subtle", ] @@ -3546,12 +3546,12 @@ dependencies = [ [[package]] name = "password-hash" -version = "0.6.0-rc.1" +version = "0.6.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee14c44aa1c04c22c4d4532c4fa2cdd5b6d31c2514a5898530d889fc2fc2737" +checksum = "a7d47a2d1aee5a339aa6c740d9128211a8a3d2bdf06a13e01b3f8a0b5c49b9db" dependencies = [ "base64ct", - "rand_core 0.9.3", + "rand_core 0.10.0-rc-2", "subtle", ] @@ -3968,6 +3968,12 @@ dependencies = [ "getrandom 0.3.3", ] +[[package]] +name = "rand_core" +version = "0.10.0-rc-2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "104a23e4e8b77312a823b6b5613edbac78397e2f34320bc7ac4277013ec4478e" + [[package]] name = "rayon" version = "1.10.0"