From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wahjava.ml@gmail.com (Ashish SHUKLA) Newsgroups: gmane.emacs.devel Subject: Re: Gnus + GPG integration broken after revision 102412. Date: Wed, 22 Dec 2010 12:26:30 +0530 Organization: alt.religion.emacs Message-ID: <86sjxq5m8x.fsf@chateau.d.if> References: <868vzkbz8n.fsf@chateau.d.if> <86ei9bmlkm.fsf@chateau.d.if> <86hbe679gs.fsf@chateau.d.if> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1293001020 560 80.91.229.12 (22 Dec 2010 06:57:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2010 06:57:00 +0000 (UTC) Cc: Daniel Dehennin , emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 22 07:56:55 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PVId5-0006XC-6D for ged-emacs-devel@m.gmane.org; Wed, 22 Dec 2010 07:56:55 +0100 Original-Received: from localhost ([127.0.0.1]:58094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVId4-0003FO-Ek for ged-emacs-devel@m.gmane.org; Wed, 22 Dec 2010 01:56:54 -0500 Original-Received: from [140.186.70.92] (port=42000 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVIct-0003Ec-6s for emacs-devel@gnu.org; Wed, 22 Dec 2010 01:56:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVIcq-0003Cz-W7 for emacs-devel@gnu.org; Wed, 22 Dec 2010 01:56:43 -0500 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:41356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVIcq-0003Cq-TG for emacs-devel@gnu.org; Wed, 22 Dec 2010 01:56:40 -0500 Original-Received: by qyk7 with SMTP id 7so5532502qyk.0 for ; Tue, 21 Dec 2010 22:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-fingerprint:x-attribution:organisation :date:in-reply-to:message-id:user-agent:face:mime-version :content-type; bh=Xc2PMC2+nWmgzv/jxjKFEQw/kRWtjEzZQaT7WmmbNQw=; b=PcQ+dAkWiX4pfOM6HnaxVUAsQKQrH9peC5bYC2d1IVteGjAeacn+S9H1hE0CjFs2ZL IT0BLBqYFokohsHN7S15iTDPW6KOtbr1m58lvNWFMI3i7wVSk7tbbjKPs17xoexBfink ojHTKCp+1YuA9ERcpD+Z2GhWDJwA3iZavUzlM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-fingerprint:x-attribution :organisation:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; b=cK2n9Jn53WHYPv4fx9uQt3Fkp+J4qg7u0+LYVaGLhOYUuz5B1q9hpS/T/JsKFTdf6b 825rUaExs6X9Cb2Qg6ltoOSkuXhxo2zeKE//EupA9cO+g8FStjw8lGE6x2byQETfatLz 2WO2FbWfSVeJRwssy531Lr8ZCFISLojdVrbLU= Original-Received: by 10.224.10.193 with SMTP id q1mr6034047qaq.313.1293001000126; Tue, 21 Dec 2010 22:56:40 -0800 (PST) Original-Received: from chateau.d.if ([122.163.155.103]) by mx.google.com with ESMTPS id g28sm3551739qck.1.2010.12.21.22.56.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Dec 2010 22:56:39 -0800 (PST) Original-Received: from chateau.d.if (chateau.d.if [IPv6:::1]) by chateau.d.if (Postfix) with ESMTP id 842672D63E0; Wed, 22 Dec 2010 12:26:30 +0530 (IST) X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 12:25:37 up 11:00, 8 users, load average: 0.84, 0.72, 0.65 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: GNU/Linux/Linux 2.6.36-ARCH/x86_64 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: alt.religion.emacs In-Reply-To: (Daiki Ueno's message of "Wed, 22 Dec 2010 14:21:45 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133894 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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'. >>=20 >>> Do you see 1F2F8410762E5E74 key with: >>=20 >>> (mml2015-epg-find-usable-key >>> (epg-list-keys (epg-make-context 'OpenPGP) "1F2F8410762E5E74" t) >>> 'sign) >>=20 >> Yes, I see that key. And, please note that it's not expired, it's revoke= d. > Aha, then it's indeed a bug of mml2015-epg-*. Please try the attached > patch. > =3D=3D=3D 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 function= s. :) Thanks =2D-=20 Ashish SHUKLA =E2=80=9CThe camera is to the brush what Java is to assembly.=E2=80=9D ("So= ugata Santra", ".sig of Sir Debarshi Ray", 2010) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAEBCgAGBQJNEaEeAAoJEMdGz6nnT6SwtrIP/3hJKK6un/4OtXdyacgqD+9z WQpQlDzSO3qnuQJ8SCPn0YAP6OUXD1B2+iLtBzJfyF0lMhEpNg6zL1w5EI4PnGC2 4qIUowEguXzM1u9FWrtMX8Z4Zja14H1HM0RojxvU0XikRyptqqmDfSs3FJfyC3mG EaLdig2gsvjMvhMVCNACEJTDsduefxU6hYoYPkwabCVExxYOLtkYuas9B0WzS/iw aaxvH0V7j+px0IfxJ0gku3ZJvlWZfbPMjVGRxmlL7iAS1UyTEieMbtk4F3cI/qkx H/kJcqLejWq8iS5xVqlGFRRgnt1DGMBAnabCjNvxp2tbQKKQ8KxydVE0+kZ3TBDQ 7Ib2+TWd2n3Us9V9Os9o24sVXd2uVNBXlYiFigxnQy5A42U/vxMJMaE9cCnrVd++ x6KDX6NJGDvsAieYQULO/kiKX+iSN14eneaX599YHr5ctdduKmzLCdcTYBwCyRl9 Ny2FxRr8qiJXsN4Z508psuW7/ZuK+o1JHbukjW9KP7FpYRL5vDCmmZMZxO3+Z8L5 Cf9C7nCSQbND0h2KUCpWLZ5M3If4N6hkvojumL9dpz0i3n8AaR8apEbkJvZ6Sg/H QrB78FJXo7seOxn10WZlpO8/3oGj8T3asEciHWujKUGqJU96W6nh+0e/h22GjrI9 w9adjKGo+AAL/CNPB0de =QAjy -----END PGP SIGNATURE----- --=-=-=--