diff options
Diffstat (limited to 'checks/armdetach.test')
-rwxr-xr-x | checks/armdetach.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/checks/armdetach.test b/checks/armdetach.test new file mode 100755 index 000000000..f09fc2b40 --- /dev/null +++ b/checks/armdetach.test @@ -0,0 +1,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 + |