aboutsummaryrefslogtreecommitdiffstats
path: root/checks/detach.test
blob: d9f44db12afd06dae1e45f438f33aa31e967bf1b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

. defs.inc || exit 3

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