this is my life now. infinite frustration cast upon me by an evil curse \

This commit is contained in:
2026-05-23 11:35:05 -06:00
parent 568ee014d4
commit bc20acec0f
+10 -6
View File
@@ -311,12 +311,16 @@ echo "input keystore passphrase (again):"
read -r -s keystore_passphrase_check
echo
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
printf "auditing keystore passphrase..."
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
if [[ "$keystore_passphrase" != "$keystore_passphrase_check" ]]; then
echo -e "\n\n\033[0;31mKeystore passphrases do not match! Exiting!\033[0m\n\n"