drift icon indicating copy to clipboard operation
drift copied to clipboard

Encryption related documentation seems to be irrelevant

Open shivamdev-lgtm opened this issue 5 years ago • 3 comments

I am trying to keep my app's database encrypted, however I found the documentation related to encryption to be quite irrelevant for me. It tells to remove the moor_flutter dependency, but I never added any such dependency and it suggests me to replace the use of FlutterExecuter with EncryptedExecuter but I never used that class in my code base. I would like some guidance in what am I missing?

shivamdev-lgtm avatar Jul 14 '20 13:07 shivamdev-lgtm

Yeah, those docs are a bit outdated. When using the encrypted version of moor, you can drop the moor_ffi dependency and replace VmDatabase with EncryptedExecutor.

In the future (hopefully soon) we will have an encrypted version of moor_ffi that doesn't require so much work.

simolus3 avatar Jul 14 '20 17:07 simolus3

Could you give me a list of key points to highlight when it comes to encryption? I'm new to the project but I'd like to help.

velia-vito avatar Oct 25 '21 04:10 velia-vito

The current docs on how to use an encrypted version of a native database are here. Does that help?

simolus3 avatar Oct 25 '21 08:10 simolus3