long cryptroot passphrase prompt looks bad

Bug #326900 reported by Kees Cook
4
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
Fix Released
Low
Kees Cook

Bug Description

Binary package hint: cryptsetup

The current cryptsetup prompt is very long, so passphrases will line-wrap while they are typed which makes correcting typos annoying to deal with, since backspace will not wrap back up to the first line.

Kees Cook (kees)
Changed in cryptsetup:
assignee: nobody → kees
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cryptsetup - 2:1.0.6-7ubuntu2

---------------
cryptsetup (2:1.0.6-7ubuntu2) jaunty; urgency=low

  * debian/askpass.c: handle newline escape code in password prompt.
  * debian/initramfs/cryptroot-script: add newline to split cryptroot
    password prompt onto two lines for readability (LP: #326900).

 -- Kees Cook <email address hidden> Sun, 08 Feb 2009 07:26:01 -0800

Changed in cryptsetup:
status: Fix Committed → Fix Released
Revision history for this message
Andrej Rohaŭ (arohau) wrote :

BTW, askpass with console input method does not process newline special in the new cryptroot script. Looks similar to the following:

$ /lib/cryptsetup/askpass 'Hello,\nWorld!'
Hello,\nWorld!

Revision history for this message
Kees Cook (kees) wrote : Re: [Bug 326900] Re: long cryptroot passphrase prompt looks bad

Thanks for catching that! I've fixed it now:

 cryptsetup (2:1.0.6-7ubuntu4) jaunty; urgency=low

   * debian/askpass.c: also handle newline escape code in console prompt.

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.