Talk:Pass

From ArchWiki
Jump to navigation Jump to search

Using pass with gpg-agent

I first set up gpg-agent in my .xinitrc file, and was unable to use it with pass. Pass appears to require the $GPG_AGENT_INFO variable to be set in order to utilize the functionality, which may make the /etc/profile.d/gpg-agent.sh solution in GnuPG#gpg-agent more favorable. Ctag (talk) 21:59, 26 July 2014 (UTC)

Mention need to trust key?

I found that, although I could use my gpg key to encrypt files locally as usual, pass would not accept my key for encryption purposes until I used gpg --edit-key <ID> to trust my key. Would it be worth mentioning this? I've been using gpg to encrypt files for years with no problems, so I couldn't understand why pass caused gpg to refuse to do what seemed to be essentially the same thing. --cfr (talk) 16:28, 29 October 2017 (UTC)

I remember setting it up and having to trust all keys from my collaborators... however I cannot find the documentation that led me to that... If you've just ran through it you should take a shot of putting it in this page - storrgie 16:43, 29 October 2017 (UTC)
I've reproduced the issue and can confirm the trust level must be set to ultimate. I've added a sentence to the GnuPG setup note and also added a troubleshooting section describing the issue in more detail. I also can't locate a source for this upstream, I stumbled across it in someone else's blog describing their setup (read: not authoritative). If inserting these instructions without an authoritative source counts as "original research" and should be avoided, go ahead and cut it. LeftyAce (talk)