Interrupting pinentry-tty with ctrl-c leaves the terminal broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pinentry (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When pinentry-tty is used to prompt for the password, interrupting the prompt using ctrl-c leaves the terminal only partially working: only some letter keys are echoed back.
The terminal remains in this broken state for about a minute, after which it resets itself and everything starts working again.
Below, I'm swiping through all alphabet and numeric keys of my keyboard at both 14.54, where only "469+esgxb" gets through, and again at 14.55 (the last line), where they all come through.
14.54 jani@saegusa:
14.54 jani@saegusa:
[1] 12375
gpg: AES encrypted data
Enter passphrase
Passphrase:
gpg: signal Interrupt caught ... exiting
14.54 jani@saegusa:
14.55 jani@saegusa:
[1]+ Done { sleep 60; echo "60 seconds passed"; }
14.55 jani@saegusa:
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pinentry-tty 1.1.0-1
ProcVersionSign
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 22 14:58:14 2018
Dependencies:
gcc-8-base 8-20180319-1ubuntu2
libassuan0 2.5.1-2
libc6 2.27-0ubuntu2
libgcc1 1:8-20180319-
libgpg-error0 1.27-6
InstallationDate: Installed on 2016-10-13 (524 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fi_FI.UTF-8
SHELL=/bin/bash
SourcePackage: pinentry
UpgradeStatus: No upgrade log present (probably fresh install)
Upstream (based on a merged duplicate): https:/ /dev.gnupg. org/T2011