How to get GPG cache passphrase duration left?
You might be wondering how can you actually determine the duration of the passphrase cache that is stored in gpg-agent. Does the GPG tool has the ability to read the cache duration? The answer (as for the current gpg (GnuPG) 2.2.27) is NO. However, there is a trick how you can get cache duration left…