Page MenuHome GnuPG

GPGme 1.13.1 fails at t-json
Closed, DuplicatePublic


Hi all
Hi Andre & Werner

uname -a
Linux kali 5.4.0-kali3-amd64 #1 SMP Debian 5.4.13-1kali1 (2020-01-20) x86_64 GNU/Linux

I installed all the packages in the Downloads section in the order given there. GPGme1.9 used to fail at t-verify, that's why i made this account to report the bug. - Just in time i notice GPGme1.13.1 is up, downloaded it and have the 'make check' now fail at t-json...

Please let me know what additional info might be of use for resolution.
something like this maybe: /gpgme-1.13.1/tests/json$ GPGME_DEBUG=9:/tmp/gpgme.log GNUPGHOME=$(pwd) GPG_AGENT_INFO= ./t-json??

Thank you!

Decrypt B 19
PASS: t-thread1
PASS: t-thread-keylist
PASS: t-thread-keylist-verify
stopping gpg-agent

PASS: final.test

All 26 tests passed

make[4]: Leaving directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/gpg'
make[3]: Leaving directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/gpg'
make[2]: Leaving directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/gpg'
Making check in json
make[2]: Entering directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/json'
make check-am
make[3]: Entering directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/json'
make check-TESTS
make[4]: Entering directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/json'
starting gpg-agent..
PASS: initial.test
Running t-config...
Running t-version...
Running t-keylist...
Running t-keylist-secret...
FAIL: t-json
stopping gpg-agent

PASS: final.test

1 of 3 tests failed

Please report to

make[4]: * [Makefile:609: check-TESTS] Error 1
make[4]: Leaving directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/json'
* [Makefile:732: check-am] Error 2
make[3]: Leaving directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/json'
make[2]: * [Makefile:734: check] Error 2
make[2]: Leaving directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests/json'
* [Makefile:720: check-recursive] Error 1
make[1]: Leaving directory '/home/booty/Downloads/GPGme/gpgme-1.13.1/tests'
make: *** [Makefile:534: check-recursive] Error 1



Event Timeline

I think this might be the same as T4820.

You might be interested in 0005-tests-json-Bravo-key-does-not-have-secret-key-materi.patch and 0006-gpg-Send-with-keygrip-when-listing-keys.patch from the debian distribution of gpgme.


Thanks for the report. Indeed I closed this as a duplicated. Thanks @dkg for pointing out the patches.

Patch 0005-tests-json,.... should no longer be necessary with GPGME master. For the other one we have not yet decided on a solution. If we should change GPG or GPGME for that. But for the next release we will make sure that the tests pass both with GnuPG STABLE-BRANCH-2.2 and master. I'm a bit disappointed that we didn't catch this for the last release :-)


In T4861#132936, @dkg wrote:

0005 and 0006 from the debian distribution of gpgme.

Great stuff! Both patches together make all tests pass. Thank you!