diff --git a/Cargo.lock b/Cargo.lock index ab3b931f75ce..3b221737553d 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 = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0d27fb6b6f1e43147af148af49d49329413ba781aa0d5e10979831c210173b5" + [[package]] name = "bindgen" version = "0.54.0" @@ -4713,6 +4719,16 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "password-hash" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85d8faea6c018131952a192ee55bd9394c51fc6f63294b668d97636e6f842d40" +dependencies = [ + "base64ct", + "rand_core 0.6.2", +] + [[package]] name = "pathdiff" version = "0.2.0" @@ -4721,17 +4737,15 @@ checksum = "877630b3de15c0b64cc52f659345724fbf6bdad9bd9566699fc53688f3c34a34" [[package]] name = "pbkdf2" -version = "0.5.0" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170d73bf11f39b4ce1809aabc95bf5c33564cdc16fc3200ddda17a5f6e5e48b" +checksum = "bf916dd32dd26297907890d99dc2740e33f6bd9073965af4ccff2967962f5508" 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]] @@ -5216,6 +5230,12 @@ dependencies = [ "getrandom 0.1.15", ] +[[package]] +name = "rand_core" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7" + [[package]] name = "rand_hc" version = "0.1.0" diff --git a/testsuite/cli/libra-wallet/Cargo.toml b/testsuite/cli/libra-wallet/Cargo.toml index f32826c477b8..287e6dc55c0c 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.5" serde = "1.0.117" sha2 = "0.9.2" thiserror = "1.0.22"