-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Milestone
Description
We want to encrypt the mail storage of dovecot. The easiest way seems to be the mailcrypt plugin. I believe, we would need folder keys, which are user specific. The example supplies the password directly.
The main question is how we integrate this with our recovery tokens #83. By now #85 encrypts the user password in a sealed crypto box. If an attacker gains access to recovery token and user database, they could recover user passwords, which is not ideal. User sadly tend to re-use passwords.
I think, it would be better to get userdb_mail_crypt_private_key from the database. We would then need to store one copy of the key encrypted with the user password and another encrypted with the recovery token.
Metadata
Metadata
Assignees
Labels
No labels