data1701d

joined 1 year ago
[–] data1701d@startrek.website 3 points 3 months ago (1 children)

Not quite. Upon a Google, it looks like they are hacks, but Wayland doesn’t support programs (like the Xscreensaver daemon) blanking the screen and would need a standard to do so.

However, these screensavers are just individual binaries that the daemon executes, so although they won’t pop up automatically, you should still be able to run and enjoy them as fun little graphics demos.

[–] data1701d@startrek.website 3 points 3 months ago

Cool. In a little over a month, I hit 3 years.

[–] data1701d@startrek.website 1 points 3 months ago

If it doesn’t simulate a connected monitor, it looks like there are little HDMI shims that do called EDID emulators that are available for relatively cheap.

[–] data1701d@startrek.website 2 points 3 months ago

(Note: Anything I say could be B.S. I could be completely misunderstanding this.)

Clevis isn’t too difficult to set up - Arch Wiki documents the process really well. I’ve found it works better with dracut that mkinitcpio.

As for PCR registers (which I haven’t set up yet but should), what I can tell, it sets the hash of the boot partition and UEFI settings in the TPM PCR register so it can check for tampering on the unencrypted boot partition and refuse to give the decryption keys if it does. That way, someone can’t doctor your boot partition and say, put the keys on a flash drive - I think they’d have to totally lobotomize your machine’s hardware to do it, which only someone who has both stolen your device and has the means/budget to do that would do.

You do need to make sure these registers are updated every kernel update, or else you’ll have to manually enter the LUKS password the next boot and update it then. I’m wondering if there’s a hook I can set up where every time the boot partition is updated, it updates PCR registers.

[–] data1701d@startrek.website 4 points 3 months ago (1 children)

You're somewhat right in the sense that the point of disk encryption is not to protect from remote attackers. However, physical access is a bigger problem in some cases (mostly laptops). I don't do it on my desktop because I neither want to reinstall nor do I think someone who randomly breaks in is going to put in the effort to lug it away to their vehicle.

[–] data1701d@startrek.website 5 points 3 months ago (2 children)

Clevis pretty much does TPM encryption and is in most distros' repos. I use it on my Thinkpad. It would be nice if it had a GUI to set it up; more distros should have this as a default option.

You do have to have an unencrypted boot partition, but the issues with this can at least in be mitigated with PCR registers, which I need to set up.

[–] data1701d@startrek.website 1 points 3 months ago

It’s a smidge more difficult on Debian if you want to use a non-ext4 filesystem - granted for most people, ext4’s probably still fine. I use it on my desktop, which doesn’t have encryption.

[–] data1701d@startrek.website 3 points 3 months ago (1 children)

Yes, fellow OpenTTD player.

[–] data1701d@startrek.website 2 points 3 months ago (3 children)

I’m using LVM. The BIOS solution would be a bad idea because it would be more difficult to access the drive on other systems if you had to; LVM allows you to enter your password on other systems to decrypt.

[–] data1701d@startrek.website 3 points 3 months ago (1 children)

Do your servers have TPM? Clevis might be the way to go; I use it on my Thinkpad and it makes my life easy. If the servers don’t have TPM, Clevis also supports this weird thing called Tang, which from what I can tell basically assures that the servers can only be automatically decrypted on your local network. If Clevis fails, you can have it fall back to letting you enter the LVM password.

[–] data1701d@startrek.website 1 points 3 months ago

Well, it was worth a shot.

[–] data1701d@startrek.website 2 points 3 months ago

I don't do it for my desktop because 1) I highly doubt my desktop would get stolen. 2) I installed Linux before I was aware of encryption, and don't have any desire to do a reinstall on my desktop at this time.

For my laptop, yes, I do (with exception of the boot partition), since it would be trivial to steal and this is a more recent install. I use clevis to auto-unlock the drive by getting keys from the TPM. I need to better protect myself against evil maids, though - luckily according to the Arch Wiki Clevis supports PCR registers.

view more: ‹ prev next ›