From 5fb3c80d8f46cdfa19aea9958986f5e6055818af Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 22 Jul 2014 22:46:58 -0400 Subject: [PATCH] GPG_TTY env var set for mutt passwd decrypt prompt --- mutt/get-passwd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mutt/get-passwd b/mutt/get-passwd index 3370636..3af6284 100755 --- a/mutt/get-passwd +++ b/mutt/get-passwd @@ -17,6 +17,8 @@ # along with this program. If not, see . ## +# set up agent connection and pinentry CLI +export GPG_TTY="$(tty)" test -r ~/.gnupg/.agent && . ~/.gnupg/.agent # this will silently decrypt and retrieve the password if the agent is