Skip to content

armgit / ente

Public Imported from GitHub
0

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

Share Salsa20 with crypto_secretbox

Manav Rathi2e7ec9c77c8d
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index f09b9014cd..f9f0902c4b 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -1715,7 +1715,7 @@ dependencies = [
"cipher 0.4.4",
"generic-array",
"poly1305 0.8.0",
- "salsa20 0.10.2",
+ "salsa20",
"subtle",
"zeroize",
]
@@ -2570,7 +2570,7 @@ dependencies = [
"mockito",
"rand_core 0.6.4",
"reqwest 0.12.28",
- "salsa20 0.11.0",
+ "salsa20",
"serde",
"serde_json",
"subtle",
@@ -8310,16 +8310,6 @@ dependencies = [
"cipher 0.4.4",
]
-[[package]]
-name = "salsa20"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f874456e72520ff1375a06c588eaf074b0f01f9e9e1aada45bd9b7954a6e42c"
-dependencies = [
- "cfg-if",
- "cipher 0.5.2",
-]
-
[[package]]
name = "same-file"
version = "1.0.6"
diff --git a/rust/crates/core/Cargo.toml b/rust/crates/core/Cargo.toml
index 24c9bb8fbd..d9fb9e0951 100644
--- a/rust/crates/core/Cargo.toml
+++ b/rust/crates/core/Cargo.toml
@@ -14,7 +14,7 @@ log.workspace = true
md-5.workspace = true
rand_core_06 = { package = "rand_core", version = "0.6.0", features = ["getrandom"] }
reqwest = { workspace = true, features = ["http2", "charset", "system-proxy", "json", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
-salsa20 = "0.11.0"
+salsa20 = "0.10.0"
serde.workspace = true
serde_json.workspace = true
subtle.workspace = true