From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier 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: Mon, 07 Oct 2013 23:27:49 -0400 Message-ID: References: <87mwml0xib.fsf@flea.lifelogs.com> <87a9ikwsbi.fsf-ueno-ueno@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381202901 10174 80.91.229.3 (8 Oct 2013 03:28:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2013 03:28:21 +0000 (UTC) Cc: tzz@lifelogs.com, ueno@gnu.org To: 15553@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 08 05:28:21 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 1VTNy7-0002LE-T9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Oct 2013 05:28:20 +0200 Original-Received: from localhost ([::1]:34428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTNy7-00063r-Fd for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2013 23:28:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTNxx-00063H-MV for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 23:28:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTNxq-0006En-CF for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 23:28:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTNxq-0006Eh-8b for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 23:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VTNxp-0005d0-OK for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2013 23:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Oct 2013 03:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 15553-submit@debbugs.gnu.org id=B15553.138120287221620 (code B ref 15553); Tue, 08 Oct 2013 03:28:01 +0000 Original-Received: (at 15553) by debbugs.gnu.org; 8 Oct 2013 03:27:52 +0000 Original-Received: from localhost ([127.0.0.1]:33495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTNxf-0005cc-Tn for submit@debbugs.gnu.org; Mon, 07 Oct 2013 23:27:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:13130) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTNxe-0005cV-Lg for 15553@debbugs.gnu.org; Mon, 07 Oct 2013 23:27:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFHO+K8t/2dsb2JhbAA8CLs1g1kXc4IfAQVWIxALNAcLFBgNiEjBLY0bRk2CXAOkeoFegmop X-IPAS-Result: Av8EABK/CFHO+K8t/2dsb2JhbAA8CLs1g1kXc4IfAQVWIxALNAcLFBgNiEjBLY0bRk2CXAOkeoFegmop X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="34990411" Original-Received: from 206-248-175-45.dsl.teksavvy.com (HELO pastel.home) ([206.248.175.45]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Oct 2013 23:24:10 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8724A6049A; Mon, 7 Oct 2013 23:27:49 -0400 (EDT) In-Reply-To: <87a9ikwsbi.fsf-ueno-ueno@gnu.org> (Daiki Ueno's message of "Tue, 08 Oct 2013 08:54:17 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (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:79016 Archived-At: >> - on a headless server this can lock up Emacs That's not good. We should try to make sure that detect the problematic situation, or make it easy for the user to get out of it (with something like a C-g). >> - if the GPG agent is dead, locked up, or not running, there's no remedy > Ditto. It can be very annoying for the user, and tricky to trackdown, so it's clearly a real problem. Of course, I have no idea how easy it would be to fix it, but that doesn't make it a non-problem. It incidentally does sound like it matches the symptom of a problem I've had a few times (tho I never bothered to track it down enough to be able to confirm that it was indeed this problem). >> - 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? Maybe the user doesn't really want to use gpg2 (maybe it's installed for some other user, maybe gpg1 is not installed for some reason, or maybe the user didn't realize that gpg1 is not obsoleted by gpgp2), yet the user may not care about the degraded security. Stefan