[Bug 1758050] Re: Interrupting pinentry-tty with ctrl-c leaves the terminal broken
Jani Uusitalo
jani at mummila.net
Thu Mar 22 13:05:38 UTC 2018
** Attachment added: "gpg-agent.conf"
https://bugs.launchpad.net/ubuntu/+source/pinentry/+bug/1758050/+attachment/5086995/+files/gpg-agent.conf
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pinentry in Ubuntu.
https://bugs.launchpad.net/bugs/1758050
Title:
Interrupting pinentry-tty with ctrl-c leaves the terminal broken
Status in pinentry package in Ubuntu:
New
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 at saegusa:testejä$ export LC_ALL=C
14.54 jani at saegusa:testejä$ { sleep 60; echo "60 seconds passed"; } & /usr/bin/gpg -d passwords.gpg
[1] 12375
gpg: AES encrypted data
Enter passphrase
Passphrase:
gpg: signal Interrupt caught ... exiting
14.54 jani at saegusa:testejä$ 469+esgxb^C
14.55 jani at saegusa:testejä$ 60 seconds passed
[1]+ Done { sleep 60; echo "60 seconds passed"; }
14.55 jani at saegusa:testejä$ 1234567890+wertyuiopåasdfghjklöäzxcvbnm,.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pinentry-tty 1.1.0-1
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
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-1ubuntu2
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-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fi_FI.UTF-8
SHELL=/bin/bash
SourcePackage: pinentry
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pinentry/+bug/1758050/+subscriptions
More information about the foundations-bugs
mailing list