3 . $srcdir/defs.inc || exit 3
5 #info Checking encryption
6 for i in $plain_files $data_files ; do
7 $GPG --always-trust -e -o x --yes -r "$usrname2" $i
9 cmp $i y || error "$i: mismatch"
14 if have_cipher_algo "idea"; then
18 if have_cipher_algo "cast5"; then
22 if have_cipher_algo "blowfish"; then
26 if have_cipher_algo "aes"; then
27 algos="$algos aes aes192 aes256"
30 if have_cipher_algo "twofish"; then
31 algos="$algos twofish"
35 for i in $plain_files $data_files ; do
36 $GPG --always-trust -e -o x --yes -r "$usrname2" --cipher-algo $ca $i
38 cmp $i y || error "$i: mismatch"