<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/tests, branch gpgme-2.1.2</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.1.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.1.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2026-05-17T10:59:42Z</updated>
<entry>
<title>Support setting attributes for CMS signatures.</title>
<updated>2026-05-17T10:59:42Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2026-05-17T10:59:42Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8081d34e5f620a614f58617700f9b473392e6478'/>
<id>urn:sha1:8081d34e5f620a614f58617700f9b473392e6478</id>
<content type='text'>
* src/gpgme.h.in (GPGME_SIG_NOTATION_UNPROTECTED): New.
(struct _gpgme_sig_notation): Add field 'unprotected'.
* src/sig-notation.c (sig_notation_set_flags): Set flag.
* src/engine-gpgsm.c (gpgsm_sign): Implement setting of notations.

* tests/run-support.h: Add conversion macros.
* tests/run-sign.c (struct mystringlist_s): New.
(xmalloc): New.
(xstrtokenize): New.
(print_result): Add arg fp and adjust callers.
(main): Add options --binary and --notation.
</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>New decryption flag GPGME_DECRYPT_SESSION_HASH.</title>
<updated>2026-04-23T12:29:53Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2026-04-23T12:29:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=63f18298d3f5c5f7551301b1e183890c503c644a'/>
<id>urn:sha1:63f18298d3f5c5f7551301b1e183890c503c644a</id>
<content type='text'>
* src/gpgme.h.in (_gpgme_op_decrypt_result): Add field session_hash.
(gpgme_decrypt_flags_t): Add flag GPGME_DECRYPT_SESSION_HASH.
(gpgme_status_code_t): Add flags GPGME_STATUS_SESSION_HASH.
* src/status-table.c (status_table): Add "SESSION_HASH".
* src/decrypt.c (release_op_data): Free new field.
(_gpgme_decrypt_status_handler): Handle new status code.
* src/engine-gpg.c (gpg_decrypt): Implement
  GPGME_DECRYPT_SESSION_HASH.

* tests/run-decrypt.c (print_result): Print session_hash.
(main): Add option --show-session-hash.
</content>
</entry>
<entry>
<title>Add flag fields is_de_vs and beta_compliance to encryption results</title>
<updated>2026-04-21T10:29:16Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2026-04-21T08:46:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2100e1fbdfeb9ecda00787032a8256938a113dde'/>
<id>urn:sha1:2100e1fbdfeb9ecda00787032a8256938a113dde</id>
<content type='text'>
* src/encrypt.c (_gpgme_encrypt_status_handler): Handle the compliance
status line.
* src/gpgme.h.in (struct _gpgme_op_encrypt_result): Add fields is_de_vs
and beta_compliance.
(gpgme_status_code_t): Add status code for the encryption compliance
status line.
* src/status-table.c (status_table): Add encryption compliance status
line.

* tests/run-encrypt.c (print_encrypt_result): Print compliance.
--

This allows checking whether the encrypt operation is in compliance with
the VS-NfD criteria.

GnuPG-bug-id: 6702
</content>
</entry>
<entry>
<title>Allow setting export filters when exporting keys</title>
<updated>2026-01-14T15:09:19Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2026-01-14T12:58:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1823e06216f2e9eee302ae1233d635a4a92c03f6'/>
<id>urn:sha1:1823e06216f2e9eee302ae1233d635a4a92c03f6</id>
<content type='text'>
* src/context.h (struct gpgme_context): New field export_filter.
* src/engine-backend.h (struct engine_ops): Add arg export_filter to
field 'export' and field 'export_ext'.
* src/engine-gpg.c (export_common): Add arg export_filter and pass
option --export-filter with argument value to gpg.
(gpg_export, gpg_export_ext): Add arg export_filter and pass it to
export_common. Adjust all callers of the two functions.
* src/engine-gpgsm.c (gpgsm_export, gpgsm_export_ext): Add dummy arg
export_filter.
* src/gpgme.c (gpgme_release): Free 'export_filter'.
(gpgme_set_ctx_flag, gpgme_get_ctx_flag): New flag "export-filter".

* tests/run-export.c (main): Add option --export-filter.
--

This makes the --export-filter option available in the GPGME API for
key exports.

GnuPG-bug-id: 8033
</content>
</entry>
<entry>
<title>tests: It's start-stop-agent which invokes gpg-agent.</title>
<updated>2026-01-09T06:16:40Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2026-01-09T06:16:40Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9a1f409499c4e086e95c8dbca712929ee3c418ef'/>
<id>urn:sha1:9a1f409499c4e086e95c8dbca712929ee3c418ef</id>
<content type='text'>
* tests/gpgsm/Makefile.am (gpgsm.conf): Don't touch agent-program.
* tests/start-stop-agent: Don't modify gpg.conf and gpgsm.conf.

--

When start-stop-agent fails, this allows invocation of gpg-agent
by gpg/gpgsm.  This enables semihosted build.

Fixes-commit: 9cd2b58dfb2c21cce64520cf4c726859b583d14e
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>
</feed>
