this is my life now. infinite frustration cast upon me by an evil curse \
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user