@@ -14,6 +14,9 @@ dovecotlinks:
1414 mail_crypt_global_keys :
1515 hash : global-keys
1616 text : " Mail Crypt Plugin: Global Keys"
17+ mail_crypt_folder_keys :
18+ hash : folder-keys
19+ text : " Mail Crypt Plugin: Folder Keys"
1720 mail_crypt_ec_key :
1821 hash : elliptic-curve-ec-key
1922 text : " Mail Crypt Plugin: Elliptic Curve (EC) Keys"
@@ -272,14 +275,15 @@ crypt_global_private_key main {
272275}
273276```
274277
275- ### Folder Keys Mode
278+ ### Folder Keys
276279
277- In this mode, for the user a key pair is generated. Then for each folder a key
278- pair is generated. This folder is encrypted using the user's key pair. A user
279- can have more than one key pair but only one can be active.
280+ In this mode, a key pair is generated for the user. Then for each folder a key
281+ pair is generated. This folder is encrypted using the user key. A user
282+ can have more than one key pair for reading, but only one can be active for
283+ writing.
280284
281285* [[ setting,crypt_user_key_curve]] must be set.
282- * [[ setting,mail_attribute]] must be set, as is is used to store the keys.
286+ * [[ setting,mail_attribute]] must be set, as it is used to store the keys.
283287
284288#### Unencrypted User Keys
285289
@@ -303,7 +307,7 @@ crypt_user_key_curve = secp521r1
303307
304308#### Encrypted User Keys
305309
306- In this version of the folder keys mode, the users private key is stored
310+ In this version of the folder keys mode, the user's private key is stored
307311encrypted on the server.
308312
309313Example config for mandatory encrypted folder keys with Maildir:
0 commit comments