This commit is contained in:
2026-05-23 05:09:58 -06:00
parent ed494e9a08
commit c081716207
13 changed files with 7 additions and 23 deletions
+6 -1
View File
@@ -1,14 +1,19 @@
#!/bin/bash
echo "autoshredding these files:"
find . -type f \( -path ".git" -o -path "keystore" -o -path "archives" \) -prune \( -name "*.sha512" -o -name "checksums*" -o -name "private*" -o -name ".*" -o -name "*.sig" -o -name "*.7z" -o -name "anonymous_signer" \) -print -exec shred -uz {} \;
echo $?
echo "autoshredding out"
srm -r -z -l -l ./out
echo $?
echo "rebuilding out"
mkdir -p out/contents
echo "put files to verifiably archive in here" > out/contents/README.md
echo "# todo: make this nice" > ./out/README.md
cp test_validate_passphrase.sh out
chmod +x out/test_validate_passphrase.sh
cp verify-everything.sh out
chmod +x out/verify-everything.sh
echo done :3