Page MenuHomePhabricator

D8884.id30131.diff
No OneTemporary

D8884.id30131.diff

diff --git a/native/native_rust_library/Cargo.lock b/native/native_rust_library/Cargo.lock
--- a/native/native_rust_library/Cargo.lock
+++ b/native/native_rust_library/Cargo.lock
@@ -25,7 +25,19 @@
dependencies = [
"base64ct",
"blake2",
- "password-hash",
+ "password-hash 0.4.2",
+]
+
+[[package]]
+name = "argon2"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2e554a8638bdc1e4eae9984845306cc95f8a9208ba8d49c3859fd958b46774d"
+dependencies = [
+ "base64ct",
+ "blake2",
+ "cpufeatures",
+ "password-hash 0.5.0",
]
[[package]]
@@ -116,9 +128,9 @@
[[package]]
name = "blake2"
-version = "0.10.4"
+version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9cf849ee05b2ee5fba5e36f97ff8ec2533916700fc0758d40d92136a42f3388"
+checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe"
dependencies = [
"digest 0.10.5",
]
@@ -176,7 +188,7 @@
name = "comm-opaque2"
version = "0.2.0"
dependencies = [
- "argon2",
+ "argon2 0.4.1",
"log",
"opaque-ke 2.0.0",
"rand",
@@ -204,9 +216,9 @@
[[package]]
name = "cpufeatures"
-version = "0.2.5"
+version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320"
+checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1"
dependencies = [
"libc",
]
@@ -757,6 +769,7 @@
name = "native_rust_library"
version = "0.1.0"
dependencies = [
+ "argon2 0.5.1",
"comm-opaque2",
"cxx",
"cxx-build",
@@ -815,7 +828,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "76d410412d23781909d90c3900c5783e830586765f2277bccc78167da8af81a5"
dependencies = [
- "argon2",
+ "argon2 0.4.1",
"curve25519-dalek 4.0.0-pre.1",
"derive-where",
"digest 0.10.5",
@@ -842,6 +855,17 @@
"subtle",
]
+[[package]]
+name = "password-hash"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166"
+dependencies = [
+ "base64ct",
+ "rand_core 0.6.4",
+ "subtle",
+]
+
[[package]]
name = "percent-encoding"
version = "2.2.0"
diff --git a/native/native_rust_library/Cargo.toml b/native/native_rust_library/Cargo.toml
--- a/native/native_rust_library/Cargo.toml
+++ b/native/native_rust_library/Cargo.toml
@@ -21,6 +21,7 @@
derive_more = "0.99"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
+argon2 = "0.5.1"
[build-dependencies]
cxx-build = "1.0"

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 9:25 AM (17 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2570057
Default Alt Text
D8884.id30131.diff (2 KB)

Event Timeline