I use pass as a password manager. I would like my passphrase to be cached during a certain amount of time to avoid retyping my passphrase every time that I want to clip one of my passwords. Pass is using gpg-agent to decrypt passwords.
According to the man page and a previously answered question, the solution is to set up the following options in ~/.gnupg/gpg-agent.conf:
default-cache-ttl 3600
max-cache-ttl 86400
Unfortunately, it does not work on my machine, I am asked for my passphrase each time I ask for a password.
I have verified that my gpg-agent.conf is read by adding and removing the
no-grab option. This works fine.
I am on a Debian machine with i3wm desktop. So I do not use gnome-keyring manager.