summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-10-06 12:57:24 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-10-06 12:57:24 -0300
commit5a18b7f70a03576ade7a1023a498fe58db703ea0 (patch)
tree585ad1a1436ed83e1192e1498bcce59e96981b6b
parent5bb6f18fe439b8edf99835e7a1f7030878edfbe0 (diff)
parentcd5d18ae0ef5286b3a9f12705256d68017c6ad1e (diff)
Merge remote-tracking branch 'meskio/feature/keymanager_api' into develop
-rw-r--r--src/leap/mail/imap/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/fetch.py b/src/leap/mail/imap/fetch.py
index 0a97752..9cd2940 100644
--- a/src/leap/mail/imap/fetch.py
+++ b/src/leap/mail/imap/fetch.py
@@ -433,7 +433,7 @@ class LeapIncomingMail(object):
or msg.get_content_type() == MULTIPART_SIGNED)):
_, senderAddress = parseaddr(fromHeader)
try:
- senderPubkey = self._keymanager.get_key_from_cache(
+ senderPubkey = self._keymanager.get_key(
senderAddress, OpenPGPKey)
except keymanager_errors.KeyNotFound:
pass