From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29906: 27.0.50; Emacs prompts for passwords in GUI dialog instead of minibuffer Date: Sat, 30 Dec 2017 22:53:45 +0200 Message-ID: <83k1x4djja.fsf@gnu.org> References: <871sjdufq7.fsf@moondust.localdomain> <83a7y0fx0q.fsf@gnu.org> <87wp14ky88.fsf@moondust.localdomain> <83po6wdrgm.fsf@gnu.org> <87y3lkug8f.fsf-ueno@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1514667200 1583 195.159.176.226 (30 Dec 2017 20:53:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2017 20:53:20 +0000 (UTC) Cc: nljlistbox2@gmail.com, 29906@debbugs.gnu.org To: Daiki Ueno Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 30 21:53:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVO81-0008IM-Fp for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Dec 2017 21:53:13 +0100 Original-Received: from localhost ([::1]:39695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVO9y-0004I8-Ms for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Dec 2017 15:55:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVO9p-0004Ho-R8 for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 15:55:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVO9m-0000Pe-Ob for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 15:55:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49482) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eVO9m-0000PP-L4 for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 15:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eVO9m-0007fw-DT for bug-gnu-emacs@gnu.org; Sat, 30 Dec 2017 15:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Dec 2017 20:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29906 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29906-submit@debbugs.gnu.org id=B29906.151466726129438 (code B ref 29906); Sat, 30 Dec 2017 20:55:02 +0000 Original-Received: (at 29906) by debbugs.gnu.org; 30 Dec 2017 20:54:21 +0000 Original-Received: from localhost ([127.0.0.1]:58163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVO97-0007ek-AQ for submit@debbugs.gnu.org; Sat, 30 Dec 2017 15:54:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVO94-0007eU-RW for 29906@debbugs.gnu.org; Sat, 30 Dec 2017 15:54:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVO8y-0008Fo-HL for 29906@debbugs.gnu.org; Sat, 30 Dec 2017 15:54:13 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVO8s-000886-EW; Sat, 30 Dec 2017 15:54:06 -0500 Original-Received: from [176.228.60.248] (port=1810 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eVO8q-0007Gg-HE; Sat, 30 Dec 2017 15:54:06 -0500 In-reply-to: <87y3lkug8f.fsf-ueno@gnu.org> (message from Daiki Ueno on Sat, 30 Dec 2017 21:13:04 +0100) 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" Xref: news.gmane.org gmane.emacs.bugs:141628 Archived-At: > From: Daiki Ueno > Cc: nljlistbox2@gmail.com (N. Jackson), 29906@debbugs.gnu.org > Date: Sat, 30 Dec 2017 21:13:04 +0100 > > >> > ** The pinentry.el library has been removed. > >> > That package (and the corresponding change in GnuPG and pinentry) > >> > was intended to provide a way to input passphrase through Emacs with > >> > GnuPG 2.0. However, the change to support that was only implemented > >> > in GnuPG >= 2.1 and didn't get backported to GnuPG 2.0. And with > >> > GnuPG 2.1 and later, pinentry.el is not needed at all. So the > >> > library was useless, and we removed it. GnuPG 2.0 is no longer > >> > supported by the upstream project. > >> > > >> > To adapt to the change, you may need to set 'epa-pinentry-mode' to the > >> > symbol 'loopback'. > > I wasn't aware of this entry. Would it really make sense, given that > pinentry.el was a new library introduced in Emacs 26? ??? I see pinentry.el in all versions of Emacs starting from 25.1. > >> Yes, that does help, thank you. I should have checked the news. > >> > >> It doesn't help me decide what to do though. Do you know if using > >> the prompt in the minibuffer (using `loopback') is thought to be > >> less secure than using the external pinentry program? > > > > I don't know enough about this to tell. Daiki, any inputs? > > I would say it's provides the same level of security as pinentry-gtk, > which no longer uses secmem these days. > > It's unfortunate that one of the GnuPG contributors (who currently seems > inactive) had advertised that it was less secure, based on his Emacs 19 > knowledge: > https://dev.gnupg.org/T2034#89059 Would you advise saying something along these lines in NEWS? Thanks.