blob: 95a1efd63db693bd21121143b04edbc07efead38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
. $srcdir/defs.inc || exit 3
#info Checking armored encryption with a pipe
for i in $plain_files $data_files ; do
$srcdir/run-gpg -ea --yes -r "$usrname2" < $i | tee x | $srcdir/run-gpg -o y --yes
cmp $i y || error "$i: mismatch"
$srcdir/run-gpg --yes < x > y
cmp $i y || error "$i: mismatch"
done
|