News for hackers. Stuff that matters.
Re:Microsoft forced me to switch to Linux by tosti on Wednesday January 28, 2026 @01:49PM (#46799862)
You can use a TPM for disk encryption with Linux if you want. You also get to use your own secureboot keys if you want. Your choice.

I can't be bothered. My 80386 worked fine without any of the above and I still don't need any of it on a Zen%d (except Linux)

Re:Microsoft forced me to switch to Linux by hparadiz on Wednesday January 28, 2026 @02:36PM (#46800442)
Yea I was looking at this for work. We require full disk encryption for all operating systems but linux is the one where it's a passphrase or a yubikey. In my personal life it would just make managing my PC more annoying. Imagine a motherboard failure and boom there goes my entire disk.
Re:Microsoft forced me to switch to Linux by jacquesm on Wednesday January 28, 2026 @02:55PM (#46800697)
Yubikeys are very useful. I was pointed to them by a colleague and was a bit skeptical in the beginning but since then I am more than happy to use them, absolutely flawless execution. The only thing that I am a bit concerned about is that it isn't the key that I place on the device that governs all this so you can't be 100% sure that there isn't some kind of supply chain trick that would allow the manufacturer or one or more of their employees to create duplicate keys.
Re:Microsoft forced me to switch to Linux by plagiarist on Wednesday January 28, 2026 @03:57PM (#46801392)
With Linux I think you do have the option of encrypting with your own cert using the PCKS#11 module on the Yubikey.
Re:Microsoft forced me to switch to Linux by jacquesm on Wednesday January 28, 2026 @04:07PM (#46801520)
That's interesting, thank you, I will definitely look into this.
Re:Microsoft forced me to switch to Linux by Terr_ on Wednesday January 28, 2026 @02:53PM (#46800682)
> Imagine a motherboard failure

Hold up, I'm no expert on Secure Boot, but LUKS allows you to have multiple entry keys to the same drive.

This means you can have one key of random gobbledegook which is kept and auto-used by the magic motherboard, and also a passphrase that you can memorize or write down, and either one is totally sufficient on its own.

You don't even need to set them up at the same time, you can start with one and then add the other as an option later.

Re:Microsoft forced me to switch to Linux by hparadiz on Wednesday January 28, 2026 @03:06PM (#46800838)
Secureboot is something else. It verifies the boot loader at the BIOS. This can be broken by the system itself (like if it's hacked). So it's protecting you against modifications to the boot loader. This is where kernel modules can be injected.

TPM 2.0 is something else. It's typically soldered onto the motherboard as a physical device and the key can be generated and then used to encrypt the disk. The private key can not be extracted. Only the signature and you can ask the TPM to sign a binary blob with the private key while providing you the public key to verify. This protects you against physical access to your device. No one can take your disk and decrypt it.

Re:Microsoft forced me to switch to Linux by Terr_ on Wednesday January 28, 2026 @04:03PM (#46801468)
> the key can be generated and then used to encrypt the disk

Right, you can't recover that specific key, but you also don't have to for accessing your data, if you have set up one (or more) alternate keys/phrases before disaster struck.

AFAIK: 99% of your drive is encrypted by a giant fixed unchanging master key, and that is itself encrypted with a non-master key/passphrase, and stored in the "header" 1%. There's room to store multiple copies encrypted with different non-master passphrases.

In that model, the TPM is simply providing its own passphrase and consuming one of those co-equal slots, so having one or more alternates is sufficient to protect your drive from motherboard failure.

Re:Microsoft forced me to switch to Linux by vladvasiliu on Wednesday January 28, 2026 @05:05PM (#46802215)
You can have automatic unlock with tpm2, with or without a pin, in addition to passphrase, file, fido2, pkcs#11 cert, or whatever else is supported by luks.

I've been using this for a few years now, and never had an issue.

https://wiki.archlinux.org/title/Systemd-cryptenroll

> Imagine a motherboard failure and boom there goes my entire disk.

You can also set a long-ass key in addition to the other methods, and back it up somewhere safe. It works the same as bitlocker: you have key which can decrypt the drive without external help from a TPM in case something goes wrong.

Re:Microsoft forced me to switch to Linux by hparadiz on Tuesday February 03, 2026 @06:09PM (#46878730)
This is actually a super useful summary. Thank you.