Can't import private key to GnuPG 2.1.1 on Windows 8 x64

Jesper Hess Nielsen jesper at
Fri Jan 2 11:33:15 CET 2015

Hi all!

I just installed the latest GnuPG 2.1.1 on my main Windows PC and tried
to import my private key. However, it fails with a message from gpg-agent:

gpg: key 0x416C5A0DD9FA2EE5/0x416C5A0DD9FA2EE5: error sending to agent:
End of file
gpg: error building skey array: End of file

In the Windows Event Viewer I get the following notification of a crash:

Faulting application name: gpg-agent.exe, version:, time
stamp: 0x549051a1
Faulting module name: libgcrypt-20.dll, version:, time
stamp: 0x54905081
Exception code: 0xc0000005
Fault offset: 0x0002a242
Faulting process id: 0x1050
Faulting application start time: 0x01d026705b3bc20a
Faulting application path: c:\Program Files
Faulting module path: c:\Program Files (x86)\GNU\GnuPG\bin\libgcrypt-20.dll
Report Id: b586c710-9263-11e4-827f-002522a499c0
Faulting package full name:
Faulting package-relative application ID:

Any ideas what might be going wrong here?

Jesper Hess Nielsen

GPG Key Fingerprint: 7818 9E24 005B 0933 0CF6 2536 416C 5A0D D9FA 2EE5

More information about the Gnupg-users mailing list