keystore issueshttps://git.autistici.org/id/keystore/-/issues2023-08-29T10:32:08Zhttps://git.autistici.org/id/keystore/-/issues/5Implement protocol version check in dovecot-keylookupd2023-08-29T10:32:08ZaleImplement protocol version check in dovecot-keylookupdA change in the major dict protocol version (see #4) caused dovecot-keylookupd to silently fail with recent Dovecot clients, due to an error in parsing the L ("lookup") command now that it has additional fields.
Dovecot-keylookupd shoul...A change in the major dict protocol version (see #4) caused dovecot-keylookupd to silently fail with recent Dovecot clients, due to an error in parsing the L ("lookup") command now that it has additional fields.
Dovecot-keylookupd should parse the H ("hello") line and reject clients with versions it does not support.https://git.autistici.org/id/keystore/-/issues/3Don't lose keys when two users are logged in at the same time2022-12-19T19:29:44ZaleDon't lose keys when two users are logged in at the same timeIf the first user logs out, the Close() call will cause us to lose the key, disrupting the other session.If the first user logs out, the Close() call will cause us to lose the key, disrupting the other session.https://git.autistici.org/id/keystore/-/issues/1Disable mail_crypt when a user has no keys2018-11-20T21:25:41ZaleDisable mail_crypt when a user has no keysIf a user has no keys, instead of returning a noMatch (N) dict response as we do now, we should probably disable the mail_crypt plugin altogether, or we get this error:
> get_public_key(INBOX) failed: mailbox_attribute_get(INBOX, /share...If a user has no keys, instead of returning a noMatch (N) dict response as we do now, we should probably disable the mail_crypt plugin altogether, or we get this error:
> get_public_key(INBOX) failed: mailbox_attribute_get(INBOX, /shared/vendor/vendor.dovecot/pvt/crypt/active) failed: Mailbox attributes not enabled (in reply to end of DATA command))
which is caused by mail_crypt being enabled and the mail_crypt_global_\* parameters being unset. To disable a plugin, I think we must instead return a valid response and set mail_plugins to exclude mail_crypt (or so the [dovecot docs](https://wiki2.dovecot.org/Plugins) say).