What are the encryption / anti-thief options for Steam Deck?
I'm wondering how secure is the hard disk on the Steam Deck.
It's a portable device one could easily lose... or get stolen, given how on-demand it is.
And you also have to consider that "it's a PC", someone could be using it with Google Chrome and have all their private passwords and accounts synced in there.
Would there be any sort of encryption by default or any other form of protection?
Posted Mar 1, 2022, 11:28 AM UTC
its a linux machine so in theory you can encrypt the drive at boot, im not sure if this is supported on the steam deck
Yes, this is what I would like to know, whether it's possible or not while keeping up with official Steam OS updates.
Since the root system partition (not the user partition) is meant to be kept read-only and changes get overriden on update I'm afraid it would cause trouble if you update the OS after having done such a change.
Well an encrypted machine would 100% work with SteamOS updates. The PC boots > you enter decryption code that unlocks the PC > then it can boot into linux and does whatever. Windows is encrypted, as is macosx and so is linux, and they work fine with updates.
Regardless of whether the root parition is read-only or not. That doest matter. All the Computer sees when it boots is a door, and it needs the key, once you unlock the door, the entire machine is unlocked until it is shutdown.
I think perhaps you dont have a deeper understanding about operating systems.
The main issue, is there is no keyboard, so how do we type in the password at the bootloader or start of the boot level? What kind of password would it accept etc.
I want to encrypt the user home partition (no point encrypting the read-only partition, it has no user data).
That is done using dm-crypt on systemd, right? (asuming they didn't change Manjaro too much).
Normally for that I think you have to write on /etc/crypttab and change some other things like adding hooks in mkinitcpio.conf which I expect would be part of the read-only filesystem.
Wouldn't that be overriden when an update comes?
I think with the bootloader you can decrypt and load the root partition, but I'm not sure what will happen when then the root attempts to mount a home partition without being aware of the encryption. I expect the system will boot but then it'll be unable to mount your user home data.
[deleted]
Two things to keep in mind.
The steamdeck is windows 11 ready, consequently the apu in the deck has an ftpm, like the regular chips do.
linux encryption can use the TPM for storing the keys.
So, it can probably be seamless. But I have very little experience with encrypting drives and/or file systems in linux.
I think you can use PAM facilities so that the same login for the user can unlock the partition. Then you only need to login once.
Also I believe Valve is experimenting with ways to login so you don't even need to enter your login & password: https://www.pcmag.com/news/report-valve-is-working-on-qr-code-logins-for-steam-steam-deck
I used to have my disk encrypted at the bootloader level and the encryption key stored on a USB flash drive that was part of my key chain. So stealing my laptop would be pointless, it wouldn't even boot without the key inserted. Something like that may work on the Deck -- but it would also mean you'd have an occupied USB port at least until the deck is booted up.
[deleted]