GNU bug report logs - #33269
25.2; cli pinentry disrupts screen display and navigation

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Boruch Baum <boruch_baum@HIDDEN>; dated Mon, 5 Nov 2018 08:34:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Nov 2018 08:33:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 05 03:33:22 2018
Received: from localhost ([127.0.0.1]:34560 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gJaK1-0008AI-RT
	for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 03:33:22 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36503)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1gJaK0-0008A3-81
 for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 03:33:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <boruch_baum@HIDDEN>) id 1gJaJo-000759-Pp
 for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 03:33:14 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:52980)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <boruch_baum@HIDDEN>) id 1gJaJn-0006sU-23
 for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 03:33:08 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45985)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <boruch_baum@HIDDEN>) id 1gJaJl-00054i-Rf
 for bug-gnu-emacs@HIDDEN; Mon, 05 Nov 2018 03:33:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <boruch_baum@HIDDEN>) id 1gJaJb-0005R9-VV
 for bug-gnu-emacs@HIDDEN; Mon, 05 Nov 2018 03:33:02 -0500
Received: from mout.gmx.net ([212.227.17.20]:35957)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <boruch_baum@HIDDEN>) id 1gJaJZ-0004n3-P7
 for bug-gnu-emacs@HIDDEN; Mon, 05 Nov 2018 03:32:54 -0500
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id
 0MQ2Tn-1gOpVL3Zq7-005Hm5 for <bug-gnu-emacs@HIDDEN>; Mon, 05 Nov 2018
 09:32:49 +0100
Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com
 (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id
 0MQ2Tn-1gOpVL3Zq7-005Hm5 for <bug-gnu-emacs@HIDDEN>; Mon, 05 Nov 2018
 09:32:49 +0100
Date: Mon, 5 Nov 2018 03:32:46 -0500
From: Boruch Baum <boruch_baum@HIDDEN>
To: Emacs Bug Reporting <bug-gnu-emacs@HIDDEN>
Subject: 25.2; cli pinentry disrupts screen display and navigation
Message-ID: <20181105083246.szcmvee7f2kqjic2@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:f/PkANp03EK5WXI5s9S5aMUIfJzlHy2OVv8G/Td9vN/DT183Uil
 4ToQLFi+L/44UP4A1ioESJQYXHhNse8DKSQxk0FEnSzgPMpQ+6jPLr5LBkxU5v4L1mnSkuX
 G7TmMQ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mSuLG6XtGnMVdXtkpg9HoyyDsQ+/mAGlo
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)

When using non-GUI emacs and attempting to open a gpg encrypted file,
emacs seems to pass control to the external pinentry program (debian
package `pinentry-curses', version 1.1.0+b1); however:

1) Doing so renders most of the pinentry program's display off the
botton of screen. The top line of the pinentry ncurses input box
displays along the bottom of the terminal's display, and the prior emacs
display is scrolled up so the mini-buffer line is about one-fifth along
the top.

2) Entering the passphrase in that situation doesn't provide any visible
feedback, and doesn't seem to function. No response occurs when pressing
return.

3) Control could be restored to emacs via some quasi-desperate
quasi-random combination of C-c, C-g, RET, ESC; however, the screen
rendering of emacs at that point remained mostly 'off-screen', and was
recovered only by forcing complete screen redraws, which was done by
some quasi-desperate quasi-random combination of `C-x 0', `C-x 3', and
`C-x C-b'.

Two work-arounds were found:

A) Open the file externally, directly on the command-line. In that case,
emacs does not ask for a passphrase when re-opening the file within the
timeout interval.

B) Setting emacs variable `epa-pinentry-mode' to 'loopback, which has
emacs itself prompt for the gpg passphrase in the mini-buffer.




In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-08-26, modified by Debian built on x86-csail-01
System Description:	Devuan GNU/Linux 2.0.0 (ascii)

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --build x86_64-linux-gnu
 --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=gtk3
 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs-7bZ65w/emacs-25.2+1=.
 -fstack-protector-strong -Wformat -Werror=format-security -Wall'
 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix


-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Acknowledgement sent to Boruch Baum <boruch_baum@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#33269; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.