[pkg-cryptsetup-devel] Bug#831509: Bug#831509: cryptsetup fails to unlock volumes with accented letters passwords

André Cardoso andrekrieg at gmail.com
Wed Sep 14 11:01:31 UTC 2016


Hi Guilhem, how are you?

Well, your suggestion is good but I don't think it is an ideal way to solve
this...

For tests purposes, I had installed the latest release of Ubuntu Desktop
(16.04) and it don't have this "problem"... I think they managed to solve
that by loading the keyboard module before the prompt of the cryptographic
passphrase. I really want to help more but I'm not any good with these
things in Linux, sorry...

Maybe you will need to talk to someone from Debian to define a better
sequence for loading the modules at the boot time.

Could you test the Ubuntu 16.04 to see how it works?

Thank you for your response and sorry about the lack of more information
about how to solve the issue...


2016-09-13 20:15 GMT-03:00 Guilhem Moulin <guilhem at guilhem.org>:

> Hi Andre,
>
> On Sat, 16 Jul 2016 at 15:02:40 -0300, Andre wrote:
> > During the installation process of setting up my operating system, I
> > chose as the default keyboard layout the Portuguese (Brazilian), then
> > set up the encryption of disk volumes and then set an encryption
> > password using accented characters.
>
> FWIW, this what the cryptsetup(8) manpage says about this:
>
>     Character encoding: If you enter a passphrase with special symbols,
>     the passphrase can change depending character encoding.  Keyboard
>     settings can also change, which can make blind input hard or
>     impossible.  For example, switching from some ASCII 8-bit variant to
>     UTF-8 can lead to a different binary encoding and hence different
>     passphrase seen by cryptsetup, even if what you see on the terminal
>     is exactly the same.  It is therefore highly recommended to select
>     passphrase characters only from 7-bit ASCII, as the encoding for
>     7-bit ASCII stays the same for all ASCII variants and UTF-8.
>
> Perhaps we should make the installer print a warning if the user enters
> non 7-bit ASCII characters?
>
> Cheers,
> --
> Guilhem.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20160914/0f5f13af/attachment.html>


More information about the pkg-cryptsetup-devel mailing list