From 8720495608a7104f2d32f1d702b253016e193d8e Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Tue, 8 Mar 2022 11:40:25 -0800 Subject: [PATCH] upgrade scrypt dependency --- server/Cargo.lock | 24 +++++++++++++++++------- server/db/Cargo.toml | 2 +- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/server/Cargo.lock b/server/Cargo.lock index b3d58c0..ca2d709 100644 --- a/server/Cargo.lock +++ b/server/Cargo.lock @@ -202,11 +202,12 @@ dependencies = [ [[package]] name = "cipher" -version = "0.3.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" +checksum = "d1873270f8f7942c191139cb8a40fd228da6c3fd2fc376d7e92d47aa14aeb59e" dependencies = [ - "generic-array", + "crypto-common", + "inout", ] [[package]] @@ -849,6 +850,15 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "inout" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1f03d4ab4d5dc9ec2d219f86c15d2a15fc08239d1cd3b2d6a19717c0a2f443" +dependencies = [ + "generic-array", +] + [[package]] name = "instant" version = "0.1.12" @@ -1742,9 +1752,9 @@ checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f" [[package]] name = "salsa20" -version = "0.9.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c0fbb5f676da676c260ba276a8f43a8dc67cf02d1438423aeb1c677a7212686" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" dependencies = [ "cipher", ] @@ -1757,9 +1767,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "scrypt" -version = "0.8.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e73d6d7c6311ebdbd9184ad6c4447b2f36337e327bda107d3ba9e3c374f9d325" +checksum = "ba0aaf3911fff0d942c10a49779de7754699810fc7dbe3df515613b2ecc8195a" dependencies = [ "hmac", "password-hash", diff --git a/server/db/Cargo.toml b/server/db/Cargo.toml index 3862f5e..53fa1ee 100644 --- a/server/db/Cargo.toml +++ b/server/db/Cargo.toml @@ -36,7 +36,7 @@ pretty-hex = "0.2.1" protobuf = "3.0.0-alpha.1" ring = "0.16.2" rusqlite = "0.27.0" -scrypt = "0.8.0" +scrypt = "0.9.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" #similar = "2.1.0"