[pass] GPGTools OS X

Jarod Watkins jwatkins at jarodw.com
Thu Sep 25 16:38:25 CEST 2014


Hi Jason,
That fixed it! I wasn’t exporting the GPG_AGENT_INFO in my session. Thank you to everyone who responded. 

Thanks,
Jarod

On Sep 25, 2014, at 10:13 AM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:

> Do you allow gpg-agent to export its environment variables to the current shell?
> 
> I have something like this in my .bashrc:
> 
> if [ -f "$HOME/.gnupg/gpg-agent-info" ]; then
>         source "$HOME/.gnupg/gpg-agent-info"
> fi
> 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
>         export GPG_AGENT_INFO
>         export SSH_AUTH_SOCK
>         export SSH_AGENT_PID
> else
>         old_umask=$(umask)
>         umask 077
>         eval $(gpg-agent --daemon)
>         umask "$old_umask"
>         unset old_umask
> fi
> 
> With the config written by:
> 
> zx2c4 at thinkpad ~ $ cat .gnupg/gpg-agent.conf|grep write
> write-env-file /home/zx2c4/.gnupg/gpg-agent-info

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140925/6d90f84b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140925/6d90f84b/attachment.asc>


More information about the Password-Store mailing list