cleanup
This commit is contained in:
Submodule
+1
Submodule Encrypt-Share-Attribution added at e2a3f08b51
@@ -0,0 +1 @@
|
|||||||
|
# # Verifiably, Attributably Secure Archives
|
||||||
@@ -1,6 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "autoshredding these files:"
|
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 $?
|
||||||
|
|
||||||
echo "autoshredding out"
|
echo "autoshredding out"
|
||||||
@@ -9,11 +17,16 @@ echo $?
|
|||||||
|
|
||||||
echo "rebuilding out"
|
echo "rebuilding out"
|
||||||
mkdir -p out/contents
|
mkdir -p out/contents
|
||||||
|
echo $?
|
||||||
echo "put files to verifiably archive in here" > out/contents/README.md
|
echo "put files to verifiably archive in here" > out/contents/README.md
|
||||||
echo "# todo: make this nice" > ./out/README.md
|
echo "# todo: make this nice" > ./out/README.md
|
||||||
cp test_validation_passphrase.txt out/test_validate_passphrase.sh
|
cp test_validation_passphrase.txt out/test_validate_passphrase.sh
|
||||||
|
echo $?
|
||||||
chmod +x out/test_validate_passphrase.sh
|
chmod +x out/test_validate_passphrase.sh
|
||||||
|
echo $?
|
||||||
cp verify-everything.txt out/verify-everything.sh
|
cp verify-everything.txt out/verify-everything.sh
|
||||||
|
echo $?
|
||||||
chmod +x out/verify-everything.sh
|
chmod +x out/verify-everything.sh
|
||||||
|
echo $?
|
||||||
echo done :3
|
echo done :3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user