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

. $srcdir/defs.inc || exit 3

#info Checking armored signatures
for i in $plain_files $data_files ; do
    echo "$usrpass1" | ./run-gpg --passphrase-fd 0 -sa -o x --yes $i
    ./run-gpg -o y --yes x
    cmp $i y || error "$i: mismatch"
done