I don't know if I should be using keychain for this (I did try but got completely confused and gave up).
I use app-admin/pass and I would like to not have to enter my password every time I access a password. According to the pass documentation you can set gpg-agent to cache the master password but I don't seem to have any luck with that, pass is still asking me every time.
In ~/.gnupg/gpg.conf I have: use-agent
In ~/.gnupg/gpg-agent.conf I have: default-cache-ttl 10000
In ~/.xinitrc I have: eval "$(gpg-agent --daemon)"
if [ -f "${HOME}/.gpg-agent-info" ]; then . "${HOME}/.gpg-agent-info" export GPG_AGENT_INFO export SSH_AUTH_SOCK fi
In ~/.zshrc I have: GPG_TTY=$(tty) export GPG_TTY
I don't really know what I'm doing here though and something obviously isn't working because pass is asking every time for the password.
Question
spectromas
I don't know if I should be using keychain for this (I did try but got completely confused and gave up).
I use app-admin/pass and I would like to not have to enter my password every time I access a password. According to the pass documentation you can set gpg-agent to cache the master password but I don't seem to have any luck with that, pass is still asking me every time.
In ~/.gnupg/gpg.conf I have:
use-agent
In ~/.gnupg/gpg-agent.conf I have:
default-cache-ttl 10000
In ~/.xinitrc I have:
eval "$(gpg-agent --daemon)"
if [ -f "${HOME}/.gpg-agent-info" ]; then
. "${HOME}/.gpg-agent-info"
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
fi
In ~/.zshrc I have:
GPG_TTY=$(tty)
export GPG_TTY
I don't really know what I'm doing here though and something obviously isn't working because pass is asking every time for the password.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts