Try batch

This commit is contained in:
Bob Mottram 2017-06-24 20:57:55 +01:00
parent b75b6aafe1
commit ca17c23fea
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ else
mkdir -p ~/.passwords/$CURR_USERNAME mkdir -p ~/.passwords/$CURR_USERNAME
fi fi
# padding helps to ensure than nothing can be learned from the length of the cyphertext # padding helps to ensure than nothing can be learned from the length of the cyphertext
pad_string "${CURR_PASSWORD}" | gpg -ca --cipher-algo AES256 --passphrase "$MASTER_PASSWORD" > ~/.passwords/$CURR_USERNAME/$CURR_APP pad_string "${CURR_PASSWORD}" | gpg --batch -ca --cipher-algo AES256 --passphrase "$MASTER_PASSWORD" > ~/.passwords/$CURR_USERNAME/$CURR_APP
if [ ! -f ~/.passwords/$CURR_USERNAME/$CURR_APP ]; then if [ ! -f ~/.passwords/$CURR_USERNAME/$CURR_APP ]; then
MASTER_PASSWORD= MASTER_PASSWORD=
exit 5 exit 5