gpg-agent features of loopback-pinentry mode, preset_passphrase

Neal H. Walfield neal at
Fri Jun 5 19:56:20 CEST 2015

At Tue, 19 May 2015 06:44:27 -0400,
Ben Kibbey wrote:
> While looking at the code for --gen-key I noticed that gpg-agent isn't
> used for getting the passphrase. Is it possible to do this? Or would
> that make creating the public key impossible? I ask because --command-fd
> isn't considered during --gen-key making pinentry-mode=loopback broken.
> I have patches for fixing --command-fd (bjk/passphrase-inquire branches
> of gpgme and gnupg) but those still don't use gpg-agent during
> --gen-key. Maybe there is a reason why --gen-key isn't supposed to work
> while using pinentry-mode=loopback?

Since you haven't gotten a response, I've create an issue in the bug


:) Neal

More information about the Gnupg-devel mailing list