[Pkg-cryptsetup-devel] Bug#364153: cryptsetup: timeout option leaves terminal in bad state

Andres Salomon dilinger at debian.org
Fri Apr 21 17:45:12 UTC 2006


Package: cryptsetup
Version: 1.0.2+1.0.3-rc3-1
Severity: normal

Hi,

When cryptsetup's timeout is reached, the password prompting that
cryptsetup does is interrupted.  However, it doesn't reset the terminal;
instead, it makes it so that input is not echoed.

Here's an example.

dilinger at lith:~$ cat /etc/crypttab
# <target name> <source device>         <key file>      <options>
lith /dev/lith/lvol0    none    timeout=5
dilinger at lith:~$ sudo /etc/init.d/cryptdisks start
Starting crypto disks... lith(starting)
Enter passphrase: Operation timed out. Exiting.
 done.
dilinger at lith:~$ foo


Once cryptsetup timed out, I had typed "echo foo"; however, it doesn't
show up in the shell.




More information about the Pkg-cryptsetup-devel mailing list