summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
Diffstat (limited to 'alot')
-rw-r--r--alot/buffers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/buffers.py b/alot/buffers.py
index bd8a9e82..8777e246 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -149,7 +149,7 @@ class EnvelopeBuffer(Buffer):
description = 'Yes'
sign_key = self.envelope.sign_key
if sign_key is not None and len(sign_key.subkeys) > 0:
- description += ', with key ' + sign_key.subkeys[0].keyid
+ description += ', with key ' + sign_key.uids[0].uid
lines.append(('GPG sign', description))
if self.envelope.encrypt:
@@ -167,7 +167,7 @@ class EnvelopeBuffer(Buffer):
else:
description += ', '
if len(key.subkeys) > 0:
- description += key.subkeys[0].keyid
+ description += key.uids[0].uid
lines.append(('GPG encrypt', description))
# add header list widget iff header values exists