瀏覽代碼

Try batch

Bob Mottram 8 年之前
父節點
當前提交
ca17c23fea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-pass

+ 1
- 1
src/freedombone-pass 查看文件

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