Keywords: PGP, OpenPGP
For my Obsidian, I’m using SSH to push/pull, so I need to Cache SSH key password as well.
Add these lines to ~/.gnupg/gpg-agent.conf1
default-cache-ttl 34560000
max-cache-ttl 34560000
gpgconf --kill gpg-agent
gpg-agent --daemon
https://superuser.com/a/624488 ↩