summaryrefslogtreecommitdiffstats
path: root/checks/armdetach.test
blob: c68c5da82f17dadfbc6b1eecbaf2326b85a0f65a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

. $srcdir/defs.inc || exit 3


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