diff options
author | drebs <drebs@leap.se> | 2013-02-19 14:36:44 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-02-19 14:36:44 -0300 |
commit | fdc02ee65765b86bd7b2b0cd456c5c2ceee334c5 (patch) | |
tree | 4a80c0c93387250f89b250459d82999076bc7b3d /__init__.py | |
parent | ade0cea87cc72d92250ca1a03e661d760699dbdc (diff) |
Add verification of existence of private key in Soledad.
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 2 |
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 |