summaryrefslogtreecommitdiff
path: root/lisp/epg.el
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@unixuser.org>2010-05-07 17:10:28 +0900
committerDaiki Ueno <ueno@unixuser.org>2010-05-07 17:10:28 +0900
commit5146e84c0337eb8d9b207931fd41c692bd57f6b0 (patch)
treea23a6dc90ee00d34a3959baf2816aaaccefc0b80 /lisp/epg.el
parent86d21cc09b9268bfcb5a8890f61b2d2cc88c3e1f (diff)
downloademacs-5146e84c0337eb8d9b207931fd41c692bd57f6b0.tar.gz
Skip disabled PGP key when encrypting mail with Gnus.
* lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592). * lisp/gnus/mml2015.el (mml2015-epg-find-usable-key): Skip disabled key (Bug#5592).
Diffstat (limited to 'lisp/epg.el')
-rw-r--r--lisp/epg.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/epg.el b/lisp/epg.el
index 7791c1865a7..6e69ae09da4 100644
--- a/lisp/epg.el
+++ b/lisp/epg.el
@@ -137,7 +137,8 @@
'((?e . encrypt)
(?s . sign)
(?c . certify)
- (?a . authentication)))
+ (?a . authentication)
+ (?D . disabled)))
(defvar epg-new-signature-type-alist
'((?D . detached)