From b245a9778fd759ece38093935ba2b677d1f1c760 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 23 May 2026 08:03:23 -0600 Subject: [PATCH] sum updoots --- test_validation_passphrase.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/test_validation_passphrase.txt b/test_validation_passphrase.txt index 822606a..580925e 100644 --- a/test_validation_passphrase.txt +++ b/test_validation_passphrase.txt @@ -2,9 +2,13 @@ set -e attrib_hash=$(cat "./attribution-checksum.sha512") -echo "enter passphrase to test" -read passphrase -echo +if [ -z "$1" ]; then + echo "enter passphrase to test" + read passphrase + echo +else + passphrase="$1" +fi tested_hash=$( ( echo -n "$passphrase"; cat "./contents.7z" ) | sha512sum | awk '{print $1}')