If you like my tutorials, you will love my book . It is chockful of advanced programming techniques and the only comprehensive barcode reference for serious iOS developers.
Our DNA is written in Objective-C

Radar: Filevault2 uses incorrect keyboard layout for initial unlock

Fresh from our series “Another Day Another Radar” here’s one that stumped my associate Rene.

Since I’m getting a knack in filing these I did the “quick file” for him, as rdar://11738458 and on OpenRadar. As always I am doing this publicly because other people out there might have experienced the same issue which can be quite nerve-wrecking. Also this problem was observed on an OS X version that is public and widely used.

Filevault2 uses incorrect keyboard layout for initial unlock


When starting a 15″ MacBook Pro (Mid 2009) that is using Filevault2 full disk encryption the wrong keyboard layout is active for entering the initial boot password when starting the system.

Steps to Reproduce:

  • on a Mac with German keyboard set system language to English, keyboard layout to German (matching the HW keyboard)
  • enable Filevault2, choose a password that uses keys that are differently positioned on German and English layout. (e.g. Z and Y)
  • turn off Mac
  • when promoted for the hard disk password try to enter the password as it was entered with OS X running

Expected Results:

Password should be accepted in the keyboard layout used when setting it.

Actual Results:

Password is only accepted when entered with English keyboard layout.


With Filevault 1 the password was queried later when the German layout was already active.


This might lead to customer confusion because it misleads them to thinking that they have set their password incorrectly. Add to this the extremely stressful situation of thinking that you have lost access to all your data.

Most people would not recognize this problem because typically people would have the system language and keyboard layout be the same. But some users (especially developers and in IT) prefer to have their system in English even with a German keyboard. This also means that they will have to know where this certain characters can be found on an English keyboard to be able to successfully authenticate.

Filefault 2 apparently is using the system language layout instead of the actual HW layout or the one that is configured while running OS X.

Categories: Bug Reports

%d bloggers like this: