Browse Source

Try batch

Bob Mottram 8 years ago
parent
commit
ca17c23fea
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-pass

+ 1
- 1
src/freedombone-pass View File

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