| ▲ | saghm a day ago | |||||||
I've been doing almost the same exact thing for a while, except on Arch and with a different EDID than my actual display drive my handheld that I stream to is 16:10 rather than 16:9 like my actual monitor. After a couple of months something changed (maybe a kernel update, although I never fully tracked it down) where the kernel no longer respects the parameter about which display to use for the initial LUKS decrypt and tries to use the fake display no matter that, which prevents me from unlocking it until after a timeout of a few minutes. I've made this somewhat less annoying by setting up unlocking via ssh on a local IP so that I can just initiate a reboot and then do other things around the house without having to wait around next to it until it times out and falls back to the real display, but it would be really nice to not need to wait in the times when I don't have any need to do anything else for a few minutes. Did you ever happen to run into this timeout issue, and if so, do you know how to fix it? | ||||||||
| ▲ | BatteryMountain a day ago | parent [-] | |||||||
If you have a tpm (or virtual tpm), you can enroll your passphrase for auto unlock. When sealing the tpm slot, you can decide how much should be sealed: kernel version, drivers, firmware updates, hardware changes etc.. meaning a kernel update can break the seal and ask for passphrase if you included kernel version in the seal. You can set it so the kernel/driver updates won't break your tpm seals. It's usually just one command to reseal the tpm values and the auto-unlock should work again, but it wastes time like you experienced. I use systemd-cryptenroll and a couple boot args. If you have claude code installed (or ssh access for it), you can ask it to investigate your entire boot chain. It can find and fix it in 5 minutes. | ||||||||
| ||||||||