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