From 4b2d5c8eb8b086bbe31560aa5ea414d50aabfc93 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 23 May 2026 05:30:55 -0600 Subject: [PATCH] cleanup --- Encrypt-Share-Attribution | 1 + README-instructions.txt | 1 + README.md | 1 + setup.sh | 15 ++++++++++++++- 4 files changed, 17 insertions(+), 1 deletion(-) create mode 160000 Encrypt-Share-Attribution create mode 100644 README-instructions.txt create mode 100644 README.md diff --git a/Encrypt-Share-Attribution b/Encrypt-Share-Attribution new file mode 160000 index 0000000..e2a3f08 --- /dev/null +++ b/Encrypt-Share-Attribution @@ -0,0 +1 @@ +Subproject commit e2a3f08b51ff9cf1f939faddf55085ef1f15a055 diff --git a/README-instructions.txt b/README-instructions.txt new file mode 100644 index 0000000..435caef --- /dev/null +++ b/README-instructions.txt @@ -0,0 +1 @@ +# # Verifiably, Attributably Secure Archives \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..3f733ea --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Verifiably, Attributably Secure Archives \ No newline at end of file diff --git a/setup.sh b/setup.sh index 906870a..7bf0090 100644 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,14 @@ #!/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 {} \; +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 "nuking errant priv key files" +shred -uz private_* +echo $? +shred -uz *.pub +echo $? +shred -uz attribution_passphrase_* echo $? echo "autoshredding out" @@ -9,11 +17,16 @@ echo $? echo "rebuilding out" mkdir -p out/contents +echo $? echo "put files to verifiably archive in here" > out/contents/README.md echo "# todo: make this nice" > ./out/README.md cp test_validation_passphrase.txt out/test_validate_passphrase.sh +echo $? chmod +x out/test_validate_passphrase.sh +echo $? cp verify-everything.txt out/verify-everything.sh +echo $? chmod +x out/verify-everything.sh +echo $? echo done :3