From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.bugs Subject: bug#7797: 24.0.50; [EasyPG/Gnus] always pick up the first key from `gpg --list-key $SENDER` Date: Fri, 07 Jan 2011 11:04:03 +0900 Message-ID: References: <874o9lehkl.fsf@gismo.pca.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1294367067 25342 80.91.229.12 (7 Jan 2011 02:24:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Jan 2011 02:24:27 +0000 (UTC) Cc: 7797@debbugs.gnu.org, rfrancoise@debian.org To: Luca Capello Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 07 03:24:22 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 1Pb206-0003Bk-Co for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Jan 2011 03:24:22 +0100 Original-Received: from localhost ([127.0.0.1]:35977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb205-0000Va-Sp for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jan 2011 21:24:21 -0500 Original-Received: from [140.186.70.92] (port=58618 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pb1zh-0000Be-Ob for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 21:23:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pb1zg-0000Op-MW for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 21:23:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pb1zg-0000Ok-L0 for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2011 21:23:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pb1Ze-0002Ih-H8; Thu, 06 Jan 2011 20:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno 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: Fri, 07 Jan 2011 01:57: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.12943654218836 (code B ref 7797); Fri, 07 Jan 2011 01:57:02 +0000 Original-Received: (at 7797) by debbugs.gnu.org; 7 Jan 2011 01:57:01 +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 1Pb1Zd-0002IR-9z for submit@debbugs.gnu.org; Thu, 06 Jan 2011 20:57:01 -0500 Original-Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Pb1ZZ-0002I9-3c for 7797@debbugs.gnu.org; Thu, 06 Jan 2011 20:56:58 -0500 Original-Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 7 Jan 2011 11:04:10 +0900 Original-Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id p07247bO028237; Fri, 7 Jan 2011 11:04:09 +0900 In-Reply-To: <874o9lehkl.fsf@gismo.pca.it> (Luca Capello's message of "Fri, 07 Jan 2011 00:30:18 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 Jan 2011 20:57:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:43167 Archived-At: Hi, Luca Capello writes: > gpg: skipped "8D3867D89DDB992B": unusable secret key > gpg: signing failed: unusable secret key You may want to try the patch I posted last month: http://lists.gnu.org/archive/html/emacs-devel/2010-12/msg00624.html Although this patch is a workaround, I'm going to push it for the time being. > I looked into the Git repository and I found the faulty commit: > > mml2015-epg-sign: Use From header. > > What is the reason of this change? If I want to sign with another key, > independent of the From header, I should be able to do so, > *automatically*, thus without any extra choice when sending the email. > My ~/.gnupg/gpg.conf allows that, EasyPG/Gnus does not. Quite a few users expect that Gnus/GPG pick a key matching the From header automatically - me too, I use different keys at work and home :) Regards, -- Daiki Ueno