From dec800c3d0810446ffe29691dae9f39b2b6e4d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Tue, 10 Mar 2015 12:55:54 +0800 Subject: [PATCH] Encrypt using better cipher algorithm --- bash/bashrc/rbashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index 43ae775..fa3a4a7 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -67,11 +67,11 @@ export BASH_SDIR=/tmp/$BASHL_UUID function __cryptd { - echo "" | gpg -q --passphrase-fd 0 -o "$2" -d "$1" + echo "" | gpg --batch -q --cipher-algo AES256 --passphrase-fd 0 -o "$2" -d "$1" } function __crypte { - echo "" | gpg -q --passphrase-fd 0 -o "$1.enc" -c "$1" + echo "" | gpg --batch -q --cipher-algo AES256 --passphrase-fd 0 -o "$1.enc" -c "$1" mv "$1.enc" "$1" } __CFILE=""