Secret keys should no longer be optional. This can lead to a lot of confusion when a key is generated.
Also look at the error generated when failing to decrypt. Perhaps add more info like n documents could not be decrypted because key has changed and the database should be deleted.
See #29
Secret keys should no longer be optional. This can lead to a lot of confusion when a key is generated. Also look at the error generated when failing to decrypt. Perhaps add more info like n documents could not be decrypted because key has changed and the database should be deleted.