Merge pull request #121 from dismantl/gpg_backslashes
added -r flag to bash read to allow backslashes in GPG passphrases
This commit is contained in:
commit
09550fdd28
1 changed files with 1 additions and 1 deletions
|
|
@ -594,7 +594,7 @@ setup_passphrase()
|
|||
{
|
||||
if [ ! -z "${GPG_ENC_KEY}" -a ! -z "${GPG_SIGN_KEY}" -a "${GPG_ENC_KEY}" != "${GPG_SIGN_KEY}" ]; then
|
||||
echo -n "Please provide the passphrase for decryption (GPG key 0x${GPG_ENC_KEY}): "
|
||||
builtin read -s ENCPASSPHRASE
|
||||
builtin read -s -r ENCPASSPHRASE
|
||||
echo -ne "\n"
|
||||
PASSPHRASE=${ENCPASSPHRASE}
|
||||
export PASSPHRASE
|
||||
|
|
|
|||
Loading…
Reference in a new issue