diff --git a/Cargo.lock b/Cargo.lock index 4d4bd26265..9e066f4232 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7940,14 +7940,13 @@ dependencies = [ [[package]] name = "rust-argon2" -version = "1.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5885493fdf0be6cdff808d1533ce878d21cfa49c7086fa00c66355cd9141bfc" +checksum = "9d9848531d60c9cbbcf9d166c885316c24bc0e2a9d3eba0956bb6cbbd79bc6e8" dependencies = [ "base64 0.21.7", "blake2b_simd", "constant_time_eq 0.3.0", - "crossbeam-utils", ] [[package]] diff --git a/passwords/Cargo.toml b/passwords/Cargo.toml index 4f3922a7a5..bb411a9449 100644 --- a/passwords/Cargo.toml +++ b/passwords/Cargo.toml @@ -14,7 +14,7 @@ serde_with.workspace = true omicron-workspace-hack.workspace = true [dev-dependencies] -argon2alt = { package = "rust-argon2", version = "1.0" } +argon2alt = { package = "rust-argon2", version = "2.1.0" } criterion.workspace = true [[bench]] diff --git a/passwords/src/lib.rs b/passwords/src/lib.rs index ca2292420c..c7e9f1a118 100644 --- a/passwords/src/lib.rs +++ b/passwords/src/lib.rs @@ -563,7 +563,6 @@ mod test { mem_cost: ARGON2_COST_M_KIB, time_cost: ARGON2_COST_T, lanes: ARGON2_COST_P, - thread_mode: argon2alt::ThreadMode::Sequential, secret: &[], ad: &[], hash_length: 32,