this is my life now. infinite frustration cast upon me by an evil curse \
This commit is contained in:
@@ -311,12 +311,16 @@ echo "input keystore passphrase (again):"
|
|||||||
read -r -s keystore_passphrase_check
|
read -r -s keystore_passphrase_check
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if printf "%s" "$keystore_passphrase" | cracklib-check | grep -q 'OK'; then
|
printf "auditing keystore passphrase..."
|
||||||
echo -e "keystore passphrase strength: \033[0;32mOK!\033[0m"
|
audit_passphrase "$keystore_passphrase" "$keystore_passphrase_check"
|
||||||
else
|
checkcode $?
|
||||||
echo -e "\n\n\033[0;31mKeystore passphrase not strong enough! Exiting!\033[0m\n\n"
|
|
||||||
exit 1
|
# if printf "%s" "$keystore_passphrase" | cracklib-check | grep -q 'OK'; then
|
||||||
fi
|
# 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
|
if [[ "$keystore_passphrase" != "$keystore_passphrase_check" ]]; then
|
||||||
echo -e "\n\n\033[0;31mKeystore passphrases do not match! Exiting!\033[0m\n\n"
|
echo -e "\n\n\033[0;31mKeystore passphrases do not match! Exiting!\033[0m\n\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user