summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask')
-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':