diff options
Diffstat (limited to 'checks/armsigs.test')
-rwxr-xr-x | checks/armsigs.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/checks/armsigs.test b/checks/armsigs.test new file mode 100755 index 0000000..aecc064 --- /dev/null +++ b/checks/armsigs.test @@ -0,0 +1,11 @@ +#!/bin/sh + +. $srcdir/defs.inc || exit 3 + +#info Checking armored signatures +for i in $plain_files $data_files ; do + echo "$usrpass1" | $GPG --passphrase-fd 0 -sa -o x --yes $i + $GPG -o y --yes x + cmp $i y || error "$i: mismatch" +done + |