gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

openpgp-certs failure under wine


From: Simon Josefsson
Subject: openpgp-certs failure under wine
Date: Wed, 11 Jun 2008 10:41:11 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

The gnutls-serv started from openpgp-certs doesn't seem to start under
Wine, here is the output:

address@hidden:~/gnutls4win/build/gnutls-2.3.14/tests/openpgp-certs$ 
../../src/gnutls-serv -q -p 5557 --pgpcertfile 
../../../../src/gnutls-2.3.14/tests/openpgp-certs/srv-public-127.0.0.1-signed.gpg
 --pgpkeyfile ../../../../src/gnutls-2.3.14/tests/openpgp-certs/srv-secret.gpg 
-d 4711
NOTE: you should run 'diskperf -y' to enable the disk statistics
DBG: rndw32: get performance data problem: ec=2
Set static Diffie Hellman parameters, consider --dhparams.
|<2>| ASSERT: ../../../../src/gnutls-2.3.14/lib/openpgp/privkey.c:125
|<2>| ASSERT: ../../../src/gnutls-2.3.14/lib/gnutls_openpgp.c:379
|<2>| ASSERT: ../../../src/gnutls-2.3.14/lib/gnutls_openpgp.c:500
Error[-59] while reading the OpenPGP key pair 
('../../../../src/gnutls-2.3.14/tests/openpgp-certs/srv-public-127.0.0.1-signed.gpg',
 '../../../../src/gnutls-2.3.14/tests/openpgp-certs/srv-secret.gpg')
Error: GnuTLS internal error.
Echo Server ready. Listening to port '5557'.

select(): Success
address@hidden:~/gnutls4win/build/gnutls-2.3.14/tests/openpgp-certs$ 

I can reproduce the openpgp key import error using certtool and the
particular OpenPGP file:

address@hidden:~/gnutls4win/build/gnutls-2.3.14/tests/openpgp-certs$ 
~/gnutls4win/build/gnutls-2.3.14/src/certtool --pgp-certificate-info --infile 
../../../../src/gnutls-2.3.14/tests/openpgp-certs/srv-public-127.0.0.1-signed.gpg
 -d 4711
NOTE: you should run 'diskperf -y' to enable the disk statistics
DBG: rndw32: get performance data problem: ec=2
|<2>| ASSERT: ../../../../src/gnutls-2.3.14/lib/openpgp/pgp.c:124
certtool.exe: Import error: GnuTLS internal error.
address@hidden:~/gnutls4win/build/gnutls-2.3.14/tests/openpgp-certs$ 

Tracing it further, it seems it OpenCDK is returning EOF when parsing
the OpenPGP key, I'm not sure why.

Nikos, can you reproduce this?  You'll need to install mingw32, wine,
binfmt-support and run ./configure --host=i586-mingw32msvc
--build=i686-pc-linux-gnu if you are using debian.

I'm leaving now, but will look into this next week unless you or someone
else has had time to debug it.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]