[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus + GPG integration broken after revision 102412.
From: |
Daiki Ueno |
Subject: |
Re: Gnus + GPG integration broken after revision 102412. |
Date: |
Wed, 22 Dec 2010 14:21:45 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
address@hidden (Ashish SHUKLA) writes:
>> It looks strange that mml2015 passes the expired key to gpg, since
>> `mml2015-epg-sign' is expected to reject such a key through
>> `mml2015-epg-find-usable-key'.
>
>> Do you see 1F2F8410762E5E74 key with:
>
>> (mml2015-epg-find-usable-key
>> (epg-list-keys (epg-make-context 'OpenPGP) "1F2F8410762E5E74" t)
>> 'sign)
>
> Yes, I see that key. And, please note that it's not expired, it's revoked.
Aha, then it's indeed a bug of mml2015-epg-*. Please try the attached
patch.
=== modified file 'lisp/gnus/mml2015.el'
--- lisp/gnus/mml2015.el 2010-11-17 22:15:24 +0000
+++ lisp/gnus/mml2015.el 2010-12-22 05:16:41 +0000
@@ -957,7 +957,7 @@
(mapcar
(lambda (signer)
(setq signer-key (mml2015-epg-find-usable-key
- (epg-list-keys context signer t)
+ (epg-list-keys context signer)
'sign))
(unless (or signer-key
(y-or-n-p
@@ -1068,7 +1068,7 @@
(mapcar
(lambda (signer)
(setq signer-key (mml2015-epg-find-usable-key
- (epg-list-keys context signer
t)
+ (epg-list-keys context signer)
'sign))
(unless (or signer-key
(y-or-n-p
Since I'm personally not confident if the fix is the right way, the
actual fix will be done after asking the gpg list.
Regards,
--
Daiki Ueno