workan
This commit is contained in:
@@ -77,7 +77,7 @@ unset attribution_passphrase_check
|
|||||||
} | sha512sum | awk '{print $1}' > "$out_dir/attribution.sha512"
|
} | sha512sum | awk '{print $1}' > "$out_dir/attribution.sha512"
|
||||||
|
|
||||||
printf "sanity checking: changing working directory to $out_dir"
|
printf "sanity checking: changing working directory to $out_dir"
|
||||||
cd out
|
cd "$out_dir"
|
||||||
checkcode $?
|
checkcode $?
|
||||||
printf "sanity checking: verification"
|
printf "sanity checking: verification"
|
||||||
bash verify-everything.sh
|
bash verify-everything.sh
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
anonymous namespaces="file-integrity" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHNjfc58+rgA/WBEhdF8y4r6y4JddB8RPw2AQHHkaZI0 anonymous
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
e7ff3efd3222f6dac5f6156c9d417c90dc56c34973b1b86573e139de1edfb2c15334b3fde0b2295cf63b66b567c22f8a95870c54eacfe9e9aeb5f0d31fa1ff2d
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
51b0e1ebf18adf1dabc4d1e0a1a8f5568e6ab51dd490b9425375c067ba8a9a419f235d761f975bcc8a44bb8135a81cef1be95294e365a51c7b90137dc76f6212 ./out/anonymous_signer
|
|
||||||
46bd2773528f7670865fb15b7db06e9011989b3aa5bb09c00c4f50a46f5de22225938d9ea25447bef691df598c48505ab8a35fe13baadb47261e4a6cdf4bc8f7 ./out/contents.7z
|
|
||||||
fc283df1f568f034617c1d1388fcc17b5961e27a5827be686bb4ade269e149511d78ed6150e8339be6925f96980e1529a23e8d15ff18470fa259ffa22b36f97d ./out/contents.7z.sig
|
|
||||||
f91f1e84c205e1a5d1827be1efb5f576a04894f5649149b6bf5e1cf6e02a29b1470d8aec9ff334a99f5dfc50712a081bfedc182aacd3f6b65249e5f84c0630b3 ./out/test_validation_passphrase.sh
|
|
||||||
db0617ccc8fd63a0906532e45eca1c2e07cf476cf9d6c68d2241cc6e254afe22e829bacce48e96cff5975cfd07a10dbd4e2d9006214344711a9571edf3e55987 ./out/verify-everything.sh
|
|
||||||
Binary file not shown.
@@ -1,6 +0,0 @@
|
|||||||
-----BEGIN SSH SIGNATURE-----
|
|
||||||
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgc2N9znz6uAD9YESF0XzLivrLgl
|
|
||||||
10HxE/DYBAceRpkjQAAAAOZmlsZS1pbnRlZ3JpdHkAAAAAAAAABnNoYTUxMgAAAFMAAAAL
|
|
||||||
c3NoLWVkMjU1MTkAAABA0h80JbN4Gk0q1i9lqF3A1lRFfqjPQrFWblWe1IsZB8fQLl6G8j
|
|
||||||
l8Igkg5b7ifKRUz36908a/XVkhRbDTUGEkBg==
|
|
||||||
-----END SSH SIGNATURE-----
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
|
||||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
|
|
||||||
QyNTUxOQAAACBzY33OfPq4AP1gRIXRfMuK+suCXXQfET8NgEBx5GmSNAAAAJAE2OdRBNjn
|
|
||||||
UQAAAAtzc2gtZWQyNTUxOQAAACBzY33OfPq4AP1gRIXRfMuK+suCXXQfET8NgEBx5GmSNA
|
|
||||||
AAAEBahLsB5/tAbPyNI//1Smj4wqMSD3wY9n6F2nzHb6GQG3Njfc58+rgA/WBEhdF8y4r6
|
|
||||||
y4JddB8RPw2AQHHkaZI0AAAACWFub255bW91cwECAwQ=
|
|
||||||
-----END OPENSSH PRIVATE KEY-----
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHNjfc58+rgA/WBEhdF8y4r6y4JddB8RPw2AQHHkaZI0 anonymous
|
|
||||||
@@ -1,14 +1,19 @@
|
|||||||
#!/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 "autoshredding out"
|
echo "autoshredding out"
|
||||||
srm -r -z -l -l ./out
|
srm -r -z -l -l ./out
|
||||||
|
echo $?
|
||||||
|
|
||||||
echo "rebuilding out"
|
echo "rebuilding out"
|
||||||
mkdir -p out/contents
|
mkdir -p out/contents
|
||||||
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_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
|
echo done :3
|
||||||
|
|
||||||
|
|||||||
Executable → Regular
Executable → Regular
Reference in New Issue
Block a user