evoluhq / evolu

A local-first platform designed for privacy, ease of use, and no vendor lock-in
https://evolu.dev
MIT License
1.32k stars 49 forks source link

Add DB file encryption #291

Open steida opened 9 months ago

steida commented 9 months ago

For Electron, it's actually necessary for Trezor.

steida commented 9 months ago

And for ReactNative, use sqlcipher https://github.com/OP-Engineering/op-sqlcipher

negue commented 7 months ago

Do you have simple draft how / what key would be used for the db file and so on - curious how this is planned / would work once implemented

For Electron

Would it be possible for all other Browser as well?

steida commented 7 months ago

@negue Probably yes, I need to investigate it.

steida commented 7 months ago

Soon.

https://sqlite.org/forum/forumpost/20b2639ec5 https://utelle.github.io/SQLite3MultipleCiphers/docs/installation/install_overview/#webassembly https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.8.3

negue commented 7 months ago

Oh I wanted to mention the turso article but you went 3 steps ahead 😬

I searched for a few sqlite wasm projects - but somehow https://github.com/utelle/SQLite3MultipleCiphers never came up

thats awesome (both the link and that it might be added to evolu soon ™️ )