summaryrefslogtreecommitdiffstats
path: root/tests/openpgp/armdetach.test
blob: c445d6ce65ef763faa048280e0de55a386e2c2e6 (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" | $GPG --passphrase-fd 0 -sab -o x --yes $i
    $GPG -o /dev/null --yes x  <$i || error "$i: bad signature"
done