debuild screws up bash if you do ctrl+c (gnupg doesn't unset noecho on SIGINT)

Bug #294115 reported by Andrew Fenn
6
Affects Status Importance Assigned to Milestone
GnuPG
Fix Released
Unknown
gnupg (Debian)
Fix Released
Unknown
gnupg (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Steps:

1 - debuild -S
2 - Wait until it wants you to sign your dsc file and asks for a password
3 - Press ctrl+c to quit

After you do this bash will screw up and not display characters correctly, you then have to quit bash to fix the problem.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for your bug report. Reassigning to devscripts

Revision history for this message
Adam D. Barratt (adam-barratt) wrote :

You don't actually have to kill bash; "reset" will fix the display.

If it's any use as a workaround, running debuild with "-uc -us" and then debsign-ing the files later doesn't exhibit the issue.

Revision history for this message
Adam D. Barratt (adam-barratt) wrote :

Also fwiw, this is at base a gpg bug, as it's not resetting local echo on interrupts. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321871

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Well spotted Adam. Re-assigning

Changed in devscripts:
importance: Undecided → Low
status: New → Triaged
Changed in gnupg:
status: Unknown → New
Revision history for this message
Daniel Leidert (dleidert-deactivatedaccount) wrote :

Fixed in upstream SVN revision 5021 (fix will be part of the next released Debian package).
http://lists.gnupg.org/pipermail/gnupg-commits/2009-May/008256.html
https://bugs.g10code.com/gnupg/issue1058

Changed in gnupg:
status: New → Unknown
Changed in gnupg:
status: Unknown → In Progress
Changed in gnupg:
status: In Progress → Fix Released
Changed in gnupg (Debian):
status: Unknown → Confirmed
Changed in gnupg (Debian):
status: Confirmed → Fix Released
dn (nobled)
Changed in gnupg (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.