Hacker News new | ask | show | jobs
by tryauuum 37 days ago
I always struggle to understand the point of using disk encryption with TPM, as opposed to the disk encryption with LUKS + passphrase which you remember

With TPM you depend on it so much. What if it breaks? Should I backup the recovery key beforehand? My life has enough keys already Moving the disk to a new laptop also becomes pain

2 comments

> What if it breaks? Should I backup the recovery key beforehand?

TPM unlocking uses a keyslot in a LUKS container, just like your passphrase does. There are 10 keyslots, so it's not mutually exclusive operation. If TPM doesn't unlock LUKS (as would happen when you put the drive in another device), the bootloader will prompt for a passphrase just like it did before, once entered it will decrypt from another keyslot.

> I always struggle to understand the point of using disk encryption with TPM, as opposed to the disk encryption with LUKS + passphrase

What if you expect the machine to reboot, unattended, after a power outage for instance?

I don't expect my machine to reboot unattended. I immediately imagine the government prying it from my hands, booting it and then searching for vulnerabilities in lightdm / dumping the RAM (just checked and I have a line "TSME enabled" in kernel logs so dumping data from the memory sticks probably will be useless)

---

I've never thought much about secure unattended reboots, thank you for suggesting