Browse Source

Try batch

Bob Mottram 7 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,7 +320,7 @@ else
320 320
         mkdir -p ~/.passwords/$CURR_USERNAME
321 321
     fi
322 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 324
     if [ ! -f ~/.passwords/$CURR_USERNAME/$CURR_APP ]; then
325 325
         MASTER_PASSWORD=
326 326
         exit 5