Open 1989gironimo opened 5 years ago
I like this idea and will add it to my todo list.
According to https://wiki.archlinux.org/index.php/Dm-crypt/Device_Encryption : luksErase is used to quickly remove all active keys. So, that would probably be a good idea to use. Though, testing this will require a VM as to ensure I don't nuke any system I'm testing on.
Looking at https://superuser.com/a/1168933 , there will be a prompt that requires a YES input. echo -n "YES" | cryptsetup luksErase /dev/sdaX - should work for this, but I'll have to test.
I labeled this "Custom Commands", as this'll be something that will be a lot easier to setup when custom commands are done. Any custom commands won't be officially supported, so any issues with them won't be addressed.
Shamelessly stolen from @HulaHoopWhonix via github/usbkill: I don't know if custom commands are supported but nuking cryptsetup keyslots would be a good option.