The TPM could be used to generate a LUKS decryption key from a password or PIN.
That would tie that password to the hardware, but with LUKS you can have multiple ones, so a long password that directly unlocks the key should be possible in addition
The TPM could be used to generate a LUKS decryption key from a password or PIN.
That would tie that password to the hardware, but with LUKS you can have multiple ones, so a long password that directly unlocks the key should be possible in addition
This is probably the main reason every mainboard has TPMs now, since all common operating systems (Android, iOS/MacOS and Windows) do it.
From what I heard the Ubuntu installer offers a version that doesn't suck (if secure boot is enabled at install time) so using that is probably fine, but I would beware of trying to DIY it since it's easy to do incorrectly, most guides are wrong, and you will likely end up with easily bypassable encryption.
Thankfully I don't even trust TPM, so I just use regular passphrase unlock. This has added benefit of password expiration if unused (I will forget it eventually).
What about it do you not trust, out of curiosity? And how do you ensure OS integrity if not using TPM?
TPM is great on paper, but in practice, there was little planning to ensure that cryptographic keys would be safeguarded by hardware manufacturers, and that's exactly what happened. Now TPM is considered weak as a means of securing data.
I'm not aware of any consumer distros that use TPM enrollment for anything out of the box, though the tools may be present.
Have a look at how Clevis works. That will give you an idea of how easy it is to work tish TPM in Linux.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0