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"
|
printf "auditing attribution passphrase"
|
||||||
ret=$(audit_passphrase "$attribution_passphrase" "$attribution_passphrase_check")
|
ret=$(audit_passphrase "$attribution_passphrase" "$attribution_passphrase_check")
|
||||||
checkcode $?
|
checkcode $ret
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
if [[ "$attribution_passphrase" != "$attribution_passphrase_check" ]]; then
|
if [[ "$attribution_passphrase" != "$attribution_passphrase_check" ]]; then
|
||||||
echo -e "\n\n\033[0;31mAttribution passphrases do not match! Exiting!\033[0m\n\n"
|
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..."
|
printf "auditing keystore passphrase..."
|
||||||
ret=$(audit_passphrase "$keystore_passphrase" "$keystore_passphrase_check")
|
ret=$(audit_passphrase "$keystore_passphrase" "$keystore_passphrase_check")
|
||||||
checkcode $?
|
checkcode $ret
|
||||||
|
|
||||||
# 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
|
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