this post was submitted on 19 Jul 2025
80 points (97.6% liked)

Linux

56591 readers
349 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] RoyaltyInTraining@lemmy.world 14 points 3 days ago (8 children)

Automated TPM2 LUKS setup might be the one thing that can get me to switch from Fedora to OpenSUSE.

[–] that_leaflet@lemmy.world 9 points 3 days ago (3 children)

TPM unlocking FDE is complicated for me. I fully understand measured boot and support it, but it seems less secure to me than manually unlocking the disk.

Once the disk is unlocked and you’re put onto the display manager, I feel like there are many more vulnerabilities that could be exploited to gain access to your data.

With manually entering the disk password, the data is locked. You either need to brute force it or use the XKCD wrench method.

So I feel TPM+Pin is the best for security. Unfortunately Aeon, which is based on OpenSUSE and implements TPM, doesn’t support TPM+Pin. I think it’s mainly due to how poor and widespread TPM support is. It could lock you out entirely.

[–] turbowafflz@lemmy.world 1 points 2 days ago (1 children)

What makes TPM+pin safer than just having a normal LUKS password? I would think it would be the same amount of security just with more chance of data loss if your computer gets damaged

[–] that_leaflet@lemmy.world 1 points 2 days ago (1 children)

TPM is used for measured boot. Measured boot can check various parts of the system to ensure they are the expected values haven’t been tampered with. You don’t want a part of the system to be replaced with malware and not realize it.

If it detects something changed, it won’t release its secret. It may signal to you that something malicious was done or something benign that the OS updated didn’t account for.

[–] turbowafflz@lemmy.world 1 points 2 days ago (1 children)

Interesting, how do you recover from that and get your data back?

[–] that_leaflet@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

A recovery code. I did a test install of Aeon and was given the code: dhnhlgc-fbndjbni-ufrkcfnk-nfebvtut-ftkkiiur-tijidtub-hujnucgu-erduhije

64 digits, but only alphabetical and a certain subset (16/26) due to weirdness of keyboard layouts.

[–] exu@feditown.com 1 points 3 days ago

Yep, you need a pin for your TPM to be safe. Here's a proof of concept of someone unlocking Linux systems without TPM pin.

https://oddlama.org/blog/bypassing-disk-encryption-with-tpm2-unlock/

[–] Tenderizer78@lemmy.ml 0 points 3 days ago* (last edited 3 days ago) (1 children)

As I understand it the TPM is for people who have physical access. It prevents them from cloning your disk.

I think with an adequately long password (or an adequately resource-intensive encryption algorithm) you can secure your disk enough to prevent unauthorized access. But the TPM would prevent them from removing your hard-drive and shunting it into a super-computer (so all password attempts wouldn't need to be on the crummy 10-year old laptop CPU) so a TPM + password is more secure.

[–] pmk 2 points 3 days ago

I've read the arguments and trust the people who know far more than I do about this, but... I just find it difficult to think of "unlocks automatically" as more safe than "is locked until I enter my password". I'm open for it, but it just feels strange to me.

load more comments (4 replies)