this post was submitted on 25 Dec 2023
89 points (97.8% liked)

Linux

48072 readers
1 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
 

I'm curious about the possible uses of the hardware Trusted Protection Module for automatic login or transfer encryption. I'm not really looking to solve anything or pry. I'm just curious about the use cases as I'm exploring network attached storage and to a lesser extent self hosting. I see a lot of places where public private keys are generated and wonder why I don't see people mention generating the public key from TPM where the private key is never accessible at all.

you are viewing a single comment's thread
view the rest of the comments
[–] savvywolf@pawb.social 34 points 2 years ago (2 children)

Personally, I don't see how a TPM module is more useful than full disk encryption with a password you enter on boot.

I struggle to see how it makes automatic login safer given it does nothing to protect against the really common threat of someone physically stealing your laptop or desktop.

I don't trust any encryption or authentication system that I don't have access to the keys for. Microsoft has also kinda made me feel it's more for vendor lock in, like they did with secure boot.

Still, I'm probably being unreasonably pessimistic about it though - be interested to see any practical use cases of it.

[–] baseless_discourse@mander.xyz 2 points 2 years ago* (last edited 2 years ago)

The key is only released into ram, so unless the thief can read content from ram they cannot easily decrypt your disk. And most common thief probably do not have that ability.

That being said, you do need a login password to prevent the thief straight up booting into your OS and copy everything using the file manager...

One of the advantage of using TPM with FDE, is that you can use a much longer random password. If I dont use TPM I am forced to use a password I can remember, which is likely the same password I use somewhere else. This means if someone close to me stole my laptop, they will have reasonable chance of guessing my password.

[–] monk@lemmy.unboiled.info -1 points 2 years ago* (last edited 2 years ago) (1 children)

You can use insecure boot and not enter the password. It can't make stuff meaningfully more secure though, it just plain doesn't add any protection against evil maid.