diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-12-08 01:23:53 -0500 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2017-12-08 08:07:53 -0400 |
commit | e4890b5bf9e2260b36bcc36ddb77d8e97e2abe7d (patch) | |
tree | 83c71b87a02c656aee698a5e10700a4ff6e12419 /notmuch-client.h | |
parent | 798aa789b5d117cf11697bc97dd982bd5a2c2ac8 (diff) |
crypto: new decryption policy "auto"
This new automatic decryption policy should make it possible to
decrypt messages that we have stashed session keys for, without
incurring a call to the user's asymmetric keys.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r-- | notmuch-client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index 50b69e35..0985a7b0 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -415,7 +415,9 @@ struct mime_node { /* Construct a new MIME node pointing to the root message part of * message. If crypto->verify is true, signed child parts will be * verified. If crypto->decrypt is NOTMUCH_DECRYPT_TRUE, encrypted - * child parts will be decrypted. If the crypto contexts + * child parts will be decrypted using either stored session keys or + * asymmetric crypto. If crypto->decrypt is NOTMUCH_DECRYPT_AUTO, + * only session keys will be tried. If the crypto contexts * (crypto->gpgctx or crypto->pkcs7) are NULL, they will be lazily * initialized. * |