summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/keymanager
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-04-10 18:45:17 -0300
committerRuben Pollan <meskio@sindominio.net>2017-12-03 20:43:36 +0100
commit873012e432cd6125c3174a2bc6ef9498166d94ea (patch)
treed86747a9ada4257bf26af054545dfe0bdf70a7e3 /src/leap/bitmask/keymanager
parent425c22591e379a314dd9eae80510223a12ddea67 (diff)
[bug] specify _get_inactive_private_keys as a private method
Diffstat (limited to 'src/leap/bitmask/keymanager')
-rw-r--r--src/leap/bitmask/keymanager/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/keymanager/__init__.py b/src/leap/bitmask/keymanager/__init__.py
index 9240b8a5..b6c36d3c 100644
--- a/src/leap/bitmask/keymanager/__init__.py
+++ b/src/leap/bitmask/keymanager/__init__.py
@@ -208,7 +208,7 @@ class KeyManager(object):
raw_key, address=address, validation=validation_level)
@defer.inlineCallbacks
- def get_inactive_private_keys(self):
+ def _get_inactive_private_keys(self):
"""
Return all inactive private keys bound to address, that are
stored locally.
@@ -555,7 +555,7 @@ class KeyManager(object):
result = yield _decrypt(keys)
except keymanager_errors.DecryptError as e:
verify_key, active_key = keys
- inactive_keys = yield self.get_inactive_private_keys()
+ inactive_keys = yield self._get_inactive_private_keys()
result = yield decrypt_with_inactive_keys(inactive_keys,
verify_key, e)
defer.returnValue(result)