mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-12 03:59:22 -04:00

- Confirm in console output if encrypted mounts (root disk) is unmounted. (Because that is a pre-condition for wiping the LUKS full disk encryption key from RAM.) Thanks to @friedy10! https://github.com/friedy10/dracut/tree/master/modules.d/40sdmem https://forums.whonix.org/t/is-ram-wipe-possible-inside-whonix-cold-boot-attack-defense/5596
5 lines
112 B
Bash
Executable file
5 lines
112 B
Bash
Executable file
echo "Checking for mounted disks..."
|
|
dmsetup ls --target crypt
|
|
echo "WIPE RAM!"
|
|
/bin/sdmem -f
|
|
echo "WIPE DONE!"
|