Comments (4)
Now that moor 1.7 is released, you can try out an encrypted version by following the instructions at https://github.com/simolus3/moor/tree/master/extras/encryption. The EncryptedExecutor
has a password
parameter in its constructor which will be used to encrypt the database. As we just change the underlying database engine, all features supported by moor_flutter
are supported on that version as well.
As always, if you have any questions or problems, feel free to reply here or open another issue, thanks!
from drift.
On the develop
branch, we now have the encrypted_moor
library that supports encryption in the extras/encryption
folder. It uses sqflite_sqlcipher as implementation. That library isn't on pub, so the moor bindings probably won't be either - the folder contains instructions on how to use the library.
The encrypted version won't work with the current moor version (1.6), but it will work with the next version. I'll keep the library updated to always work with the latest version of moor after that, and hopefully write some integration tests to verify that soon.
As an alternative, when dart:ffi
gets stable and we can ship our own bindings, using SQLCipher might be a viable alternative in the future.
from drift.
This would depend on the underlying database engine. Moor currently uses the sqflite package internally, which doesn't support encryption.
There are some forks which seem to support encryption, but I'm not sure if any of them works well enough. In theory, all that needs to be done is changing this file to use such fork.
from drift.
On the
develop
branch, we now have theencrypted_moor
library that supports encryption in theextras/encryption
folder. It uses sqflite_sqlcipher as implementation. That library isn't on pub, so the moor bindings probably won't be either - the folder contains instructions on how to use the library.
The encrypted version won't work with the current moor version (1.6), but it will work with the next version. I'll keep the library updated to always work with the latest version of moor after that, and hopefully write some integration tests to verify that soon.As an alternative, when
dart:ffi
gets stable and we can ship our own bindings, using SQLCipher might be a viable alternative in the future.
Looking forward for the encryption feature.
from drift.
Related Issues (20)
- The non-abstract class is missing implementation HOT 2
- JSONB (JSON) and UUID column support? [.drift] [Postgres] HOT 1
- Problems with Postgres column types / compatibility in Table definitions HOT 1
- Automatically synchronize data to the server HOT 8
- Unable to handle multiple same db data class retrival at the same time. HOT 2
- Nested queries got laggy on UI HOT 7
- BLOB Primary key fails using equals expression HOT 3
- Flutter windows desktop app freezes when bulk operation in database taking place HOT 4
- Documentation issue: Custom row classes HOT 4
- Unknown issue on Safari, with Potential route of Discovery HOT 4
- ON CONFLICT UPDATE not working on drift files HOT 5
- Could not able to use `WITH` & `AS` keyword together in `.drfit` file HOT 2
- "Operation was cancelled" error HOT 6
- Wrong link in the docs which lead to 404 HOT 1
- Add coverage ignore for generated files HOT 2
- My lord, serious lock problem when try accessing data while updating it. HOT 6
- How do I SUM column in join? HOT 2
- When using PgTypes cannot generate a dialect for Sqllite. HOT 2
- SQLite file is modified with select statements HOT 5
- Correct declination for tables ending on "y" / "ies" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drift.