summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index ad7dbbcf..c9c1bedf 100644
--- a/__init__.py
+++ b/__init__.py
@@ -145,7 +145,7 @@ class Soledad(object):
"""
# TODO: verify if we have the corresponding private key.
try:
- self._gpg.find_key_by_email(self._user_email)
+ self._gpg.find_key_by_email(self._user_email, secret=True)
return True
except LookupError:
return False