mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
skip ram wipe inside VMs
https://forums.whonix.org/t/is-ram-wipe-possible-inside-whonix-cold-boot-attack-defense/5596/40
This commit is contained in:
parent
e06405c7be
commit
0e2fae2b69
@ -13,6 +13,11 @@ ram_wipe() {
|
||||
## check_quiet should show info in console.
|
||||
DRACUT_QUIET='no'
|
||||
|
||||
if systemd-detect-virt &>/dev/null ; then
|
||||
info "wipe-ram.sh: Skip, because VM detected, OK."
|
||||
return 0
|
||||
fi
|
||||
|
||||
info "wipe-ram.sh: START: COLD BOOT ATTACK DEFENSE - RAM WIPE ON SHUTDOWN"
|
||||
info "wipe-ram.sh: Checking if there are still mounted encrypted disks..."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user