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.

Attachment: signature.asc
Description: PGP signature

Reply via email to