blob: 7df24efec30e111231f014705385ee7b3e0c23e7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
. $srcdir/defs.inc || exit 3
#info Checking encryption with a pipe
for i in $plain_files $data_files ; do
$GPG --always-trust -e --yes -r "$usrname2" <$i | $GPG --yes > y
cmp $i y || error "$i: mismatch"
done
|