blob: c63fb822f8d4458b69be4174da8163b3ef85ce4a (
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
$srcdir/run-gpg -e --yes -r "$usrname2" <$i | tee yy | $srcdir/run-gpg --yes > y
cmp $i y || error "$i: mismatch"
done
|