[SOLVED] gpg not caching master passphrase
by slackerz from LinuxQuestions.org on (#57VP1)
I recently migrated a system that uses gpg2.
The problem is that whenever I run gpg2 it always asks me for the master passphrase. I have set it to be cached (as before) but gpg isn't caching the passphrase.
~/.gnupg/gpg-agent.conf:
Code:default-cache-ttl 34560000
max-cache-ttl 34560000
pinentry-program /usr/bin/pinentry-curses~/.gnupg/gpg.conf
Code:use-agentThese configs look good as they dont result in any errors. Now in gpg.conf it doesn't seem to matter if I have #use-agent commented out. It's still not working as expected.
I also have this running as a fork:
Code:$ gpg-agent -daemonAny ideas please??


The problem is that whenever I run gpg2 it always asks me for the master passphrase. I have set it to be cached (as before) but gpg isn't caching the passphrase.
~/.gnupg/gpg-agent.conf:
Code:default-cache-ttl 34560000
max-cache-ttl 34560000
pinentry-program /usr/bin/pinentry-curses~/.gnupg/gpg.conf
Code:use-agentThese configs look good as they dont result in any errors. Now in gpg.conf it doesn't seem to matter if I have #use-agent commented out. It's still not working as expected.
I also have this running as a fork:
Code:$ gpg-agent -daemonAny ideas please??