aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/armdetachm.test
blob: f1958424c60c1c84ddc02b774cfc7fc11fb1b258 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

. $srcdir/defs.inc || exit 3

#info Checking armored detached signatures of multiple files
i="$plain_files $data_files"
echo "$usrpass1" | $GPG --passphrase-fd 0 -sab -o x --yes $i
cat $i | $GPG -o /dev/null --yes x || error "$i: bad signature"