From: W. Trevor King Date: Sun, 25 Mar 2012 10:52:21 +0000 (-0400) Subject: Use system pinentry.py from my pyassuan in gpg-agent-spawn.sh. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1731f326c15294d2c26bff4104e10e5a4bffa1b7;p=blog.git Use system pinentry.py from my pyassuan in gpg-agent-spawn.sh. --- 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}"