- Package:
- molly-guard
- Source:
- molly-guard
- Submitter:
- Thorsten Glaser
- Date:
- 2026-11-16 17:11:01 UTC
- Severity:
- wishlist
- Tags:
For all active cryptsetup/luks/whatever discs whose key is not random (such as in # <target name> <source device> <key file> <options> cswap /dev/vg-tglase/lv-swap /dev/random cipher=aes-xts-plain64,size=256,discard,plain,swap in /etc/crypttab), check on shutdown that the admin knows the password. Do this independent on whether logged in via SSH or not, do it always. Aus Gründen™. (For Reasons™.)
You could scan the crypttab on nōn-systemd services for devices with “initramfs” in the last field, and/or offer an /etc/defaults/ file where one could list their crypt devices to check (the raw names, i.e. something like /dev/sda2, LABEL=foo or UUID=foo) and then iterate over them with: cryptsetup --test-passphrase luksOpen $device
Control: tags -1 help thanks Tough luck. Send a MR. Greetings Marc
Control: tags -1 help thanks Tough luck. Send a MR. Greetings Marc