From: ueno Date: Sat, 29 Apr 2006 21:29:41 +0000 (+0000) Subject: * epg.el (epg-signature-to-string): Decode DN. X-Git-Tag: epg-0_0_2~86 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ac19de3136bb8dec6581b8ef49a3e04c3c656a9;p=elisp%2Fepg.git * epg.el (epg-signature-to-string): Decode DN. --- 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))