This PR contains implementation for password protected (optional) encryption using SQLCipher. The password is going to live on user's keyring for now. Future plans involve setting own password without keyring input. If app is ran as a flatpak Secret portal is used instead of direct access to the keyring. Db is backed up upon encryption (or when removing encryption) and is kept for 30 days.
I still need to do a bit more testing:
- test on Fedora (GNOME)
- test flatpak on Fedora
- test on Pop!_OS (Cosmic)
- test flatpak on Pop!_OS (should be working the same as flatpak on Fedora, but just to be sure).
This PR contains implementation for password protected (optional) encryption using SQLCipher. The password is going to live on user's keyring for now. Future plans involve setting own password without keyring input. If app is ran as a flatpak Secret portal is used instead of direct access to the keyring. Db is backed up upon encryption (or when removing encryption) and is kept for 30 days.
I still need to do a bit more testing:
- [x] test on Fedora (GNOME)
- [x] test flatpak on Fedora
- [ ] test on Pop!_OS (Cosmic)
- [x] test flatpak on Pop!_OS (should be working the same as flatpak on Fedora, but just to be sure).