diff --git a/Cargo.lock b/Cargo.lock index ab3b931f75ce..9b75969e7612 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -320,6 +320,12 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" +[[package]] +name = "base64ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22fb38fd6e62e4ceec8543db40ceb714454ff173451a0f2a6c8952fdf39a2d6c" + [[package]] name = "bindgen" version = "0.54.0" @@ -4713,6 +4719,15 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "password-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "721a49e14f1803441886c688ba8b653b52e1dcc926969081d22384e300ea4106" +dependencies = [ + "base64ct", +] + [[package]] name = "pathdiff" version = "0.2.0" @@ -4721,17 +4736,15 @@ checksum = "877630b3de15c0b64cc52f659345724fbf6bdad9bd9566699fc53688f3c34a34" [[package]] name = "pbkdf2" -version = "0.5.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170d73bf11f39b4ce1809aabc95bf5c33564cdc16fc3200ddda17a5f6e5e48b" +checksum = "5e9dbbc79255e181e64afb7aee37d3b7e2e0925c20a6b05bba3ebe8ed82e6bfa" dependencies = [ - "base64 0.12.3", - "crypto-mac 0.9.1", - "hmac 0.9.0", - "rand 0.7.3", - "rand_core 0.5.1", + "base64ct", + "crypto-mac 0.10.0", + "hmac 0.10.1", + "password-hash", "sha2", - "subtle", ] [[package]] diff --git a/testsuite/cli/libra-wallet/Cargo.toml b/testsuite/cli/libra-wallet/Cargo.toml index f32826c477b8..3fef3d0ab14a 100644 --- a/testsuite/cli/libra-wallet/Cargo.toml +++ b/testsuite/cli/libra-wallet/Cargo.toml @@ -15,7 +15,7 @@ rand = "0.7.3" hex = "0.4.2" hmac = "0.9.0" byteorder = "1.3.4" -pbkdf2 = "0.5.0" +pbkdf2 = "0.7.2" serde = "1.0.117" sha2 = "0.9.2" thiserror = "1.0.22"