core: encrypt chat database (#988)

* core: encrypt chat database

* check DB key error on start

* function to encrypt database

* encrypt database command

* decrypt, rekey

* remove rekey, refactor

* test for db encryption/decryption

* update simplexmq
This commit is contained in:
Evgeny Poberezkin
2022-08-31 18:07:34 +01:00
committed by GitHub
parent 5e5c851173
commit 3613fc953e
11 changed files with 167 additions and 22 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ extra-deps:
# - simplexmq-1.0.0@sha256:34b2004728ae396e3ae449cd090ba7410781e2b3cefc59259915f4ca5daa9ea8,8561
# - ../simplexmq
- github: simplex-chat/simplexmq
commit: c66a7e371f4e9ac79237a7042c76426a6a068899
commit: 26d149d17c0ceb5cc17d0fd1c1357d95bd47e549
# - ../direct-sqlcipher
- github: simplex-chat/direct-sqlcipher
commit: 34309410eb2069b029b8fc1872deb1e0db123294