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

Bruno 1047384 at bugs.launchpad.net
Mon Mar 31 15:24:49 UTC 2014


If one uses the small icon @ISO boot time and does the keyboard set up
(F2 and F3) then all goes well

1) boot from ISO
2) **** USER interaction: F2 / F3 => keyboard layout set up for installer
3) start GUI installer (using text menu)
4) Enable "Encrypt the new Ubuntu installation for security"
5) provide the security key
(I gave rtz using swiss german keyboard)
6) press install now
=> "Where are you" => autodetected location => Zurich
...

After reboot I give rtz as security key => all OK

So one solution would be to force the users to use the F2 / F3 setup  during ISO boot time.
Currently there is not much time to stop the autostart (~3 sec).
And why would a new user even try to stop the autostart (when the first action in the GUI is to select the language)?

Better would be to detect the keyboard layout PRIOR to 
Enable "Encrypt the new Ubuntu installation for security"


** Attachment added: "/var/log/installer when using F2/F3 in ISO boot menu to set up keybard layout => OK"
   https://bugs.launchpad.net/ubuntu/trusty/+source/ubiquity/+bug/1047384/+attachment/4055879/+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