<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/tests/gpg/Makefile.am, 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-15T07:45:08Z</updated>
<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>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: Package the ownertrust file</title>
<updated>2023-03-17T08:20:08Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-03-17T08:06:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e50724e1bbe55678dfcd2a1ea75157f6514fc58a'/>
<id>urn:sha1:e50724e1bbe55678dfcd2a1ea75157f6514fc58a</id>
<content type='text'>
tests/gpg/Makefile.am (EXTRA_DIST): Add ownertrust.txt.
--

This fixes `make distcheck`.

GnuPG-bug-id: 6342
</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: Extend tests with an ultimately trusted key</title>
<updated>2023-02-08T12:46:17Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-02-08T12:46:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=fcefc78f749a8f39cc587636647b24f8fa48efad'/>
<id>urn:sha1:fcefc78f749a8f39cc587636647b24f8fa48efad</id>
<content type='text'>
* tests/gpg/Makefile.am (gpg-sample.stamp, pubring-stamp): Unify usage
of tabs.
(pubring-stamp): Import owner trust values.
* tests/gpg/ownertrust.txt: New.
* tests/gpg/t-decrypt-verify.c, tests/gpg/t-verify.c: Update expected
values for signature summary and validity.
* tests/gpg/t-keylist-secret-sig.c, tests/gpg/t-keylist-sig.c,
tests/gpg/t-keylist.c: Update expected values of owner trust and uid
validity.
--

This change marks the "Alpha Test" test key as ultimately trusted which
makes it possible to check for correct values derived from this, i.e.
key owner trust, user id validity, signature summary and signature
validity.

GnuPG-bug-id: 6342
</content>
</entry>
<entry>
<title>tests: Build using GPG_ERROR_MT_LIBS for thread use.</title>
<updated>2021-11-12T01:22:21Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2021-11-12T01:22:21Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1cedac2bba246ff411843aaef10ca8ea0a0756cf'/>
<id>urn:sha1:1cedac2bba246ff411843aaef10ca8ea0a0756cf</id>
<content type='text'>
* tests/gpg/Makefile.am (WITH_THREAD_CPPFLAGS): New.
(WITH_THREAD_LDADD): New.
(t_thread1_CPPFLAGS, t_thread_keylist_CPPFLAGS)
(t_thread_keylist_verify_CPPFLAGS)
(t_cancel_CPPFLAGS): Use WITH_THREAD_CPPFLAGS.
(t_thread1_LDADD, t_thread_keylist_LDADD)
(t_thread_keylist_verify_LDADD)
(t_cancel_LDADD): Use WITH_THREAD_LDADD.

--

For library dependency at runtime, it's not 100% right to use
GPG_ERROR_MT_LIBS here, because those test programs don't use
libgpg-error directly at runtime.  But, it's OK, because these are
test programs, which don't need specifying minimum library dependency.

It would be too much for configure of gpgme, to check how threaded
application should be built, just for these test programs.

Co-authored-by: Ben Kibbey &lt;bjk@luxsci.net&gt;
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>build: Fix make distcheck problem.</title>
<updated>2021-08-27T12:13:36Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2021-08-27T12:13:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=aaf448b1e81e7421e539ac2deb9dc9d3d1459016'/>
<id>urn:sha1:aaf448b1e81e7421e539ac2deb9dc9d3d1459016</id>
<content type='text'>
* tests/start-stop-agent: Use -f with rm.  Also use cat instead of cp.
--

Also shorted some lines.
</content>
</entry>
<entry>
<title>Add missing files for distribution</title>
<updated>2021-08-27T10:58:27Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2021-08-27T10:58:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=bc774104bbf461805f875c2bfd2d02aa6dd0945d'/>
<id>urn:sha1:bc774104bbf461805f875c2bfd2d02aa6dd0945d</id>
<content type='text'>
* lang/qt/src/Makefile.am (private_qgpgme_headers): Add job_p.h
* tests/gpg/Makefile.am (EXTRA_DIST): Add gpg.conf.in
</content>
</entry>
</feed>
