From 907cad81f7a62cbfa6c5a861512031c18a53399e Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 23 May 2026 07:35:58 -0600 Subject: [PATCH] sum updoots --- create-attributable-archive.sh | 2 ++ out/test_validate_passphrase.sh | 2 +- test_validation_passphrase.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/create-attributable-archive.sh b/create-attributable-archive.sh index 4a9b738..ee50c41 100755 --- a/create-attributable-archive.sh +++ b/create-attributable-archive.sh @@ -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):" diff --git a/out/test_validate_passphrase.sh b/out/test_validate_passphrase.sh index 82db412..822606a 100755 --- a/out/test_validate_passphrase.sh +++ b/out/test_validate_passphrase.sh @@ -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 diff --git a/test_validation_passphrase.txt b/test_validation_passphrase.txt index 82db412..822606a 100644 --- a/test_validation_passphrase.txt +++ b/test_validation_passphrase.txt @@ -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