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

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

if ! ../g10/gpg --homedir . $* 2>err.tmp.$$ ; then
    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.$$