summaryrefslogtreecommitdiffstats
path: root/tests/openpgp/detach.test
blob: 6a3ae05c5ed542262eab5fe20ab0c2b49627bc03 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

. $srcdir/defs.inc || exit 3

#info Checking detached signatures
for i in $plain_files $data_files ; do
    echo "$usrpass1" | $GPG --passphrase-fd 0 -sb -o x --yes $i
    $GPG -o /dev/null --yes x  <$i || error "$i: bad signature"
done