<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Jason,<div>That fixed it! I wasn’t exporting the GPG_AGENT_INFO in my session. Thank you to everyone who responded. </div><div><br></div><div>Thanks,</div><div>Jarod</div><div><br><div><div>On Sep 25, 2014, at 10:13 AM, Jason A. Donenfeld <<a href="mailto:Jason@zx2c4.com">Jason@zx2c4.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Do you allow gpg-agent to export its environment variables to the current shell?<div><br></div><div>I have something like this in my .bashrc:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="courier new, monospace">if [ -f "$HOME/.gnupg/gpg-agent-info" ]; then</font></div><div><font face="courier new, monospace"> source "$HOME/.gnupg/gpg-agent-info"</font></div><div><font face="courier new, monospace">fi</font></div><div><font face="courier new, monospace">if [ -n "$GPG_AGENT_INFO" -a -d "/proc/$(cut -d : -f 2 <<<"$GPG_AGENT_INFO")" -a -S "$(cut -d : -f 1 <<<"$GPG_AGENT_INFO")" ]; then</font></div><div><font face="courier new, monospace"> export GPG_AGENT_INFO</font></div><div><font face="courier new, monospace"> export SSH_AUTH_SOCK</font></div><div><font face="courier new, monospace"> export SSH_AGENT_PID</font></div><div><font face="courier new, monospace">else</font></div><div><font face="courier new, monospace"> old_umask=$(umask)</font></div><div><font face="courier new, monospace"> umask 077</font></div><div><font face="courier new, monospace"> eval $(gpg-agent --daemon)</font></div><div><font face="courier new, monospace"> umask "$old_umask"</font></div><div><font face="courier new, monospace"> unset old_umask</font></div><div><font face="courier new, monospace">fi</font></div><div><br></div></blockquote>With the config written by:<br><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><br></div><div><div><font face="courier new, monospace">zx2c4@thinkpad ~ $ cat .gnupg/gpg-agent.conf|grep write</font></div><div><font face="courier new, monospace">write-env-file /home/zx2c4/.gnupg/gpg-agent-info</font></div></div></blockquote></div>
</blockquote></div><br></div></body></html>