Bug#379737: [Pkg-cryptsetup-devel] Bug#379737: cryptsetup: cannot handle UTF-8 in passphrase

David Härdeman david at 2gen.com
Tue Aug 15 13:48:10 UTC 2006


On Tue, July 25, 2006 11:49, Robert Bihlmeyer said:
> Maybe the console should be switched to Unicode mode akin to loading the
> right keymap?

Yes.

I'll add some code later this week to the initramfs hook which checks for
a UTF-8 locale (the same code that the kbd package init.d script uses),
and if so, the initramfs script will have to run "kbd_mode -u" and
"loadkeys --unicode" instead of simply running loadkeys.

Since the passphrase is never echoed to screen, it is overkill to also put
the console output itself in unicode mode (that will happen later with the
kbd init script anyway).

Regards,
David






More information about the Pkg-cryptsetup-devel mailing list