diff --git a/bash/util.sh b/bash/util.sh index 458995f..8a345ba 100644 --- a/bash/util.sh +++ b/bash/util.sh @@ -14,7 +14,9 @@ read_secret() { local prompt="${1}" local secret printf "%s" "${prompt}" 1>&2 - read -r -s secret + stty -echo + read -r secret + stty echo echo >&2 echo "${secret}" unset secret