blob: 1d7449401e681be40c1d20e6d86523185575e9a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
. $srcdir/defs.inc || exit 3
#info Checking decryption of supplied files
for i in $plain_files ; do
echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 \
-o y --yes $srcdir/$i.asc
cmp $i y || error "$i: mismatch"
done
|