<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/tests/json, branch gpgme-2.0.1</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.0.1</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.0.1'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2025-01-02T09:41:05Z</updated>
<entry>
<title>tests,json: Prevent failing tests after 2027-05-15</title>
<updated>2025-01-02T09:41:05Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2025-01-02T09:31:00Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b9f9e24c00448851027683757ee5cf3f8c569ff1'/>
<id>urn:sha1:b9f9e24c00448851027683757ee5cf3f8c569ff1</id>
<content type='text'>
* tests/json/key-with-revokers.asc: Replace with new public key.
* tests/json/t-keylist-revokers.out.json: Update to new public key.
--

The old test key expired on 2027-05-15 which would break the tests after
this date. Replace it with a new test key which doesn't expire. The new
key was generated with
gpg --faked-system-time 1715782979 \
--add-desig-revoker sensitive:A0FF4590BB6122EDEF6E3C542D727CC768697734 \
--add-desig-revoker 23FD347A419429BACCD5E72D6BC4778054ACD246 \
--quick-gen-key key-with-revokers@example.net default default never
and exported with
gpg --export --armor --export-options export-sensitive-revkeys \
key-with-revokers@example.net

GnuPG-bug-id: 7471
</content>
</entry>
<entry>
<title>tests,json: Remove no longer needed code</title>
<updated>2024-08-07T08:53:21Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-08-06T15:09:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=668a1344c6b230c6a205f5cf56c8ffc0c1ee9287'/>
<id>urn:sha1:668a1344c6b230c6a205f5cf56c8ffc0c1ee9287</id>
<content type='text'>
* tests/json/t-json.c (parse_version_number, parse_version_string,
compare_versions, check_gpg_version): Remove.
(main): Use have_gpg_version from t-support.h.
--

In the meantime gpgrt provides API for comparing versions (which is
used by have_gpg_version in t-support.h).
</content>
</entry>
<entry>
<title>tests: Add new files to distribution</title>
<updated>2024-05-24T11:46:55Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-05-24T11:46:55Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=986c5f0b947559b76f9997d238bb4231a79eeee1'/>
<id>urn:sha1:986c5f0b947559b76f9997d238bb4231a79eeee1</id>
<content type='text'>
* tests/json/Makefile.am (EXTRA_DIST): Add files added with f2575b63.
--

Fixes-commit: f2575b6313aeb23d867682856f7842704786349e
GnuPG-bug-id: 7118
</content>
</entry>
<entry>
<title>json: Add information about revocation keys to key list result</title>
<updated>2024-05-21T14:38:59Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-05-15T08:39:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f2575b6313aeb23d867682856f7842704786349e'/>
<id>urn:sha1:f2575b6313aeb23d867682856f7842704786349e</id>
<content type='text'>
* src/gpgme-json.c (revocation_key_to_json): New.
(key_to_json): Add list of revocation keys.

* tests/json/Makefile.am (pubring-stamp): Import new pub key.
* tests/json/key-with-revokers.asc: New.
* tests/json/t-json.c (tests): Add "t-keylist-revokers".
* tests/json/t-keylist-revokers.in.json,
tests/json/t-keylist-revokers.in.json: New.
--

GnuPG-bug-id: 7118
</content>
</entry>
<entry>
<title>tests: Fix segv in t-json.c</title>
<updated>2024-05-21T12:36:07Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2024-05-21T12:36:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ac4bf86bb65a1e228550cce9314ad17239343c5d'/>
<id>urn:sha1:ac4bf86bb65a1e228550cce9314ad17239343c5d</id>
<content type='text'>
* tests/json/t-json.c (test_contains): Avoid calling recusivly with no
child.
</content>
</entry>
<entry>
<title>doc: Fix typos in documentation and source code comments</title>
<updated>2023-10-13T07:18:12Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-10-13T07:18:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=57205c1dfafdf86eebef8a3a358cf3bd6a297d88'/>
<id>urn:sha1:57205c1dfafdf86eebef8a3a358cf3bd6a297d88</id>
<content type='text'>
--

Anonymous contribution

Signed-off-by: Ingo Klöcker &lt;dev@ingo-kloecker.de&gt;
</content>
</entry>
<entry>
<title>tests: Stop daemons after setting up test environment</title>
<updated>2023-02-09T08:33:07Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-02-08T13:59:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7098c14b231113055535abb14b4cde0c845f8728'/>
<id>urn:sha1:7098c14b231113055535abb14b4cde0c845f8728</id>
<content type='text'>
* lang/python/tests/Makefile.am, lang/qt/tests/Makefile.am,
tests/gpg/Makefile.am, tests/json/Makefile.am (pubring-stamp): Call
`gpgconf --kill all` after importing test keys.
--

This ensures that no gpg-agents or other daemons are running after
"make".
</content>
</entry>
<entry>
<title>tests: Fix gcc incompatibility</title>
<updated>2020-10-03T17:54:00Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2020-10-03T17:53:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=25e2d717f44682f83c483ceba6ba81bad7fc3e97'/>
<id>urn:sha1:25e2d717f44682f83c483ceba6ba81bad7fc3e97</id>
<content type='text'>
* tests/json/t-json.c: Remove var definitions inside a for statement.
--

This useful C99 feature seems to work only in recent gcc versions.  We
can't use it; see gnupg/doc/HACKING.

GnuPG-bug-id: 5088
</content>
</entry>
<entry>
<title>tests, json: Do not check for keygrip of pubkeys</title>
<updated>2020-05-08T08:30:53Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2020-05-08T08:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=5c0d1c7f76c95bad8bce4ad3bafd121ec5101d3c'/>
<id>urn:sha1:5c0d1c7f76c95bad8bce4ad3bafd121ec5101d3c</id>
<content type='text'>
* tests/json/t-keylist-secret.out.json: Do not check for keygrip
of bravo key.

--
Since GnuPG 2.2.19 the keygrip is not emitted for public keys
in a keylisting --with-secret.

As the GPGME test suite should pass with several versions
the json test cannot test this as the suite does not allow
version checks for different output.

What the intended behavior is might still be up for discussion,
always adding --with-keygip is not a good solution because
it slows down keylistings for large keyrings.

GnuPG-Bug-Id: T4820
</content>
</entry>
<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>
</feed>
