Re:Linux and TPMs with systemd measured boot [video]
by poettering on Sunday November 05, 2023 @06:17AM
(#38150121)
systemd has a similar logic, i.e. a recovery key concept, but we made sure you can type it in wherever a LUKS password would work too, even on systems where systemd is not available but LUKS ist. The recovery key is output in yubikey's modhex alphabet which means you can type it in on many keyboards even without setting a keymap first, and will work. We also output it as qr code, in case you want to scan it off. All on all it should be as robust as a recovery key could be.
Re:Linux and TPMs with systemd measured boot [video]
by generalizations on Sunday November 05, 2023 @10:19AM
(#38151833)
Oh cool. Does that mean the TPM key is set up to use one of the LUKS key slots?
Re:Linux and TPMs with systemd measured boot [video]
by poettering on Sunday November 05, 2023 @04:00PM
(#38155594)
Yes, a tpm2 enrollment takes up one slot, the recovery key another, a fido2 yet another, a pkcs11 key yet another and a password yet another in any combination/subset you like.
Re:Linux and TPMs with systemd measured boot [video]
by immibis on Sunday November 05, 2023 @11:00AM
(#38152262)
That's a highly unusual attitude for systemd. Most of the systemd architecture requires you to run systemd for everything if you use it at all. What changed?
Re:Linux and TPMs with systemd measured boot [video]
by poettering on Sunday November 05, 2023 @04:01PM
(#38155603)
Nothing changed. You are just a victim of FUD on the Internet, my friend. That's all.
Annoyingly, this is a random 16 byte value that's translated into a numeric string that only Ubuntus's cryptsetup wrapper seems to use. You need to convert it into an actual key if you want to re-enroll your TPM or add a key file/passphrase to another slot.
If you don't back up the recovery key, your data is lost.