Daiki Ueno writes: > wahjava.ml@gmail.com (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. Works great. I'm able to send signed/encrypted mails using patched functions. :) Thanks -- Ashish SHUKLA “The camera is to the brush what Java is to assembly.” ("Sougata Santra", ".sig of Sir Debarshi Ray", 2010)