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#15553: 24.3.50; epg.el and GnuPG 2.x cause unavoidable pinentry prompts for symmetrically encrypted files Date: Tue, 08 Oct 2013 08:54:17 +0900 Message-ID: <87a9ikwsbi.fsf-ueno-ueno@gnu.org> References: <87mwml0xib.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1381190111 14731 80.91.229.3 (7 Oct 2013 23:55:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2013 23:55:11 +0000 (UTC) Cc: 15553-done@debbugs.gnu.org To: Teodor Zlatanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 08 01:55:13 2013 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 1VTKdt-0007pB-Bx for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Oct 2013 01:55:13 +0200 Original-Received: from localhost ([::1]:33984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTKdr-0007ON-7k for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2013 19:55:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTKdm-0007Kj-D8 for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 19:55:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTKdk-0008Ua-VC for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 19:55:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTKdk-0008Th-SO for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 19:55:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VTKdj-00080D-Nx for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 19:55:04 -0400 Resent-From: Daiki Ueno Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Oct 2013 23:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 15553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 15553@debbugs.gnu.org, ueno@gnu.org, tzz@lifelogs.com Original-Received: via spool by 15553-done@debbugs.gnu.org id=D15553.138119006930706 (code D ref 15553); Mon, 07 Oct 2013 23:55:02 +0000 Original-Received: (at 15553-done) by debbugs.gnu.org; 7 Oct 2013 23:54:29 +0000 Original-Received: from localhost ([127.0.0.1]:33193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTKdB-0007z7-Ed for submit@debbugs.gnu.org; Mon, 07 Oct 2013 19:54:29 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:46915) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTKd7-0007yt-VH; Mon, 07 Oct 2013 19:54:26 -0400 Original-Received: from du-a.org ([2001:e41:db5e:fb14::1]:38389 helo=debian) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1VTKd6-0005Fv-M6; Mon, 07 Oct 2013 19:54:25 -0400 In-Reply-To: <87mwml0xib.fsf@flea.lifelogs.com> (Teodor Zlatanov's message of "Mon, 07 Oct 2013 14:03:08 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) 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: 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: , 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:79006 Archived-At: tags 15553 notabug thanks Teodor Zlatanov writes: > 1. Install GnuPG 2.x, don't run gpg-agent > 2. Open file.gpg, X or curses pinentry dialog pops up > > The suggested workaround is to run gpg-agent. So you can workaround, what's your problem? > Problems: > > - on a headless server this can lock up Emacs Not a problem if you use the workaround. > - if the GPG agent is dead, locked up, or not running, there's no remedy Ditto. > - the X pinentry dialog is very non-specific ("Enter passphrase") so > there's no way to know what passphrase is being requested and why if > you don't have the specific instance in focus. Unreleated to this bug, please open a new one. > - there's no way to avoid the prompt in favor of an Emacs minibuffer query As I said a number of times, that degrades security. If the insecurity is okay for you, what's the reason you want to use GnuPG 2.x rather than GnuPG 1.x?