projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d765ec
)
Export GPG_AGENT_INFO in gpg-agent-spawn.sh.
author
W. Trevor King
<wking@drexel.edu>
Wed, 7 Dec 2011 18:58:28 +0000
(13:58 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 7 Dec 2011 18:58:28 +0000
(13:58 -0500)
posts/gpg-agent/gpg-agent-spawn.sh
patch
|
blob
|
history
diff --git
a/posts/gpg-agent/gpg-agent-spawn.sh
b/posts/gpg-agent/gpg-agent-spawn.sh
index 432e69f968ec666c6960de757826d585218fb994..acaddbab8a7126eb809c47c66fc84a59218c8df0 100755
(executable)
--- a/
posts/gpg-agent/gpg-agent-spawn.sh
+++ b/
posts/gpg-agent/gpg-agent-spawn.sh
@@
-5,5
+5,5
@@
FILE="${HOME}/.gnupg/agent-info"
GPG_TTY=$(tty)
#gpg-agent --daemon --enable-ssh-support --write-env-file "${FILE}" --pinentry-program "${HOME}/bin/pinentry"
gpg-agent --daemon --write-env-file "${FILE}" --pinentry-program "${HOME}/bin/pinentry"
-echo "GPG_TTY='${GPG_TTY}'; export GPG_TTY" >> "${FILE}"
+echo "
export GPG_AGENT_INFO;
GPG_TTY='${GPG_TTY}'; export GPG_TTY" >> "${FILE}"
source "${FILE}"