gpg-agent caching pinentry when it should not

steve's Avatar


24 Apr, 2019 04:56 PM


pinentry-program /usr/local/MacGPG2/libexec/
default-cache-ttl 0
max-cache-ttl 1
default-cache-ttl-ssh 0
max-cache-ttl-ssh 0

With the above config I expect to be prompted every time my key is accessed, however I am only prompted once and not again until i start a new session.

My environment:
gpg-agent (GnuPG/MacGPG2) 2.2.10
libgcrypt 1.8.3
GPG Suite 2018.5
macOS Mojave 10.14.4

  1. Support Staff 1 Posted by Luke Le on 03 May, 2019 10:56 AM

    Luke Le's Avatar

    Hi Steve,

    this does sound very strange.
    Is this happening when you are signing/decrypting data or if you are using gpg for ssh login?

  2. Steve closed this discussion on 30 Sep, 2019 10:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac