From 98b9ba756cd39b39f4f7e39a39cc8ce165287419 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 14 Aug 2015 06:32:44 -0400 Subject: [PATCH] gnupg: move pinentry helper to ~/.bin --- .bin/pinentry-dynamic | 5 +++++ .gnupg/gpg-agent.conf | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 .bin/pinentry-dynamic 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 -- 2.39.5