sum updoots

This commit is contained in:
2026-05-23 07:35:58 -06:00
parent 7d674f135b
commit 907cad81f7
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -68,6 +68,7 @@ cd ..
checkcode $?
echo "Enter attribution passphrase:"
echo
read -r -s attribution_passphrase
echo
echo "Enter attribution passphrase again:"
@@ -108,6 +109,7 @@ mv out.7z "archives/verifiable_archive_${unix_seconds}.7z" > /dev/null 2>&1
checkcode $?
echo "input keystore passphrase:"
echo
read -r -s keystore_passphrase
echo
echo "input keystore passphrase (again):"
+1 -1
View File
@@ -9,7 +9,7 @@ echo
tested_hash=$( ( echo -n "$passphrase"; cat "./contents.7z" ) | sha512sum | awk '{print $1}')
if [[ "$attrib_hash" == "$tested_hash" ]]; then
echo -e "\n\nAttribution With Password $passphrase: \033[0;32mOK!\033[0m\n\n"
echo -e "Attribution With Password $passphrase: \033[0;32mOK!\033[0m"
else
echo -e "Attribution With Password $passphrase: \033[0;31mFAIL!\033[0m"
fi
+1 -1
View File
@@ -9,7 +9,7 @@ echo
tested_hash=$( ( echo -n "$passphrase"; cat "./contents.7z" ) | sha512sum | awk '{print $1}')
if [[ "$attrib_hash" == "$tested_hash" ]]; then
echo -e "\n\nAttribution With Password $passphrase: \033[0;32mOK!\033[0m\n\n"
echo -e "Attribution With Password $passphrase: \033[0;32mOK!\033[0m"
else
echo -e "Attribution With Password $passphrase: \033[0;31mFAIL!\033[0m"
fi