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#22711: 25.0.91; prompt for gpg password is displayed in a dialog box rather than in the minibuffer Date: Thu, 18 Feb 2016 17:01:24 +0900 Message-ID: References: <87oabg8f9d.fsf@gmail.com> <9s1t8cuuwt.fsf@fencepost.gnu.org> <8737sryzrj.fsf@gmail.com> <87io1nupqc.fsf-ueno@gnu.org> <871t8bowyc.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455782548 29691 80.91.229.3 (18 Feb 2016 08:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 08:02:28 +0000 (UTC) Cc: 22711@debbugs.gnu.org To: nljlistbox2@gmail.com (N. Jackson) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 18 09:02:11 2016 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 1aWJXN-0002fO-MQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 09:02:09 +0100 Original-Received: from localhost ([::1]:38207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWJXM-0003SV-Op for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 03:02:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWJXJ-0003SM-4b for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 03:02:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWJXF-00072P-UK for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 03:02:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWJXF-00072L-Qq for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 03:02:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aWJXF-00055d-Kd for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 03:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2016 08:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22711 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22711-submit@debbugs.gnu.org id=B22711.145578250219539 (code B ref 22711); Thu, 18 Feb 2016 08:02:01 +0000 Original-Received: (at 22711) by debbugs.gnu.org; 18 Feb 2016 08:01:42 +0000 Original-Received: from localhost ([127.0.0.1]:60165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWJWw-000555-5n for submit@debbugs.gnu.org; Thu, 18 Feb 2016 03:01:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60280) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWJWv-00054t-DB for 22711@debbugs.gnu.org; Thu, 18 Feb 2016 03:01:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWJWn-0006zl-2C for 22711@debbugs.gnu.org; Thu, 18 Feb 2016 03:01:36 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWJWm-0006zh-V9; Thu, 18 Feb 2016 03:01:32 -0500 Original-Received: from du-a.org ([219.94.251.20]:47294 helo=dhcp-217-69.nrt.redhat.com) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWJWm-0005R4-7J; Thu, 18 Feb 2016 03:01:32 -0500 In-Reply-To: <871t8bowyc.fsf@gmail.com> (N. Jackson's message of "Wed, 17 Feb 2016 17:20:43 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:113230 Archived-At: Thanks for the feedback. nljlistbox2@gmail.com (N. Jackson) writes: > Perhaps this information could be included in the NEWS entry for > pinentry.el? (And an entry in the manual might be nice too, although I'm > not sure where it would live.) Sure, will do. > The password prompt, however, fails to identify the file for which the > password is being requested. In Emacs 24 and 25.0.90, the prompt was, > for example, > > Passphrase for symmetric encryption for /home/nlj/.authinfo.gpg: > > Now there is a small buffer displaying > > Enter passphrase > > followed by a few blank lines, and, then in the minibuffer, the prompt > > Passphrase: > > Could the prompt in the minibuffer (or the text in the little buffer) > not show the name of the file? That could be a bit tricky since Pinentry is not called with such information, but perhaps it might be possible by sending context information through the special envvar PINENTRY_USER_DATA. I have just proposed a patch to Pinentry for that. > In fact, what purpose does the little buffer serve? It seems to > clutter up the interface and not add anything useful. Or am I missing > something there? If public key encryption were used, the buffer would contain something like: Please enter the passphrase to unlock the OpenPGP secret key: "Daiki Ueno " 4096-bit RSA key, ID C8C530D6, created 2010-02-04 (main key ID D7E69871). For the case like the above, we could hide the buffer (though this is also a bit tricky since the strings may be translated in user's native language). Regards, -- Daiki Ueno