Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update srp dependency

Manav Rathi789c763c49b9
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index b3724bf9d8..136c94e3a7 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -1524,9 +1524,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
[[package]]
name = "crypto-bigint"
-version = "0.7.3"
+version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42a0d26b245348befa0c121944541476763dcc46ede886c88f9d12e1697d27c3"
+checksum = "1a52aa3fcda4e6302a9f48734f234d35d4721b96f8fe07d073f07ce9df4f0271"
dependencies = [
"cpubits",
"ctutils",
@@ -8130,8 +8130,9 @@ dependencies = [
[[package]]
name = "srp"
-version = "0.7.0-rc.2"
-source = "git+https://github.com/RustCrypto/PAKEs?rev=5b3bd1f3a9d51121a698ffe5d6ecc33cafcd6413#5b3bd1f3a9d51121a698ffe5d6ecc33cafcd6413"
+version = "0.7.0-rc.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4b5f622c2d21b826b3501f4c620ccc4696e4a09a6b51727fcb21036dec87c101"
dependencies = [
"crypto-bigint",
"crypto-common 0.2.1",
diff --git a/rust/apps/cli/Cargo.toml b/rust/apps/cli/Cargo.toml
index e301214f4c..787b9f7f31 100644
--- a/rust/apps/cli/Cargo.toml
+++ b/rust/apps/cli/Cargo.toml
@@ -53,7 +53,4 @@ zip = "2.2"
ente-test-support.workspace = true
mockito = "1.6"
sha2 = "0.11"
-# Pinned to upstream commit that includes the padded-u interop fix for
-# leading-zero A/B wire values (matches our Go SRP server behavior):
-# https://github.com/RustCrypto/PAKEs/pull/285
-srp = { git = "https://github.com/RustCrypto/PAKEs", package = "srp", rev = "5b3bd1f3a9d51121a698ffe5d6ecc33cafcd6413", default-features = false }
+srp = { version = "0.7.0-rc.3", default-features = false }
diff --git a/rust/crates/accounts/Cargo.toml b/rust/crates/accounts/Cargo.toml
index 0faf66b10b..4b1d59b29f 100644
--- a/rust/crates/accounts/Cargo.toml
+++ b/rust/crates/accounts/Cargo.toml
@@ -17,10 +17,7 @@ urlencoding = "2.1"
[dev-dependencies]
mockito = "1.6"
sha2 = "0.11"
-# Pinned to upstream commit that includes the padded-u interop fix for
-# leading-zero A/B wire values (matches our Go SRP server behavior):
-# https://github.com/RustCrypto/PAKEs/pull/285
-srp = { git = "https://github.com/RustCrypto/PAKEs", package = "srp", rev = "5b3bd1f3a9d51121a698ffe5d6ecc33cafcd6413", default-features = false }
+srp = { version = "0.7.0-rc.3", default-features = false }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
[lints.rust]
diff --git a/rust/crates/core/Cargo.toml b/rust/crates/core/Cargo.toml
index 4e64878bb7..a4bce8fbbd 100644
--- a/rust/crates/core/Cargo.toml
+++ b/rust/crates/core/Cargo.toml
@@ -22,10 +22,7 @@ subtle = "2"
md-5 = "0.11"
# SRP authentication (optional; enable via the `srp` feature)
-# Pinned to upstream commit that includes the padded-u interop fix for
-# leading-zero A/B wire values (fixes sporadic SRP verify-session failures
-# against our Go SRP server path): https://github.com/RustCrypto/PAKEs/pull/285
-srp = { git = "https://github.com/RustCrypto/PAKEs", package = "srp", rev = "5b3bd1f3a9d51121a698ffe5d6ecc33cafcd6413", default-features = false, optional = true }
+srp = { version = "0.7.0-rc.3", default-features = false, optional = true }
sha2 = { version = "0.11", optional = true }
# Randomness