armdetach.test 257 Bytes
Newer Older
Werner Koch's avatar
Werner Koch committed
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