From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Dehennin Newsgroups: gmane.emacs.devel Subject: Re: Gnus + GPG integration broken after revision 102412. Date: Tue, 21 Dec 2010 18:53:02 +0100 Message-ID: <87y67jau81.fsf@hati.baby-gnu.org> References: <868vzkbz8n.fsf@chateau.d.if> <86ei9bmlkm.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 1292957025 21290 80.91.229.12 (21 Dec 2010 18:43:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 18:43:45 +0000 (UTC) Cc: Daiki Ueno , emacs-devel@gnu.org To: wahjava.ml@gmail.com (Ashish SHUKLA) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 21 19:43:40 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 1PV7BQ-00077N-Gm for ged-emacs-devel@m.gmane.org; Tue, 21 Dec 2010 19:43:36 +0100 Original-Received: from localhost ([127.0.0.1]:52860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV6rt-0003Zy-PD for ged-emacs-devel@m.gmane.org; Tue, 21 Dec 2010 13:23:25 -0500 Original-Received: from [140.186.70.92] (port=59441 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV6Oo-0000px-0g for emacs-devel@gnu.org; Tue, 21 Dec 2010 12:53:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PV6Ol-0008So-QF for emacs-devel@gnu.org; Tue, 21 Dec 2010 12:53:21 -0500 Original-Received: from zion.baby-gnu.org ([82.233.222.74]:35673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PV6Ol-0008P9-KX for emacs-devel@gnu.org; Tue, 21 Dec 2010 12:53:19 -0500 Original-Received: from hati.asgardr.info ([192.168.1.2] helo=hati.baby-gnu.org) by zion.baby-gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1PV6OU-0002b3-Ru; Tue, 21 Dec 2010 18:53:02 +0100 Organisation: Dark Church of Emacs In-Reply-To: <86ei9bmlkm.fsf@chateau.d.if> (Ashish SHUKLA's message of "Tue, 21 Dec 2010 16:36:49 +0530") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 21 Dec 2010 13:23:23 -0500 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:133867 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable wahjava.ml@gmail.com (Ashish SHUKLA) writes: > Daiki Ueno writes: >> wahjava.ml@gmail.com (Ashish SHUKLA) writes: > >>> I'm having problem sending GPG signed mails in Emacs bzr revision 10246= 40. >>>=20 >>> Debugger entered--Lisp error: (error "Sign failed: ((exit))") >>> signal(error ("Sign failed: ((exit))")) > >> Could you try again with (setq epg-debug t) and provide the contents of >> buffer " *epg-debug*" (note that the first letter is a white space)? > #v+ > /usr/local/bin/gpg2 --no-tty --status-fd 1 --yes --use-agent --command-fd= 0 --armor --textmode --output /tmp/epg-output62957uOj --detach-sign -u 1F2= F8410762E5E74 > Warning: using insecure memory! > gpg: skipped "1F2F8410762E5E74": Unusable secret key > [GNUPG:] INV_SGNR 9 1F2F8410762E5E74 > gpg: signing failed: Unusable secret key > #v- > The above mentioned key id belongs to my GPG key which I revoked, but it's > still present in my system to decrypt old content encrypted with it. Any = ideas > how I can switch to other GPG user ID (the one which is used to sign this > email) ? > >>> I've tracked it down to change in lisp/gnus/mml2015.el in >>> r102412[1]. To be able to send GPG signed emails, I've to defun the >>> "mml2015-epg-sign" function From revision 102411 of >>> lisp/gnus/mml2015.el. > >> Cc'ed Daniel, who is the author of that change. Maybe you signed your email based on the default-key option in gpg.conf, my change use the sender address in addition to mml2015-signers. If you have more than one key for an e-mail address you may (setq mm-sign-option 'guided) to choose which key to use. Another option may be to remove that email address from the key, it will not be picked up for signing but still usable to decrypt? Regards. =2D-=20 Daniel Dehennin R=C3=A9cup=C3=A9rer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEAREKAAYFAk0Q6X4ACgkQb97L6l6P4FucsQCffAzJBUKC3Hu1jh7GU4mltR7N kWQAn3+tRksL1oz+RxhfJ620dZAvbAgS =R4xA -----END PGP SIGNATURE----- --=-=-=--