aboutsummaryrefslogtreecommitdiffstats
path: root/checks/run-gpg
blob: 4128e00d9669195d8a6a37690a9b499c1980a888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

[ -n "$show_cmds" ] && echo "../g10/gpg --homedir . $*"

if ../g10/gpg --homedir . $* 2>err.tmp.$$ ; then
    :
else
    echo "(../g10/gpg --homedir . $*) failed" >&2
    cat err.tmp.$$ >&2
    rm err.tmp.$$
    exit 1
fi
fgrep -v -f - err.tmp.$$ <<EOF
gpg: Good signature from
gpg: Signature made
gpg: note: cipher algorithm 3 not found in preferences
gpg: note: cipher algorithm 4 not found in preferences
EOF
rm err.tmp.$$