You are not logged in.

#1 2022-09-18 12:27:32

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Luks password suddenly not recognized when booting

Hi,

My root is on a Luks partition with a key enrolled in the TPM (with Secure Boot). I also have a passphrase set up for manual unlocking.

Up to now, when I (for example) forgot to sign an .efi image and try to boot, unlocking would fail, print out the error and fallback to a password prompt. After entering the password normal booting was possible.

However when I tried this morning, at the fallback password prompt my passphrase was systematically rejected, which would then lead to the recovery shell (which is disabled) and an error.

I booted from live media and was able to properly unlock the disk, so the passphrase still works.

I'm thinking it could be some kind of keyboard layout issue, but I haven't changed anything to the previous setup.

HOOKS=(systemd autodetect modconf block keyboard sd-vconsole sd-encrypt)
cat /etc/vconsole.conf 
KEYMAP=fr

I just tried a second time to boot to an unsigned image and the behavior is consistent. Booting to the signed image with TPM unlocking works fine.

Any idea where to look ? Thanks !

Last edited by Cvlc (2022-09-18 12:28:10)

Offline

Board footer

Powered by FluxBB