2010-11-29 12:18:00 +01:00
|
|
|
#could be placed in .profile c.f man page
|
|
|
|
gpg-agent --daemon --enable-ssh-support \
|
2010-11-29 17:11:42 +01:00
|
|
|
--write-env-file "${HOME}/.gpg-agent-info"
|
|
|
|
|
|
|
|
if [ -f "${HOME}/.gpg-agent-info" ]; then
|
|
|
|
. "${HOME}/.gpg-agent-info"
|
|
|
|
export GPG_AGENT_INFO
|
|
|
|
export SSH_AUTH_SOCK
|
|
|
|
export SSH_AGENT_PID
|
|
|
|
fi
|
|
|
|
|