diff --git a/Cargo.lock b/Cargo.lock index ab3b931f75ce..c345dc1f5b5f 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" @@ -1163,6 +1169,16 @@ dependencies = [ "subtle", ] +[[package]] +name = "crypto-mac" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" +dependencies = [ + "generic-array 0.14.4", + "subtle", +] + [[package]] name = "csv" version = "1.1.4" @@ -2237,6 +2253,16 @@ dependencies = [ "digest 0.9.0", ] +[[package]] +name = "hmac" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" +dependencies = [ + "crypto-mac 0.11.0", + "digest 0.9.0", +] + [[package]] name = "hostname" version = "0.3.1" @@ -4713,6 +4739,16 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "password-hash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7561a874264c351c35ccde0da29a98dea5f2483357c049673319c7f3446d14da" +dependencies = [ + "base64ct", + "rand_core 0.6.2", +] + [[package]] name = "pathdiff" version = "0.2.0" @@ -4721,17 +4757,15 @@ checksum = "877630b3de15c0b64cc52f659345724fbf6bdad9bd9566699fc53688f3c34a34" [[package]] name = "pbkdf2" -version = "0.5.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170d73bf11f39b4ce1809aabc95bf5c33564cdc16fc3200ddda17a5f6e5e48b" +checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" 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.11.0", + "hmac 0.11.0", + "password-hash", "sha2", - "subtle", ] [[package]] @@ -5216,6 +5250,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..e539d3a047e5 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.8.0" serde = "1.0.117" sha2 = "0.9.2" thiserror = "1.0.22"