diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-11-15 23:12:22 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-10-08 11:45:29 -0500 |
commit | 01b8ff8391b0b4206ad59d4f6b9c0f5cd50cafbc (patch) | |
tree | d668f4db17e451a692c5a68e69d63fc84c1dcddd /tests | |
parent | 4a6711865b154152d4978e8316727f4902de3e02 (diff) |
crypto: Use session-key to decrypt messages if present in the index
notmuch caches the OpenPGP session keys if configured to do so. See
index.decrypt on:
https://notmuchmail.org/manpages/notmuch-config-1/
Using the cached session key decryption of messages can be done without
the need of having the private OpenPGP key. There is some speed up on
decryption, mostly notable on long encrypted threads.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/db/message_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/db/message_test.py b/tests/db/message_test.py index caa70a44..29ed5ee6 100644 --- a/tests/db/message_test.py +++ b/tests/db/message_test.py @@ -57,6 +57,9 @@ class MockNotmuchMessage(object): def get_tags(self): return self.mock_tags + def get_properties(self, prop, exact=False): + return [] + class TestMessage(unittest.TestCase): |