From: Mike Frysinger Date: Fri, 14 Aug 2015 10:32:44 +0000 (-0400) Subject: gnupg: move pinentry helper to ~/.bin X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=98b9ba756cd39b39f4f7e39a39cc8ce165287419;p=home.git gnupg: move pinentry helper to ~/.bin --- diff --git a/.bin/pinentry-dynamic b/.bin/pinentry-dynamic new file mode 100755 index 0000000..5c569e9 --- /dev/null +++ b/.bin/pinentry-dynamic @@ -0,0 +1,5 @@ +#!/bin/sh +case $* in +*-display*) exec pinentry-gtk-2 "$@" ;; +*) exec pinentry-curses "$@" ;; +esac diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf index fc81fe0..051dc42 100644 --- a/.gnupg/gpg-agent.conf +++ b/.gnupg/gpg-agent.conf @@ -1,4 +1,4 @@ -pinentry-program /usr/bin/pinentry-dynamic +pinentry-program ~/.bin/pinentry-dynamic no-grab # GPGConf disabled this option here at Wed Sep 1 00:04:01 2004 EDT default-cache-ttl 604800