23 points speckx 2 days ago 32 comments
Velocifyer 2 hours ago | parent
phoronixrly 1 hour ago | parent
phoronixrly 1 hour ago | parent
I also hear mjg59 is looking into encrypted swap hibernation support, so there's a slim chance there will be some development on the system-attestation front.
bri3d 1 hour ago | parent
Like, in Evil Maid Scenario 1, where the Evil Maid only has one-time access, if you've sealed to say 0,2,4,7,9 , or 7 and 15 with a reasonable setup for what gets extended into 15, the Evil Maid's Fake PIN Entry Software would _not_ validate in the secured boot configuration and couldn't actually unseal the TPM, only coerce you into entering your PIN. Then the Evil Maid would have to physically return to your "correct" boot state with the PIN to unseal the disk, no?
(this is all modulo firmware and early boot exploits, of course, since in that case the attestation could also be forged also)
bubblethink 1 hour ago | parent
phoronixrly 1 hour ago | parent
lakeviewterrace 1 hour ago | parent
You're in here shitting on TPM but don't seem to understand the threat model at all.
bubblethink 1 hour ago | parent
bri3d 59 minutes ago | parent
Now, to be clear, I don't think this negates TPM-sealed disk encryption or TPM-and-PIN sealed disk encryption; they're still meaningfully better than the alternatives (with a passphrase alone, your data is already compromised regardless in this invented scenario, and all scenarios are equally variable to the swiss-cheesiness of UEFI firmware unless it is replaced). But it is a valid model.
lakeviewterrace 1 hour ago | parent
This is literally a one click process in Windows (plus a couple shell commands to enable TPM+PIN).
I'm not disparaging the author in any way — he's merely documenting the stupidity.
Avamander 1 hour ago | parent
Windows and macOS both can do FDE with good UI/UX compared to Linux.
lakeviewterrace 1 hour ago | parent
bubblethink 1 hour ago | parent
lakeviewterrace 1 hour ago | parent
As opposed to accidentally creating your own key of "4", for instance.
A PIN can be used to protect the TPM from unlocking. Even if you set a PIN of "1234" — it would still be far more secure if the disk and laptop were ever to become separated, because the TPM will have generated a strong key anyway.
The TPM is basically a smart card soldered to the motherboard.
> How will you decrypt if the laptop goes bust or if you move the drive elsewhere
Windows and Apple both generate a recovery key as part of the enrollment process which you can store offline.
hparadiz 1 hour ago | parent
bubblethink 48 minutes ago | parent
lakeviewterrace 31 minutes ago | parent
bubblethink 25 minutes ago | parent
drdexebtjl 8 minutes ago | parent
rlpb 7 minutes ago | parent
setopt 1 hour ago | parent
I think this is specifically for the TPM2 integration, which isn’t required for FDE. But I assume it makes it smoother. System updates that requires multiple reboots for example are more annoying on Fedora, since every reboot requires re-entering the password, while on Mac I just login after the final reboot.
hparadiz 55 minutes ago | parent
lakeviewterrace 28 minutes ago | parent
The process is wholly dependent on bootloaders, systemd versions, and a bunch of other version-specific tooling.
Which none of the distros can ever agree on, so there are 50 variations of implementing disk encryption.
michaelt 18 minutes ago | parent
And it's been possible to get Windows-style self-unlocking FDE for 10+ years, such as by using Ubuntu Core - it just costs a bit, and most users aren't willing to pay $$$ to type one less password.
The design of the TPM makes much more sense for a closed-source operating system, where making it impossible to run a non-microsoft-signed OS protects you against rootkits. Open source OSes don't get that benefit, and the remaining benefits are very minor (and come with big downsides) so I can see why open source developers weren't in a hurry.
izacus 1 hour ago | parent
kanbankaren 53 minutes ago | parent
You have no idea what is inside the TPM chip and its vulnerabilities.
sscaryterry 48 minutes ago | parent
Grimeton 41 minutes ago | parent
davb 25 minutes ago | parent
davb 11 minutes ago | parent
tryauuum 10 minutes ago | parent
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