Could not create key pair: Timeout
Open, Needs TriagePublic

Description

When using the New Key Pair from the tool which is loaded on a Windows server the key pair is failing to generated instead it is generating the following error … Could not create key pair: Timeout
When trying to do it through the command line the error generated is as follows
gpg: AllowSetForegroundWindow(4512) failed: The parameter is incorrect.
gpg: agent_genkey failed: Timeout
Key generation failed: Timeout

Details

Version
Kleopatra Version 3.1.2-gpg4win-3.1.2
h122642 created this task.Tue, Sep 8, 5:09 PM
werner added a subscriber: werner.Wed, Sep 9, 8:49 AM

Checkout the taskbar. While creating the key you should get a (blinking) notification for pinentry - the tool to enter the passphrase. Under some circumstances Windows won't pop up that tool and you need to click on its icon in the taskbar.