summaryrefslogtreecommitdiffstats
path: root/checks/detach.test
blob: cdad558c1c4f53e51285be4041de730eb44e6760 (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" | $srcdir/run-gpg --passphrase-fd 0 -sb -o x --yes $i
    $srcdir/run-gpg -o /dev/null --yes x  <$i || error "$i: bad signature"
done