Use system pinentry.py from my pyassuan in gpg-agent-spawn.sh.
authorW. Trevor King <wking@drexel.edu>
Sun, 25 Mar 2012 10:52:21 +0000 (06:52 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 25 Mar 2012 10:52:21 +0000 (06:52 -0400)
posts/gpg-agent/gpg-agent-spawn.sh

index d75dcfe9b32a4cf7ccb66fc4555b8561579bca26..282f247047df6c1c14ce2b21eb55310e4c63718e 100755 (executable)
@@ -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}"