Can not import private key (Not enough space)

Werner Koch wk at
Wed Apr 10 17:34:15 CEST 2024


I see in your PATH


prior to


May it be that you use a gpg version picked up from the GnuWin32?  Check
also whether there is a gpg binary in the Git program directory.

My educated guess is that Gnuwin32 is a Cygwin based collection of
utilities which might also include gpg.  Cygwin uses a slightly
different and incompatiple socket emulation which would explain the
error your get.  As a workaround you may try to run

  D:\software\GNU\GnuPG\bin\gpg --import foo

to use the correct gpg.



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: <>

More information about the Gnupg-users mailing list