소스 검색

Try batch

Bob Mottram 8 년 전
부모
커밋
ca17c23fea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/freedombone-pass

+ 1
- 1
src/freedombone-pass 파일 보기

@@ -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