I'm having troubles trying to get gpg-agent to cache my passphrase for a long time.
I'm using FreeBSD, GnuPG 2.1.11
I've created a .gnupg/gpg-agent.conf file with the following
default-cache-ttl 34560000 max-cache-ttl 34560000
It doesn't seem to affect how long the passphrases are cached for, They still expire, I'm not sure how long, but roughly 15 mins.
Is there something else I need to do? The FreeBSD server isn't being reset or anything so I don't think the gpg-agent is resetting.