3 . $srcdir/defs.inc || exit 3
5 for i in $plain_files $data_files; do
6 echo "$usrpass1" | $GPG --passphrase-fd 0 -s -o x --yes $i
8 cmp $i y || error "$i: mismatch"
11 for da in `all_hash_algos` ; do
14 # RSA key, so any hash is okay
15 if have_pubkey_algo "RSA"; then
16 for i in $plain_files; do
17 $GPG -u $usrname3 --digest-algo $da -s -o x --yes $i
19 cmp $i y || error "$i: mismatch"
20 # process only the first one
25 # Using the DSA sig key - only 160 bit or larger hashes
26 if test $da != "MD5"; then
27 for i in $plain_files; do
28 echo "$usrpass1" | $GPG --passphrase-fd 0 --digest-algo $da \
31 cmp $i y || error "$i: mismatch"
32 # process only the first one