summaryrefslogtreecommitdiffstats
path: root/checks/armsigs.test
blob: 34b5a7fa3459e16bc5a0d7b15569c333e613d2eb (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" | $srcdir/run-gpg --passphrase-fd 0 -sa -o x --yes $i
    $srcdir/run-gpg -o y --yes x
    cmp $i y || error "$i: mismatch"
done