4 ms·
Best i can tell, it comes from the -sec community. This because a encrypted HDD in a laptop is at its safest when the laptop is turned fully off. At that point
by digi_owl 11y ago
Best i can tell, it comes from the -sec community. This because a encrypted HDD in a laptop is at its safest when the laptop is turned fully off. At that point you have no keys in RAM or anything like that. Thus when you do not use your computer you turn it off, you do not sleep, you do not hibernate, you turn it off.
The systemd devs have a thing about listening to the -sec community. You can see this in how while the Linux default is to treat namespace mounts at private, systemd mount them as shared unless told otherwise. This because the -sec people recommend it that way (allows a sysadmin to override mounts from outside the namespace, to avoid dos-ing apparently).
Then again they also have a bit of theater in them. For example they accepted a patch to lock the computer if a HID devices was plugged in. But while the original patch did it on any device, they modified it so that it only happens on the device ids of known mouse wigglers used in police computer seizure kits.
- JoshTriplett 11y ago> Then again they also have a bit of theater in them. For example they accepted a patch to lock the computer if a HID devices was plugged in. But while the original patch did it on any device, they modified it so that it only happens on the device ids of known mouse wigglers used in police computer seizure kits. There was a series of two patches: one to logind to add a mechanism to tell all active user sessions to lock, and one to the udev rules provided with systemd to add a policy that plugging in a known mouse wiggler causes all active user sessions to lock. (It wouldn't make any sense to lock the screen when inserting any HID device.) Separately from that, logind also implements other policies for when to lock the screen, such as when closing a laptop lid without an external monitor connected.
- digi_owl 11y agoAnd how bloody hard it is to make the wiggler change the ID to look like any old mouse? Or one gets kitbashed out of a existing mouse? Or a new one comes to market that is not part of the IDs systemd have on file?