matrix-dart-sdk/lib
The one with the braid 1adbac31ae
feat: add SQfLite encryption helper
This patch introduces a helper class for SQfLite encryption related operations.

Most matrix clients will encrypt their sqlite database at rest. Since
this is a quite fragmented task using the Flutter sqlite ecosystem, this
helper aims to simplify some more complex operations.

It in particular helps with the following tasks :

- loading the correct shared objects / dynamic libraries for sqlcipher
- check whether a database is encrypted
- migrate an unencrypted SQLite database to SQLCipher
- apply the cipher to a database while opening it and ensure it loads

This code is not exactly matrix related, though presumably any matrix
client will use parts of it.

Possible regressions :

- `package:sqlite3` became a direct dependency. As of now it already was a
  transitive dependency of the SDK itself.

Signed-off-by: The one with the braid <info@braid.business>
2024-01-24 10:43:46 +01:00
..
encryption refactor: Use maxnumberofotk from olm instead hardcode 100 2024-01-15 13:56:54 +01:00
msc_extensions fix: don't delete the dehydrated device before we are sure the keys got saved 2023-11-28 11:02:43 +01:00
src feat: add SQfLite encryption helper 2024-01-24 10:43:46 +01:00
encryption.dart refactor: nullsafe encryption 2021-09-30 12:58:37 +00:00
matrix.dart feat: add SQfLite encryption helper 2024-01-24 10:43:46 +01:00