Alfred 2 integration with Pass
This is Alfred 2 integration with Pass - the standard Unix password manager. I took the idea for this from passmenu which is available for Linux.
To make this work you need:
pass (obviously) -- needs to be set up with password store in ~/.password-store/.
gpg-agent -- install with brew
pinentry-mac -- also install with brew (this is GUI frontend for gpg-agent).
Next configure gpg-agent to use pinentry-mac and not the bundled one, editing ~/.gnupg/gpg-agent.conf:
Basic Alfred commands:
pass <filter terms>
This will search through your passwords using the filter terms you provided.
Any suggestions are welcome. Also, I had to fight a bit with pinentry and gpg-agent, I hope this works for everyone.