fix(deps): update rust crate rust-argon2 to v2 (#552)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
pull/563/head
renovate[bot] 2 years ago committed by GitHub
parent e8d7e765e7
commit 83148da959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
Cargo.lock generated

@ -752,6 +752,12 @@ version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6"
[[package]]
name = "constant_time_eq"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2"
[[package]]
name = "convert_case"
version = "0.4.0"
@ -2162,7 +2168,7 @@ dependencies = [
"bincode",
"hkdf",
"iota-crypto 0.15.3",
"rust-argon2",
"rust-argon2 1.0.0",
"serde",
"stronghold-derive",
"stronghold-utils",
@ -3585,6 +3591,17 @@ dependencies = [
"crossbeam-utils",
]
[[package]]
name = "rust-argon2"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e71971821b3ae0e769e4a4328dbcb517607b434db7697e9aba17203ec14e46a"
dependencies = [
"base64 0.21.2",
"blake2b_simd",
"constant_time_eq 0.3.0",
]
[[package]]
name = "rustc-demangle"
version = "0.1.23"
@ -4772,7 +4789,7 @@ dependencies = [
"rand 0.8.5",
"rand_chacha 0.3.1",
"rand_core 0.6.4",
"rust-argon2",
"rust-argon2 2.0.0",
"rusty-fork",
"serde",
"serde_json",

@ -21,7 +21,7 @@ hex = "0.4"
zeroize = { version = "1", features = ["zeroize_derive"] }
# kdf dependencies
rust-argon2 = { version = "1", optional = true }
rust-argon2 = { version = "2", optional = true }
rand_chacha = { version = "0.3.1", optional = true }
rand_core = { version = "0.6.4", features = ["getrandom"], optional = true }

Loading…
Cancel
Save