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#21274: 25.0.50; epa doesn't understand GPG's default-key option Date: Thu, 20 Aug 2015 11:59:24 +0900 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440039690 2648 80.91.229.3 (20 Aug 2015 03:01:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2015 03:01:30 +0000 (UTC) Cc: wk@gnupg.org, 21274@debbugs.gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 05:01:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZSG6N-0007yG-7B for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2015 05:01:15 +0200 Original-Received: from localhost ([::1]:60982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSG6M-0007yV-8a for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Aug 2015 23:01:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSG6E-0007vp-1K for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 23:01:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSG6A-00068i-Lr for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 23:01:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSG6A-00068d-JB for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 23:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZSG6A-00052Q-AT for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 23:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2015 03:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 21274-submit@debbugs.gnu.org id=B21274.144003961319264 (code B ref 21274); Thu, 20 Aug 2015 03:01:02 +0000 Original-Received: (at 21274) by debbugs.gnu.org; 20 Aug 2015 03:00:13 +0000 Original-Received: from localhost ([127.0.0.1]:33066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSG5M-00050W-Bp for submit@debbugs.gnu.org; Wed, 19 Aug 2015 23:00:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34991) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSG5J-00050O-MA for 21274@debbugs.gnu.org; Wed, 19 Aug 2015 23:00:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSG4o-00053g-ST for 21274@debbugs.gnu.org; Wed, 19 Aug 2015 23:00:00 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSG4o-00053V-NL; Wed, 19 Aug 2015 22:59:38 -0400 Original-Received: from du-a.org ([219.94.251.20]:54065 helo=dhcp-217-92.nrt.redhat.com) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZSG4g-0005w5-N3; Wed, 19 Aug 2015 22:59:31 -0400 In-Reply-To: (Richard Stallman's message of "Wed, 19 Aug 2015 14:15:33 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105600 Archived-At: Richard Stallman writes: > > > gpg --default-key ... > > > Are you sure it really works? > > I don't know. but the man page said it would work. > It says > > --try-secret-key name > For hidden recipients GPG needs to know the keys to use for > trial decryption. The key set with --default-key is always > tried first, but this is often not sufficient. This option > allows to set more keys to be used for trial decryption. > > But if that doesn't actually work, then > maybe --try-secret-key is needed. I suspect that you are looking at the manual page of GnuPG 2.0, while using EPA with GnuPG 1.4. What does this evaluate to? M-: (assq 'version (epg-configuration)) (I was wrong about that the --default-key is used for hidden recipients since GnuPG 2.0. Sorry for the confusion about that.) Regards, -- Daiki Ueno