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

. defs.inc || exit 3


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