chiark / gitweb /
bsmtp-pull: drop -2; avoid connection sharing
[bin.git] / gpg-refresh-cache
1 #! /bin/sh
2 TMPDIR="$(mktemp -d /tmp/gpg-refresh-cache.XXXXXX)"
3 trap 'rm -rf "$TMPDIR"' EXIT
4 touch "$TMPDIR/foo"
5 gpg ${1:+-u "$1"} --clearsign "$TMPDIR/foo"