This commit is contained in:
Eric Bell
2026-08-03 22:20:29 -04:00
commit dae253e653
5 changed files with 1877 additions and 0 deletions

10
hardening-work/lock.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -euo pipefail
cd ~
sudo umount /secure-projects
sudo cryptsetup close secure_projects
echo 'VERIFY LOCKED — should report "inactive"'
status_output="$(sudo cryptsetup status secure_projects)"
echo "$status_output"
echo "$status_output" | grep -q 'inactive'