From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Capello Newsgroups: gmane.emacs.bugs Subject: bug#7797: Configure the use of from header for epg signing. Date: Wed, 09 Feb 2011 13:03:46 +0100 Message-ID: <87tygd9zz1.fsf__22558.9222195142$1297254049$gmane$org@gismo.pca.it> References: <87lj2kd1yj.fsf@gismo.pca.it> <87y66wn972.fsf@broken.deisui.org> <874o9lehkl.fsf@gismo.pca.it> <87r5cpow4q.fsf@gismo.pca.it> <877heghbc2.fsf@hati.baby-gnu.org> <87aaj0wozw.fsf@hati.baby-gnu.org> <87sjwku5zp.fsf@gnus.org> 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 1297254049 19416 80.91.229.12 (9 Feb 2011 12:20:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2011 12:20:49 +0000 (UTC) Cc: Daniel Dehennin , Daiki Ueno , ding@gnus.org, rfrancoise@debian.org, Lars Ingebrigtsen , Ashish SHUKLA To: 7797@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 09 13:20:44 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Pn92F-0002G9-SJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Feb 2011 13:20:44 +0100 Original-Received: from localhost ([127.0.0.1]:37796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn8oL-00045O-8U for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Feb 2011 07:06:17 -0500 Original-Received: from [140.186.70.92] (port=58061 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn8oF-00044b-Lg for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2011 07:06:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pn8oD-0000mu-V8 for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2011 07:06:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pn8oD-0000mq-Td for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2011 07:06:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pn8eQ-0004F6-4M; Wed, 09 Feb 2011 06:56:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <874o9lehkl.fsf@gismo.pca.it> Resent-From: Luca Capello Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 09 Feb 2011 11:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7797 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 7797-submit@debbugs.gnu.org id=B7797.129725251916259 (code B ref 7797); Wed, 09 Feb 2011 11:56:02 +0000 Original-Received: (at 7797) by debbugs.gnu.org; 9 Feb 2011 11:55:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pn8di-0004EC-T4 for submit@debbugs.gnu.org; Wed, 09 Feb 2011 06:55:19 -0500 Original-Received: from [151.1.160.141] (helo=clio.genesi.eu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pn8df-0004Du-Rc for 7797@debbugs.gnu.org; Wed, 09 Feb 2011 06:55:17 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by clio.genesi.eu (Postfix) with ESMTP id DBAA19EF83; Wed, 9 Feb 2011 13:03:58 +0100 (CET) X-Virus-Scanned: amavisd-new at genesi.eu Original-Received: from clio.genesi.eu ([127.0.0.1]) by localhost (clio.genesi.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kFt8W3hFBa+d; Wed, 9 Feb 2011 13:03:53 +0100 (CET) Original-Received: from mantissa.pca.it (ip-85-135.sn2.eutelia.it [83.211.85.135]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by clio.genesi.eu (Postfix) with ESMTPS id 30ACE9EF80; Wed, 9 Feb 2011 13:03:53 +0100 (CET) Original-Received: from gismo.pca.it (unknown [129.194.56.110]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mantissa.pca.it (Postfix) with ESMTPSA id 5C771221F5; Wed, 9 Feb 2011 13:03:52 +0100 (CET) Original-Received: by gismo.pca.it (Postfix, from userid 1000) id 8CF6D2C115; Wed, 9 Feb 2011 13:03:51 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 09 Feb 2011 06:56:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44015 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi there! I am sorry for being late, preparing/attending FOSDEM got all my time. On Fri, 28 Jan 2011 02:08:08 +0100, Daiki Ueno wrote: > Julien Danjou writes: > >>> It looks good to me. Since I'm thinking of another tweak related to >>> signing, I'll apply this patch soon unless anyone objects. >> >> Sorry, I got bitten by this today and fixed it without seeing this >> thread before. I've just fixed the same way Daniel did, so no harm done. >> :) > > Cool, thanks :) I just installed another tweak now (commit 5999faac), > which implements Luca's suggestion #2 at: > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7797#16 > > Testing would be appreciated. I backported your patch on top of your first one [1] and Julien's [2] and everything is working as expected, thanks: (setq mml2015-signers nil) =3D> Passphrase for D91D57A03BE9F36D Luca Capello : (setq mml2015-signers (list "3BE9F36D")) =3D> Passphrase for D91D57A03BE9F36D Luca Capello (setq mml2015-signers (list "9DDB992B")) =3D> No secret key for 9DDB992B; skip it? (y or n) y Passphrase for D91D57A03BE9F36D Luca Capello : (setq mml2015-signers (list "9DDB992B" "3BE9F36D")) =3D> No secret key for 9DDB992B; skip it? (y or n) y Passphrase for D91D57A03BE9F36D Luca Capello : [1] [2] FWIW I would have preferred Daniel's patch, the variable name was a bit clearer and more self-explicative, but never mind, what is important is that it is fixed! BTW, the description for `mml2015-signers' still needs =2D-8<---------------cut here---------------start------------->8--- diff --git a/lisp/mml2015.el b/lisp/mml2015.el index 1271168..df106bb 100644 =2D-- a/lisp/mml2015.el +++ b/lisp/mml2015.el @@ -116,7 +116,7 @@ Whether the passphrase is cached at all is controlled by :type 'integer) =20 (defcustom mml2015-signers nil =2D "A list of your own key ID which will be used to sign a message. + "A list of your own key ID(s) which will be used to sign a message. If set, it overrides the setting of `mml2015-sign-with-sender'." :group 'mime-security :type '(repeat (string :tag "Key ID"))) =2D-8<---------------cut here---------------end--------------->8--- Apart from the above, given that all the patches have been included in the emacs tree, this bug should be closed, I leave this to you ;-) Thx, bye, Gismo / Luca --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJNUoKlAAoJENkdV6A76fNtpOoP/jLkWeNZvb51on9AUKzpGDIc gB/JLiMWtO8XUZAjPDgClCjnOu5VKtn3wyeDA4cx+AaMQdKQm393ghYl9/frqmGh 2WzpW8oSIdECRxFiemjY5vQKR0RZqqkKfDlv9xTkZ9zTyFw7NDRBKksQnC5AttTN JFR4U4jgS0gpsKI7b84ecmrCA+w7hNMSMSx8d5EcpXixKoDsieHrDPLInLAuXf+4 IQOewM5PECTxDEysLWLp4GM7D30ZOu+Fhv3g74mngGGyT2dGkjIMnA6VPKgEH/3a uvSU69Jd5QhYsMC6fCp4CA8Yry4BtHffBvjCgU4JmGahGfvo5Ex41zvO9IgTRTRS ZWM1m+UZmeldc5Fs8cTkMDUl0VSqwh4XGhh3N2lTdNI37AtUp/rz+R7YLBsP+7iT KsOpVawdDZgoFMKn6j2gzNW0TW5GfbvxvWRuGy8/4S3C5K0RIxhbcAyFjkNgimt2 MxEOYqXhQTVuikKBzrRS+6VHDdu0Xd5VTfv9xrXavXq2EV/lGjoGG76+FoeL5iPw BksHyXZCXjchxb4+8gDiE3Tg459j/OY5GJ2V4nqnNIkbEJvHiS+TTV6xDzNSO80K Fg+mauheEyA0x1KNGSHv7QGzdcvxWPKJyFy4qPrhR3nZOBQPO43NthQc0aOsFK1E PcWu7HnoNhinzK8Z1IGm =BJtj -----END PGP SIGNATURE----- --=-=-=--