From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: adrian.lanz@wsl.ch Newsgroups: gmane.emacs.bugs Subject: bug#31603: 27.0.50; pinentry loopback disappeared Date: Sat, 26 May 2018 10:46:45 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527324547 507 195.159.176.226 (26 May 2018 08:49:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 May 2018 08:49:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 31603@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 26 10:49:03 2018 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 1fMUsp-0008Rz-2K for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 May 2018 10:49:03 +0200 Original-Received: from localhost ([::1]:48209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMUuu-0000zp-Dw for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 May 2018 04:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMUuo-0000zX-A9 for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 04:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMUuk-0002R4-BS for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 04:51:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMUuk-0002Qy-7M for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 04:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fMUuk-00007N-16 for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 04:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: adrian.lanz@wsl.ch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 May 2018 08:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31603 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1527324657441 (code B ref -1); Sat, 26 May 2018 08:51:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 May 2018 08:50:57 +0000 Original-Received: from localhost ([127.0.0.1]:49012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMUuf-000072-5N for submit@debbugs.gnu.org; Sat, 26 May 2018 04:50:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMUqr-0008Sp-6r for submit@debbugs.gnu.org; Sat, 26 May 2018 04:47:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMUqk-000075-JZ for submit@debbugs.gnu.org; Sat, 26 May 2018 04:46:55 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fMUqk-00006n-GU for submit@debbugs.gnu.org; Sat, 26 May 2018 04:46:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMUqj-0000d0-5Z for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 04:46:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMUqe-0008RA-Qs for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 04:46:53 -0400 Original-Received: from mailscanner-bi.wsl.ch ([193.134.202.6]:25500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMUqe-0008Oj-JC for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 04:46:48 -0400 X-IronPort-AV: E=Sophos;i="5.49,443,1520895600"; d="scan'208";a="15793002" Original-Received: from unknown (HELO notesbi1.wsl.ch) ([10.30.1.65]) by mailscannerint-bi.wsl.ch with ESMTP; 26 May 2018 10:42:32 +0200 Original-Received: from sampling ([10.13.0.51]) by notesbi1.wsl.ch (IBM Domino Release 9.0.1FP8 HF238) with ESMTP id 2018052610464557-237798 ; Sat, 26 May 2018 10:46:45 +0200 X-MIMETrack: Itemize by SMTP Server on notesbi1/WSL(Release 9.0.1FP8 HF238|May 05, 2017) at 26.05.2018 10:46:45, Serialize by Router on notesbi1/WSL(Release 9.0.1FP8 HF238|May 05, 2017) at 26.05.2018 10:46:45, Serialize complete at 26.05.2018 10:46:45 X-TNEFEvaluated: 1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sat, 26 May 2018 04:50:55 -0400 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:146564 Archived-At: With 'allow-loopback-pinentry' in gpg-agent.conf and (setq epa-pinentry-mode 'loopback) in .emacs, I enjoy reliable pass-phrase prompting and entering in the Emacs minibuffer for quite some time (at least since September 2016). Now unexpectedly, pinentry-curses started to pop-up for pass-phrase prompting. I suspect commit 302e500087fd4cc1c5f37ec87c98e828b22aaa05 being the cause. I did not find a way to get pinentry-loopback back and working. Remark 1: The default graphical mode pinentry (X11 or similar) is available as expected. Remark 2: Text mode pinentry-curses is very unreliable (under my configuration). Several attempts are often needed to get the pass-phrase accepted. When pinentry-curses is automatically called to find-file a *.gpg file, mangled parts of the pass-phrase are inserted as clear text on top of the Emacs buffer into which the file is loaded. Mangled pass-phrase parts may also otherwise passed to Emacs (seems as key strokes with unpredictable effects). [This bug report is, however, not intended towards pinentry-curses, but pinentry-loopback. On the other hand, pinentry-curses seems the fall-back of pinentry-loopback (and graphical mode pinentry).] Use case: I access the system (at work) also on a daily basis from outside - through VPN/SSH and in terminal/text mode, so that a functioning text mode pinentry is a must (e.g. encrypted .authinfo.gpg for Emacs/Gnus). Workaround: I detected https://wiki.gnupg.org/AgentForwarding as an intermediate solution - graphical pinentry, and external access with a linux laptop, GnuPG configured. Ubuntu 16.04.4 LTS (Stable) GNU Emacs 27.0.50 (Snapshot) [http://ppa.launchpad.net/ubuntu-elisp/ppa/ubuntu xenial main]