3 .
$srcdir/defs.inc ||
exit 3
5 #info Checking signing and encryption for DSA
6 for i
in $plain_files $data_files ; do
7 $GPG $dsa_keyrings --always-trust -se -o x
--yes \
8 -u "$dsa_usrname1" -r "$dsa_usrname2" $i
9 $GPG $dsa_keyrings -o y
--yes x
10 cmp $i y || error
"$i: mismatch"
13 for da
in ripemd160 sha1
; do
14 for i
in $plain_files; do
15 $GPG $dsa_keyrings --always-trust -se -o x
--yes --digest-algo $da \
16 -u "$dsa_usrname1" -r "$dsa_usrname2" $i
17 $GPG $dsa_keyrings -o y
--yes x
18 cmp $i y || error
"$i: mismatch"
19 # process only the first one