summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorJohannes Kulick <kulick@hildensia.de>2012-12-17 15:41:16 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2013-02-19 10:10:08 +0000
commitffc885eb4183cd394fbf10654b68bf8c85c5fa59 (patch)
tree961b22ec73973c4fd1f6457afef96d5d637b6e1e /alot
parentadc5d6038e50a12a4fe3e5ee97340904295e1d40 (diff)
show UID information instead of KeyID
This reads nicer then a hash string. The format is: name (comment) <email>
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