summaryrefslogtreecommitdiffstats
path: root/checks/clearsig.test
blob: 69c2544d7bf21a1b9ced7d300d5e737dbbbbdf6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

. $srcdir/defs.inc || exit 3

# I can't compare the out because plain-3 has no LF as last charcater
# but the output has always one.  I do not thinkl this is a bug, because
# it is clear text and not binary text.
for i in $plain_files; do
    echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 -sat -o x --yes $i
    $srcdir/run-gpg --verify x
done
# and once more to check rfc1991
for i in $plain_files; do
    echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 \
			 --rfc1991 --digest-algo md5 -sat -o x --yes $i
    $srcdir/run-gpg --verify x
done