Encrypt using better cipher algorithm
This commit is contained in:
parent
daea3fdc0d
commit
dec800c3d0
@ -67,11 +67,11 @@ export BASH_SDIR=/tmp/$BASHL_UUID
|
||||
|
||||
|
||||
function __cryptd {
|
||||
echo "<PASSWD>" | gpg -q --passphrase-fd 0 -o "$2" -d "$1"
|
||||
echo "<PASSWD>" | gpg --batch -q --cipher-algo AES256 --passphrase-fd 0 -o "$2" -d "$1"
|
||||
}
|
||||
|
||||
function __crypte {
|
||||
echo "<PASSWD>" | gpg -q --passphrase-fd 0 -o "$1.enc" -c "$1"
|
||||
echo "<PASSWD>" | gpg --batch -q --cipher-algo AES256 --passphrase-fd 0 -o "$1.enc" -c "$1"
|
||||
mv "$1.enc" "$1"
|
||||
}
|
||||
__CFILE=""
|
||||
|
Loading…
Reference in New Issue
Block a user