Page MenuHome GnuPG

Not enough space on Windows 7
Closed, InvalidPublic

Description

Hi
I have a problem running GnuPG 2.1.0 beta 3 on Windows 7. Whenever I try to use
a secret key the program says "Not enough space". i tried both the creation and
the decryption without success. This, however, happens only on Windows 7. If i
try to use the same binary on VirtualBox (on the same machine) running Windows
XP everything goes well.

I built GnuPG 2.1.0 beta 3 with mingw cross compiler. Since it is my first
compilation on Linux i attach the bash file i used to compile everything. Before
compilation i edited two things to the source code downloaded from the internet:

  1. copied zlib-1.2.7\win32\Makefile.gcc into zlib-1.2.7\win32\Makefile.mingw and

put PREFIX = i586-mingw32msvc- (in order to use mingw cross compiler)

  1. edited gnupg dirmngr\ks-engine-hkp.c putting, at the beginning, the line

#define WINVER 0x501 (otherwise the getaddrinfo and getnameinfo are not defined)

after the compilation if i generate the keys in Win7 it asks for the pin and
then says

gpg: signing failed: Not enough space
gpg: make_keysig_packet failed: Not enough space
Key generation failed: Not enough space

if i generate it in WinXP and then copy the folder %appdata%\gnupg to Win7 then
the latter recognizes the keys, but if i try to decrypt something using them i
receive

gpg: public key decryption failed: Not enough space
gpg: decryption failed: No secret key

Details

Version
GnuPG 2.1.0b3

Event Timeline

fra87 set Version to GnuPG 2.1.0b3.
fra87 added a subscriber: fra87.

werner added a subscriber: werner.

GnuPG 2.1 won't work on Windows yet. Don't use your own script but use

  ./autogen.sh --build-w32

Please don't report bug against beta versions. gnupg-devel (or gnupg-users) is
the right place.

Please disregard my comment on not using your own script. I didn't looked into it.

Ok.. sorry for posting here but i didn't know where to post. I'll send it to the
mailing list too.
I just wanted to report this strange thing (working on XP but not on 7 )