Commit Graph

6 Commits

Author SHA1 Message Date
Jonas Winkler 75beb91791 added options to change database backend 2018-07-15 13:40:38 +02:00
Daniel Quinn d37aabfb06 Put imports at the top 2018-06-17 20:14:46 +01:00
Erik Arvstedt b3624f6375 Improve password check
1. Fail when the db contains encrypted docs and no password is set.
   Previously, this case wasn't detected.

2. Exit with an error instead of showing warnings.
   This ensures that we never store docs with different encryption passwords.
2018-06-17 20:07:32 +01:00
Daniel Quinn a1cb67c4ce Don't check changed passphrase if no passphrase set 2018-05-28 12:58:28 +01:00
Daniel Quinn 52b0249d71 Don't run document checks if table doesn't exist yet 2018-05-28 12:58:28 +01:00
Daniel Quinn f72fa43e86 Add check for changed password
These tests are incomplete, but I have no idea how to write the other
half.
2018-05-28 12:58:28 +01:00