Unhelpful error message while attempting to generate key pair

Werner Koch wk at gnupg.org
Thu Sep 14 15:53:48 CEST 2023

On Wed, 13 Sep 2023 20:48, Alan Mackenzie said:

> I type
>     $ gpg --gen-key


   gpg -v --gen-key

to see more warning.

>     agent_genkey failed: Timeout

Look like a problem with your pinentry.  Did it show up on another
screen?  The "-v" should tell you which pinentry was invoked; share that
with us for help.

Next debug level would be

  gpg -v --debug ipc --gen-key

but I don't think you need this.



The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20230914/c215885f/attachment.sig>

More information about the Gnupg-users mailing list