<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/tests/json, branch aheinecke/json-test</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=aheinecke%2Fjson-test</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=aheinecke%2Fjson-test'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2020-01-29T10:01:10Z</updated>
<entry>
<title>Do not test for a bug in older GnuPG versions</title>
<updated>2020-01-29T10:01:10Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2020-01-29T10:01:10Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=cff600f1f65a2164ab25ff2b039cba008776ce62'/>
<id>urn:sha1:cff600f1f65a2164ab25ff2b039cba008776ce62</id>
<content type='text'>
* tests/json/t-keylist-secret.out.json

--
Since at least 2.2.19 GnuPG no longer emits secret = true
for keys where it does not have a secret. To avoid
failures with older versions we remove the check altogether.

GnuPG-Bug-Id: T4820
</content>
</entry>
<entry>
<title>json: Fix t-decrypt-verify.out for GnuPG &gt;= 2.3.</title>
<updated>2019-08-06T02:19:59Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2019-08-06T02:19:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b97434fbf087f3176daf39699ff579d38d265317'/>
<id>urn:sha1:b97434fbf087f3176daf39699ff579d38d265317</id>
<content type='text'>
* tests/json/t-decrypt-verify.out.json: Remove check with key of
04071FB807287134.

--

GnuPG 2.3 changes how public key decryption works; It collects list of
PUBKEY_ENC packets and then processes an ENCRYPTED* packet.  At the
stage of processing an ENCRYPTED* packet, it checks if private keys
can decrypt any of PUBKEY_ENC packets.  It does not necessarily
examine all of PUBKEY_ENC packets.  Only when it finds a PUBKEY_ENC
packet cannot be decrypted, it reports STATUS_NO_SECKEY with keyid of
that packet.

GnuPG 2.2 or older tries PUBKEY_ENC packets in order, and the first
successful PUBKEY_ENC packet is used.  Rest of PUBKEY_ENC packets are
not examined, but STATUS_NO_SECKEY with keyid is reported even when
there is a valid private key.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.</title>
<updated>2019-01-16T01:59:25Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2019-01-16T01:59:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=66bcb8acb2452cf19318023ed0ff1ea7d7bb8439'/>
<id>urn:sha1:66bcb8acb2452cf19318023ed0ff1ea7d7bb8439</id>
<content type='text'>
* configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
* tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE.
* lang/cpp/tests/Makefile.am, lang/qt/tests/Makefile.am: Likewise.
* tests/gpg/Makefile.am, tests/gpgsm/Makefile.am: Likewise.
* tests/json/Makefile.am, tests/opassuan/Makefile.am: Likewise.

--

GnuPG-bug-id: 4298
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>tests, json: Make them run on debian stable</title>
<updated>2018-11-28T09:45:27Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-11-28T09:44:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=a9cfb6dad8ac60543bcb06f4d0515f4a64ad897a'/>
<id>urn:sha1:a9cfb6dad8ac60543bcb06f4d0515f4a64ad897a</id>
<content type='text'>
* tests/json/t-json.c (main): Relax version check a bit.
</content>
</entry>
<entry>
<title>Add SPDX identifiers to most source files</title>
<updated>2018-11-16T12:27:33Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2018-11-16T12:27:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8d91c0f4cdcc26679067ae681ae12600fb450200'/>
<id>urn:sha1:8d91c0f4cdcc26679067ae681ae12600fb450200</id>
<content type='text'>
--

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>tests,json: Clean openpgp-revocs.d</title>
<updated>2018-11-15T09:33:35Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-11-15T09:33:35Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=004e2cad2f26250cd010684f11dc187f08e6f9e1'/>
<id>urn:sha1:004e2cad2f26250cd010684f11dc187f08e6f9e1</id>
<content type='text'>
* tests/json/clean-local: Remove revocs.d
</content>
</entry>
<entry>
<title>tests,json: Move version check into t-json</title>
<updated>2018-11-15T09:31:22Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-11-15T09:31:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=40d962b43a183070ba8602cac1e83f2292ebf2c3'/>
<id>urn:sha1:40d962b43a183070ba8602cac1e83f2292ebf2c3</id>
<content type='text'>
* tests/gpg/t-support.h (check_gpg_version, compare_versions),
(parse_version_string, parse_version_number): Remove version
check code.
* tests/json/t-json.c (check_gpg_version, compare_versions),
(parse_version_string, parse_version_number): Add.
--

t-support header was not a good place for this. It should
go into a library e.g. gpgrt in the future. For now we
can keep it close to where it is needed.
</content>
</entry>
<entry>
<title>tests,json: Add sig-notations test</title>
<updated>2018-11-14T16:56:23Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-11-14T16:56:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d3dae4a445d950c94c952ddf54e534ef71675bd1'/>
<id>urn:sha1:d3dae4a445d950c94c952ddf54e534ef71675bd1</id>
<content type='text'>
* tests/json/t-sig-notations.in.json,
tests/json/t-sig-notations.out.json: New
* tests/json/Makefile.am (EXTRA_DIST): Add files.
* tests/json/t-json.c: Register it.
</content>
</entry>
<entry>
<title>tests,json: Fix distcheck</title>
<updated>2018-11-14T16:21:24Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-11-14T16:21:24Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=def030e843bd4576597272abe9fe12f846066576'/>
<id>urn:sha1:def030e843bd4576597272abe9fe12f846066576</id>
<content type='text'>
* tests/json/Makefile.am (EXTRA_DIST): Add inital and final scripts.
(t_json_SOURCES): Don't use cJSON.o as source.
</content>
</entry>
<entry>
<title>tests,json: Add more tests</title>
<updated>2018-11-14T16:05:25Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-11-14T16:05:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d0087d45f0207bf82a4f078d972c28c4d1cd2690'/>
<id>urn:sha1:d0087d45f0207bf82a4f078d972c28c4d1cd2690</id>
<content type='text'>
* t-config-opt.in.json,
 t-config-opt.out.json,
 t-import.in.json,
 t-import.out.json,
 t-sign.in.json,
 t-sign.out.json: New.
--
These should actually have been in a previous commit as
they are already registered.
</content>
</entry>
</feed>
