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

Guilhem Moulin guilhem at guilhem.org
Tue Sep 13 23:15:55 UTC 2016


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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20160914/a5190382/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list