Skip to content

armgit / ente

Public Imported from GitHub
0

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

Merge branch 'rust-crypto' into rust-core-impl

Prateek Sunalb6807fd647fe
diff --cc rust/core/Cargo.toml
index 480a1ea9db,d69b4df4a9..8067817452
--- a/rust/core/Cargo.toml
+++ b/rust/core/Cargo.toml
@@@ -55,11 -49,11 +55,14 @@@ default = ["blob-require-final-tag"
#
# Example:
# ente-core = { version = "0.0.1", features = ["srp"] }
-srp = ["dep:srp", "dep:sha2", "dep:getrandom"]
+srp = ["dep:srp", "dep:sha2"]
+
+# Enforce TAG_FINAL on blob decrypt (reject non-final chunks).
+blob-require-final-tag = []
+ # Enforce TAG_FINAL on blob decrypt (reject non-final chunks).
+ blob-require-final-tag = []
+
# No features needed - pure Rust is always enabled
[lints.rust]