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 d04f76e8cf
commit 4e232f6e41
9 changed files with 123 additions and 3 deletions

1
changelog.d/2219.misc Normal file
View file

@ -0,0 +1 @@
Encrypt databases used by the Rust SDK on Nightly and Debug builds.