[arch-general] Encryption passphrase has to be entered twice
Hi, I've recently installed Arch on a friend's machine, which happens to be a MacBook Pro. After some initial problems with the EFI setup, it now works basically great. However there is a strange "problem" during the boot process. The system is fully encrypted (based on the layout recommended in the Wiki), so during the boot process you'll get asked for the passphrase. However the correct passphrase isn't recognized the first time, but it has to be entered a second time. The passphrase is pretty easy for now, just to make sure mistyping is not a problem. We tested this several times, and it consequently refuses to accept the passphrase given at the first attempt. I've had to include the "usbinput" hook into the initramfs as the keyboard is attached via USB. However I can't think that this is a problem, as I've used the "usbinput" hook on other machines without a problem. Has anyone experienced something like this already? What might be the problem here? How can I debug this? I thought of rewriting the "encrypt" hook to output the entered passphrase, but before fiddling around with it, maybe there is something obvious I've missed here? Best regards, Karol Babioch
On Wed, Jan 16, 2013 at 12:59 AM, Karol Babioch <karol@babioch.de> wrote:
Has anyone experienced something like this already? What might be the problem here?
I have noticed that it sometimes takes some time (~1 second) before the keyboard starts working in the initramfs (on my MacBook Air at least, so this _might_ be specific to hid_apple, which would also affect your friend). I notice this when I boot with "break", and immediately type "exit" to continue booting. If I'm too quick it ends up as "xit". Btw, I didn't look into this, so it might not be a time delay, could also be that the first key-stroke is 'lost'. Something to check.
I thought of rewriting the "encrypt" hook to output the entered passphrase,
Sounds like a reasonable approach. -t
participants (2)
-
Karol Babioch
-
Tom Gundersen