<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/tests/gpg, branch gpgme-2.2.0</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.2.0</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.2.0'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2026-08-05T10:17:31Z</updated>
<entry>
<title>Fix handling of missing timestamp in SIGINFO status</title>
<updated>2026-08-05T10:17:31Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2026-08-05T10:17:31Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8dc1de3acb86375830e7034cab419030bdf1d36b'/>
<id>urn:sha1:8dc1de3acb86375830e7034cab419030bdf1d36b</id>
<content type='text'>
* src/verify.c (parse_sig_info): Add argument protocol. Check for "-"
if protocol is CMS.
(_gpgme_verify_status_handler): Pass protocol to parse_sig_info.

* tests/gpg/t-verify.c (check_result): Add argument timestamp. Check
timestamp.
(main): Add expected timestamp to all check_result calls.
* tests/gpgsm/t-verify.c (check_result): Add argument timestamp. Check
timestamp.
(main): Add expected timestamp to all check_result calls.
--

S/MIME signatures do not necessarily have a timestamp. In this case
gpgsm emits "-" in the SIGINFO status line.

Fixes-commit: 31eb884e8f102ed3cf1220ccdd77e6e1931a9a7b
GnuPG-bug-id: 8368
</content>
</entry>
<entry>
<title>w32:tests: Use pinentry executable instead of script.</title>
<updated>2026-05-15T07:45:08Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-05-15T07:45:08Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=45ccb2fa0ee4613a5327a8d7cddd060be4fbeec1'/>
<id>urn:sha1:45ccb2fa0ee4613a5327a8d7cddd060be4fbeec1</id>
<content type='text'>
* tests/gpg/pinentry: Remove.
* tests/gpg/pinentry.c: New.
* tests/gpg/Makefile.am (EXTRA_DIST): Remove pinentry script.
(noinst_PROGRAMS): Add pinentry executable and its rules to build.
* tests/json/Makefile.am (gpg-agent.conf): Use pinentry executable.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>w32:tests: Fix Makefiles and start-stop-agent for EXEEXT.</title>
<updated>2026-05-14T08:39:56Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-05-14T08:39:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1291cfe1c14ea2b015a8cec7b4b60d1e234b49d8'/>
<id>urn:sha1:1291cfe1c14ea2b015a8cec7b4b60d1e234b49d8</id>
<content type='text'>
* tests/gpg/Makefile.am: Care about EXEEXT.
* tests/gpgsm/Makefile.am: Likewise.
* tests/json/Makefile.am: Likewise.
* tests/start-stop-agent: Use EXEEXT.  Handle \r correctly.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>tests:gpg: Use GPGME_PINENTRY_MODE_LOOPBACK for tests.</title>
<updated>2025-12-25T01:26:20Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-12-25T01:21:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=538d7cd52b809fcd77a554f04cd2c8ac8915732c'/>
<id>urn:sha1:538d7cd52b809fcd77a554f04cd2c8ac8915732c</id>
<content type='text'>
* tests/gpg/t-decrypt-verify.c (main): Call gpgme_set_pinentry_mode.
* tests/gpg/t-decrypt.c (main): Likewise.
* tests/gpg/t-edit-sign.c (main): Likewise.
* tests/gpg/t-edit.c (main): Likewise.
* tests/gpg/t-encrypt-mixed.c (main): Likewise.
* tests/gpg/t-encrypt-sign.c (main): Likewise.
* tests/gpg/t-encrypt-sign.c (main): Likewise.
* tests/gpg/t-encrypt-sym.c (main): Likewise.
* tests/gpg/t-file-name.c (main): Likewise.
* tests/gpg/t-sig-notation.c (main): Likewise.
* tests/gpg/t-sign.c (main): Likewise.
* tests/gpg/t-signers.c (main): Likewise.
* tests/gpg/t-thread1.c (main): Likewise.
* tests/gpg/Makefile.am (gpg-agent.conf): We use the passphrase_cb.

--

We can't remove tests/gpg/pinentry since it's used by tests/json.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>tests:w32: Use Sleep instead of _sleep.</title>
<updated>2025-12-22T04:38:37Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-12-22T04:38:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=5252c63ecae536d3923859f282e349e1dcd38529'/>
<id>urn:sha1:5252c63ecae536d3923859f282e349e1dcd38529</id>
<content type='text'>
* tests/gpg/t-wait.c [HAVE_W32_SYSTEM] (sleep): Use Sleep.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>Fix function prototypes to match ones in libassuan.</title>
<updated>2025-12-15T06:06:50Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-12-15T06:06:50Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=527c7fff9679afe08927943b9da654e27e75ba93'/>
<id>urn:sha1:527c7fff9679afe08927943b9da654e27e75ba93</id>
<content type='text'>
* src/assuan-support.c (my_read, my_write): Use ssize_t.
(my_socket, my_connect): Use int instead of assuan_fd_t for older
libassuan.
* tests/gpg/t-encrypt-large.c (read_cb, write_cb): Use gpgme_ssize_t.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>core: Treat email-only user IDs with upper case letters as email address</title>
<updated>2024-09-04T12:31:12Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-09-04T12:31:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2264b64b85e6d522fdc5e06d5260f5b7b5414417'/>
<id>urn:sha1:2264b64b85e6d522fdc5e06d5260f5b7b5414417</id>
<content type='text'>
* src/key.c (_gpgme_key_append_name): Support email-only user IDs with
upper case letters.

* tests/gpg/t-keylist.c (struct key_info_s): Add algo, length, sec_algo,
sec_length.
(keys): Add expected algo and length for primary and secondary subkeys.
(main): Factor out code for checking a key and the code for the keylist
test. Call the factored out test function and a new test function.
(check_key, test_keylist, key_with_email_only_user_id,
key_info_email_only_user_id,
test_email_only_user_id_with_upper_case_letters): New.
--

Email-only user IDs with upper case letters are now also parsed as a
user ID with empty name and the complete user ID as email.

GnuPG-bug-id: 7280
</content>
</entry>
<entry>
<title>core: New function gpgme_op_setownertrust</title>
<updated>2024-08-06T10:43:28Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-08-05T15:14:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d804a7a4bc871f38f6cdc2cd63af3ef004580437'/>
<id>urn:sha1:d804a7a4bc871f38f6cdc2cd63af3ef004580437</id>
<content type='text'>
* src/Makefile.am (main_sources): Add new file.
* src/context.h (ctx_op_data_id_t): Add OPDATA_SETOWNERTRUST.
* src/engine.c, src/engine.h (_gpgme_engine_op_setownertrust): New.
* src/engine-backend.h (engine_ops): Add 'setownertrust' and adjust all
engine initializers.
* src/engine-gpg.c (gpg_setownertrust): New.
(_gpgme_engine_ops_gpg): Set setownertrust to gpg_setownertrust.
* src/gpgme.h.in (gpgme_op_setownertrust_start, gpgme_op_setownertrust):
New.
* src/gpgme.def, src/libgpgme.vers: Add new functions.
* src/setownertrust.c: New.

* doc/gpgme.texi: Document new functions.

* tests/Makefile.am (noinst_PROGRAMS): Add new test program.
* tests/run-setownertrust.c: New.

* tests/gpg/Makefile.am (c_tests): Add new file. (LDADD): Add
@GPG_ERROR_LIBS@.
* tests/gpg/t-setownertrust.c: New.
* tests/gpg/t-support.h (have_gpg_version): New.

--

This extends GPGME to support the --quick-set-ownertrust command added
by GnuPG 2.4.6. This allows changing the owner trust of keys and
enabling/disabling keys without using the editinteractor interface.

GnuPG-bug-id: 7239
</content>
</entry>
<entry>
<title>tests: Avoid some compiler warnings.</title>
<updated>2024-05-21T11:45:02Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2024-05-21T11:45:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=55a1ae4163ecc97601c8d3d216452b65eec405af'/>
<id>urn:sha1:55a1ae4163ecc97601c8d3d216452b65eec405af</id>
<content type='text'>
* tests/gpg/t-support.h (fail_with_syserr): New.
(check_data): Use it to avoid compiler warnings.
* tests/run-support.h (fail_with_syserr): New.
--

I don't think that there is a way to tell gcc that
gpgme_err_code_from_errno will never return 0.  Thus we better use a
different macro.
</content>
</entry>
<entry>
<title>tests: Fix test after changed behavior of gpgme_op_verify</title>
<updated>2024-05-15T09:53:06Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-05-15T09:53:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=a73a41109fff3b6d3f81fa29d353419ae45f6dda'/>
<id>urn:sha1:a73a41109fff3b6d3f81fa29d353419ae45f6dda</id>
<content type='text'>
* tests/gpg/t-verify.c (main): Change assertion of test.
--

The change introduced with 1dc44b7c makes gpg abort the verification
of a clear-signed message if it encounters garbage following the
signed data. We have to adapt the test to this change.

GnuPG-bug-id: 6907
</content>
</entry>
</feed>
