Encrypt databases used by the Rust SDK.

The passphrase is stored in the SessionData, so that a Session created by Element Android can be restored.
Existing sessions will have a null passphrase and will continue to work.
New session will use a passphrase, only on Nightly and Debug build for now.
This commit is contained in:
Benoit Marty
2024-01-18 11:48:17 +01:00
parent f9c1892f2f
commit 3a91f830da
9 changed files with 123 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
Encrypt databases used by the Rust SDK on Nightly and Debug builds.