This commit is contained in:
2026-05-23 09:36:50 -06:00
parent b0292f6726
commit 76c92fa47a
+4
View File
@@ -88,6 +88,10 @@ reset() {
find "$dir" -mindepth 1 -type d -exec srm -r -z -l -l "{}" \;
checkcode $?
printf "finding and shredding erronious files in ${dir}..."
find "$dir" -type f \( -name "private_ed25519_*" -o -name "attribution_passphrase_*" \) -exec shred -uz "{}" \;
checkcode $?
printf "changing perms of files in $dir to 600..."
find "$dir" -type f -exec chmod 600 "{}" \;
checkcode $?