From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76509 Path: news.gmane.org!not-for-mail From: Luca Capello Newsgroups: gmane.emacs.gnus.general Subject: Re: Configure the use of from header for epg signing. Date: Wed, 09 Feb 2011 13:03:46 +0100 Message-ID: <87tygd9zz1.fsf@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 1297253123 14551 80.91.229.12 (9 Feb 2011 12:05:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2011 12:05:23 +0000 (UTC) Cc: Daiki Ueno , Lars Ingebrigtsen , Daniel Dehennin , ding@gnus.org, rfrancoise@debian.org, Ashish SHUKLA To: 7797@debbugs.gnu.org Original-X-From: ding-owner+M24856@lists.math.uh.edu Wed Feb 09 13:05:17 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pn8nN-0000Ie-Cp for ding-account@gmane.org; Wed, 09 Feb 2011 13:05:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pn8mI-0002VX-8t; Wed, 09 Feb 2011 06:04:10 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pn8mG-0002VL-PE for ding@lists.math.uh.edu; Wed, 09 Feb 2011 06:04:08 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pn8mE-0004oR-FP for ding@lists.math.uh.edu; Wed, 09 Feb 2011 06:04:07 -0600 Original-Received: from [151.1.160.141] (helo=clio.genesi.eu) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pn8mC-0002y5-LV; Wed, 09 Feb 2011 13:04:04 +0100 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-Spam-Score: -1.1 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76509 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----- --=-=-=--