[Bug 1047384] Re: System Encryption Password set before setting keyboard locale

Bruno 1047384 at bugs.launchpad.net
Mon Mar 31 14:57:15 UTC 2014


The "Encrypt the new Ubuntu installation for security" will use the wrong keyboard if you
1) boot from ISO
2) wait (do not touch the small icon)
3) it autostarts the GUI installer (using En as Language and probably US as keyboard)
4) Enable "Encrypt the new Ubuntu installation for security"
5) next step is to provide the security key
HERE is the bug:
In the next steps the keyboard is autodetected and changed if you do not have a US keyboard
Until this step I never saw what I typed => i'm not aware of the US keyboard setting

=> type rtz as key
(since US keyboard this actually rty (if a qwertz keyboard is used)

6) press install now
=> "Where are you" => autodetected location => Zurich
Press continue
7) now Switzerland Keyboard Layout is detected an set up from now on.

=> security key (with US keyboard) was typed as rtz but rty was used.
But now since Swiss Keyboard is used => one would have to type rty instead of rtz. 
How would a normal user know?

I think step 4 should be AFTER step 7. This way the correct keyboard would have been used.
After Mr. Snowden showed up and there is an "NSA-awareness"  more users will use this option:
"Encrypt the new Ubuntu installation for security"
But non US keyboard users will run into this bug, if they use Z, Y, umlauts or special chars...

Thx for ubuntu :-)


** Attachment added: "/var/log/installer"
   https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1047384/+attachment/4055824/+files/installer.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1047384

Title:
  System Encryption Password set before setting keyboard locale

Status in “ubiquity” package in Ubuntu:
  Triaged
Status in “ubiquity” source package in Trusty:
  Triaged

Bug description:
  Ubuntu 12.10

  When installing my system, I selected to encrypt access to my system.
  This prompted me to enter a password. I entered a password with a #
  symbol in it, however due to using an english keyboard, this would not
  have been correctly recorded as a #, but as a ' instead - leading it
  to refuse my password when booting.

  I tested this both connected to and not connected to the internet.

  It seems that at the point of entering the password during the
  installer, the keyboard layout was set to en_US. Therefore, when
  booting and having the locale as en_GB - it didn't correctly work.

  I tried this with the @ symbol, which when entered was accepted on
  boot by hitting shift+2 (american combination)

  I also tried this by entering a password with a £ sign (shift 3 on UK
  keyboard - which would be a # on a US keyboard)

  When entering password on boot, entering the password with the # key
  rather than the £ key worked.

  In summary - when entering password for encrypting system, keyboard is
  set as a US keyboard layout, which differs from that when booting to
  enter the password if it is changed in a later step.

  Proposed solution: Move the keyboard selection / Locale Setup before
  any input boxes. (espescially those where you can't see the contents
  of them!)

  <http://goo.gl/YwIcT>: "The “Keyboard layout” screen should appear
  immediately before whichever is the first keyboard-requiring step."

  <http://goo.gl/PSaUz>: "Whenever “Encrypt the new Ubuntu installation
  for security” is checked, the caption 'You’ll choose a security key in
  just a moment.' should be sensitive. 'Choose a security key' is a
  keyboard-requiring step, so that typing the security key works as
  expected."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1047384/+subscriptions



More information about the foundations-bugs mailing list