[Bug 1758050] Re: Interrupting pinentry-tty with ctrl-c leaves the terminal broken

Dominik Viererbe 1758050 at bugs.launchpad.net
Tue Nov 19 10:47:51 UTC 2024


Thank you for reporting this bug to Ubuntu.

Ubuntu 23.10 (mantic) reached end-of-life on July 11, 2024.
Ubuntu 23.04 (lunar) reached end-of-life on January 25, 2024.
Ubuntu 22.10 (kinetic) reached end-of-life on July 20, 2023.
Ubuntu 21.10 (impish) reached end-of-life on July 14, 2022.
Ubuntu 21.04 (hirsute) reached end-of-life on January 20, 2022.
Ubuntu 20.10 (groovy) reached end-of-life on July 22, 2021.
Ubuntu 19.10 (eoan) reached end-of-life on July 17, 2020.
Ubuntu 19.04 (disco) reached end-of-life on January 23, 2020.
Ubuntu 18.10 (cosmic) reached end-of-life on July 18, 2019.
Ubuntu 18.04 (bionic) reached end-of-standard-support on May 31, 2023.
Ubuntu 17.10 (artful) reached end-of-life on July 19, 2018.
Ubuntu 17.04 (zesty) reached end-of-life on January 13, 2018.
Ubuntu 16.10 (yakkety) reached end-of-life on July 20, 2017.
Ubuntu 16.04 (xenial) reached end-of-standard-support on April 29, 2021.
Ubuntu 15.10 (wily) reached end-of-life on July 28, 2016.
Ubuntu 15.04 (vivid) reached end-of-life on February 4, 2016.
Ubuntu 14.10 (utopic) reached end-of-life on July 23, 2015.
Ubuntu 14.04 (trusty) reached end-of-standard-support on April 25, 2019.
Ubuntu 13.10 (saucy) reached end-of-life on July 17, 2014.
Ubuntu 13.04 (raring) reached end-of-life on January 27, 2014.
Ubuntu 12.10 (quantal) reached end-of-life on May 16, 2014.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.
Ubuntu 11.10 (oneiric) reached end-of-life on May 9, 2013.
Ubuntu 11.04 (natty) reached end-of-life on October 28, 2012.
Ubuntu 10.10 (maverick) reached end-of-life on April 10, 2012.
Ubuntu 10.04 (lucid) reached end-of-life on May 9, 2013.
Ubuntu 9.10 (karmic) reached end-of-life on April 30, 2011.
Ubuntu 9.04 (jaunty) reached end-of-life on October 23, 2010.
Ubuntu 8.10 (intrepid) reached end-of-life on April 30, 2010.
Ubuntu 8.04 (hardy) reached end-of-life on May 12, 2011.
Ubuntu 7.10 (gutsy) reached end-of-life on April 18th, 2009.
Ubuntu 7.04 (feisty) reached end-of-life on October 19, 2008.
Ubuntu 6.10 (edgy) reached end-of-life on April 26, 2008.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested
in discussing it anymore. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in.

** Changed in: pinentry (Ubuntu)
       Status: New => Incomplete

-- 
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:
  Incomplete

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