Ask for passphrase once, but require confirmation each time a key is used?

Franck Routier (perso) alci at
Sat Nov 21 10:37:57 CET 2020

You could use a Yubikey: correctly configured, it will required you to
touch the yubikey capacitor button to allow the use of the gpg key
(once the passphrade is cached of course)


Le jeudi 19 novembre 2020 à 22:08 +0100, dalz via Gnupg-users a écrit :
> The motivation is that I'd like to know when something wants to
> decrypt
> a file. I could configure gpg-agent to not cache the key and ask for
> the
> passphrase each time, but that is very annoying with a long
> passphrase,
> so I was wondering if there was any other way to accomplish that.
> What I'm thinking is a popup window that (while gpg-agent has the
> key)
> replaces pinentry, requiring a simple click of a button to allow the
> decryption. Is there any way to do this?
> I'm pretty new to this, so feel free to point out that my idea is
> pointless / makes no sense if that is the case!
> --
> dalz
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at

More information about the Gnupg-users mailing list