Try batch
This commit is contained in:
parent
b75b6aafe1
commit
ca17c23fea
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue