From 3ac19de3136bb8dec6581b8ef49a3e04c3c656a9 Mon Sep 17 00:00:00 2001 From: ueno Date: Sat, 29 Apr 2006 21:29:41 +0000 Subject: [PATCH] * epg.el (epg-signature-to-string): Decode DN. --- ChangeLog | 1 + epg.el | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f0b649b..d941792 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ creation-time, expiration-time, pubkey-algorithm, digest-algorithm. (epg-process-sentinel): Abolished. + (epg-signature-to-string): Decode DN. 2006-04-29 Daiki Ueno diff --git a/epg.el b/epg.el index 672a7a9..bcf3675 100644 --- a/epg.el +++ b/epg.el @@ -168,7 +168,7 @@ compress-algorithm) "Return a context object." (cons 'epg-context - (vector protocol armor textmode include-certs + (vector (or protocol 'OpenPGP) armor textmode include-certs cipher-algorithm digest-algorithm compress-algorithm #'epg-passphrase-callback-function #'epg-progress-callback-function @@ -594,7 +594,11 @@ This function is for internal use only." "No public key for ")) (epg-signature-key-id signature) (if user-id - (concat " from " user-id " ") + (concat " from " + (if (stringp user-id) + user-id + (epg-decode-dn user-id)) + " ") "") (if (epg-signature-validity signature) (format "(trust %s)" (epg-signature-validity signature)) -- 1.7.10.4