summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-12-20 16:46:06 -0200
committerRuben Pollan <meskio@sindominio.net>2017-12-03 20:43:34 +0100
commitd16472f0e74c584c194d96ec97f6fe1d37b38c43 (patch)
tree1f425bedd116df4caae25bc06014cd98d0c68659 /src/leap
parent026de868a3f301abea2671dfd7d858e73f3bb755 (diff)
[bug] change edit-key to use fingerprint as param
python-gnupg doesn't accept address as parameter for --edit-key
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/keymanager/openpgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/keymanager/openpgp.py b/src/leap/bitmask/keymanager/openpgp.py
index 984e1e68..e667fd97 100644
--- a/src/leap/bitmask/keymanager/openpgp.py
+++ b/src/leap/bitmask/keymanager/openpgp.py
@@ -701,7 +701,7 @@ class OpenPGPScheme(object):
keys = [seckey]
try:
with TempGPGWrapper(keys, self._gpgbinary) as gpg:
- result = yield from_thread(gpg.extend_key, seckey.address,
+ result = yield from_thread(gpg.extend_key, seckey.fingerprint,
validity=validity,
passphrase=passphrase)
if result.status == 'ok':