From 1731f326c15294d2c26bff4104e10e5a4bffa1b7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 25 Mar 2012 06:52:21 -0400 Subject: [PATCH] Use system pinentry.py from my pyassuan in gpg-agent-spawn.sh. --- posts/gpg-agent/gpg-agent-spawn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/gpg-agent/gpg-agent-spawn.sh b/posts/gpg-agent/gpg-agent-spawn.sh index d75dcfe..282f247 100755 --- a/posts/gpg-agent/gpg-agent-spawn.sh +++ b/posts/gpg-agent/gpg-agent-spawn.sh @@ -3,7 +3,7 @@ FILE="${HOME}/.gnupg/agent-info" GPG_TTY=$(tty) -#gpg-agent --daemon --enable-ssh-support --write-env-file "${FILE}" --pinentry-program "${HOME}/bin/pinentry.py" -gpg-agent --daemon --write-env-file "${FILE}" --pinentry-program "${HOME}/bin/pinentry.py" +#gpg-agent --daemon --enable-ssh-support --write-env-file "${FILE}" --pinentry-program "/usr/bin/pinentry.py" +gpg-agent --daemon --write-env-file "${FILE}" --pinentry-program "/usr/bin/pinentry.py" echo "export GPG_AGENT_INFO; GPG_TTY='${GPG_TTY}'; export GPG_TTY" >> "${FILE}" source "${FILE}" -- 2.26.2