From 74aaad2dd01c42aa2a93fcd930fb5555a9c172b0 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 23 May 2026 11:48:53 -0600 Subject: [PATCH] this is my life now. infinite frustration cast upon me by an evil curse \ --- create-attributable-archive.sh | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/create-attributable-archive.sh b/create-attributable-archive.sh index 06a9b98..2fe4c92 100755 --- a/create-attributable-archive.sh +++ b/create-attributable-archive.sh @@ -247,14 +247,7 @@ echo printf "auditing attribution passphrase" ret=$(audit_passphrase "$attribution_passphrase" "$attribution_passphrase_check") -checkcode $? - -# if printf "%s" "$attribution_passphrase" | cracklib-check | grep -q 'OK'; then -# echo -e "attribution passphrase strength: \033[0;32mOK!\033[0m" -# else -# echo -e "\n\n\033[0;31mAttribution passphrase is not secure enough! Exiting!\033[0m\n\n" -# exit 1 -# fi +checkcode $ret if [[ "$attribution_passphrase" != "$attribution_passphrase_check" ]]; then echo -e "\n\n\033[0;31mAttribution passphrases do not match! Exiting!\033[0m\n\n" @@ -313,14 +306,7 @@ echo printf "auditing keystore passphrase..." ret=$(audit_passphrase "$keystore_passphrase" "$keystore_passphrase_check") -checkcode $? - -# if printf "%s" "$keystore_passphrase" | cracklib-check | grep -q 'OK'; then -# echo -e "keystore passphrase strength: \033[0;32mOK!\033[0m" -# else -# echo -e "\n\n\033[0;31mKeystore passphrase not strong enough! Exiting!\033[0m\n\n" -# exit 1 -# fi +checkcode $ret if [[ "$keystore_passphrase" != "$keystore_passphrase_check" ]]; then echo -e "\n\n\033[0;31mKeystore passphrases do not match! Exiting!\033[0m\n\n"