From: Colin Watson Date: Mon, 4 Jul 2005 13:54:20 +0000 (+0000) Subject: gpg-refresh-cache: new tool to facilitate use of gnupg-agent X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=commitdiff_plain;h=157cf7afc40ed9f4b3bd5cd2fbcaa71d0bad8739 gpg-refresh-cache: new tool to facilitate use of gnupg-agent --- diff --git a/gpg-refresh-cache b/gpg-refresh-cache new file mode 100755 index 0000000..65bdb08 --- /dev/null +++ b/gpg-refresh-cache @@ -0,0 +1,5 @@ +#! /bin/sh +TMPDIR="$(mktemp -d /tmp/gpg-refresh-cache.XXXXXX)" +trap 'rm -rf "$TMPDIR"' EXIT +touch "$TMPDIR/foo" +gpg --clearsign "$TMPDIR/foo"