<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/tests, branch gpgme-1.24.0</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.24.0</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.24.0'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2024-07-05T08:05:51Z</updated>
<entry>
<title>cpp: Deprecate Error::asString and update users</title>
<updated>2024-07-05T08:05:51Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-07-04T16:03:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=28542b14c4df40c7a54bfcf65d7c725bd99fb3e5'/>
<id>urn:sha1:28542b14c4df40c7a54bfcf65d7c725bd99fb3e5</id>
<content type='text'>
* lang/cpp/src/error.h (Error::asString): Mark as deprecated.
* lang/cpp/src/context.cpp (operator&lt;&lt;),
lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl),
lang/cpp/tests/run-getkey.cpp (main),
lang/cpp/tests/run-keylist.cpp (main),
lang/cpp/tests/run-wkdlookup.cpp (main): Use Error::asStdString instead
of Error::asString.
--

GnuPG-bug-id: 7188
</content>
</entry>
<entry>
<title>cpp: Add information about revocation keys to Key</title>
<updated>2024-05-21T14:38:59Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-05-21T14:32:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=90eb80134b2d7720b187a6b7fd16f40f23cf1022'/>
<id>urn:sha1:90eb80134b2d7720b187a6b7fd16f40f23cf1022</id>
<content type='text'>
* lang/cpp/src/gpgmefw.h (gpgme_revocation_key_t): New forward
declaration.
* lang/cpp/src/key.cpp, lang/cpp/src/key.h (class Key): New methods
revocationKey, numRevocationKeys, revocationKeys.
(class RevocationKey): New.
(swap): New overload for RevocationKey.
(operator&lt;&lt;): New overload for RevocationKey.
* lang/cpp/src/key.cpp (operator&lt;&lt;): Add information about revocation
keys to the output stream for Key.

* lang/cpp/tests/run-keylist.cpp (main): Don't output Key if nextKey
failed, e.g. at the end of the key listing.
--

GnuPG-bug-id: 7118
</content>
</entry>
<entry>
<title>cpp,tests: Launch dirmngr with gpg-conf</title>
<updated>2024-01-09T10:22:43Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2024-01-09T10:22:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=85c7a94d635d1eb134a51fb6d1ab4dc400a8fc1c'/>
<id>urn:sha1:85c7a94d635d1eb134a51fb6d1ab4dc400a8fc1c</id>
<content type='text'>
* lang/cpp/tests/run-wkdlookup.cpp (main): Replace backslashes with
forward slashes in homedir returned by GpgME::dirInfo. Use "gpgconf
--launch dirmngr" to start dirmngr.
--

With this change the same code as by QGpgMEWKDLookupJob is again used to
launch dirmngr. It also fixes the bad example of starting dirmngr
without the help of gpgconf.

GnuPG-bug-id: 6833
</content>
</entry>
<entry>
<title>cpp,doc: Fix typos in API documentation and source code comments</title>
<updated>2023-10-13T07:21:47Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-10-13T07:18:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=bd448c9cbf43d644c6175eb1795f4bb74128de16'/>
<id>urn:sha1:bd448c9cbf43d644c6175eb1795f4bb74128de16</id>
<content type='text'>
--

Anonymous contribution

Signed-off-by: Ingo Klöcker &lt;dev@ingo-kloecker.de&gt;
</content>
</entry>
<entry>
<title>cpp: Remove unused include</title>
<updated>2023-08-15T09:50:28Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-08-15T09:50:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=7a2a3f317b18df062a421ecf783182ad872b78ce'/>
<id>urn:sha1:7a2a3f317b18df062a421ecf783182ad872b78ce</id>
<content type='text'>
--
</content>
</entry>
<entry>
<title>cpp,tests: Actually parse the --with-secret option</title>
<updated>2022-05-05T15:24:59Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-05-05T15:19:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e029fd27350fcbda1b4689bc557e996d749d78ac'/>
<id>urn:sha1:e029fd27350fcbda1b4689bc557e996d749d78ac</id>
<content type='text'>
* lang/cpp/tests/run-keylist.cpp (main): Handle --with-secret option.
Print error for unknown option.
--

The --with-secret option was already listed in the help. Now it also
works.

GnuPG-bug-id: 5965
</content>
</entry>
<entry>
<title>cpp,tests: Verify that requested keylist mode is used</title>
<updated>2022-04-28T08:33:23Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-04-28T08:33:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=359906c8bcde7e351540708777e3678fee0cc2c1'/>
<id>urn:sha1:359906c8bcde7e351540708777e3678fee0cc2c1</id>
<content type='text'>
* lang/cpp/tests/run-getkey.cpp, lang/cpp/tests/run-keylist.cpp (main):
Check used keylist mode.
--

Since Context::setKeyListMode() does not return the error returned by
gpgme, we need to verify explicitly that the keylist mode was set
successfully.

GnuPG-bug-id: 5951
</content>
</entry>
<entry>
<title>cpp: Support new keylist modes</title>
<updated>2022-04-27T15:21:04Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-04-27T15:21:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=dea872f21ff77cd58bafe0966d89d6331c8d2e07'/>
<id>urn:sha1:dea872f21ff77cd58bafe0966d89d6331c8d2e07</id>
<content type='text'>
* lang/cpp/src/global.h (ForceExtern, LocateExternal, KeyListModeMask):
New.
* lang/cpp/src/context.cpp (operator&lt;&lt;): Add check.
* lang/cpp/src/util.h (gpgme_keylist_mode_t,
convert_from_gpgme_keylist_mode_t): Handle ForceExtern.
* lang/cpp/tests/run-getkey.cpp (show_usage, main): Add arguments
--force-extern and --locate-external.
* lang/cpp/tests/run-keylist.cpp (show_usage, main): Ditto.
--

GnuPG-bug-id: 5951
</content>
</entry>
<entry>
<title>cpp,tests: Add test runner for doing a WKD lookup without import</title>
<updated>2021-12-10T11:51:36Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-12-10T11:51:36Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f3177d3ee0a1d30e15f33ff226b5e4c96b7610db'/>
<id>urn:sha1:f3177d3ee0a1d30e15f33ff226b5e4c96b7610db</id>
<content type='text'>
* lang/cpp/tests/Makefile.am (run_wkdlookup_SOURCES, programs_unix):
New.
(noinst_PROGRAMS): Add $(programs_unix).
* lang/cpp/tests/run-wkdlookup.cpp: New.
--

This test runner is a prototype for doing a WKD lookup without implicit
import of the found key(s).

Building this test runner is disabled on Windows because it may not
work there. Feel free to enable it on Windows if the test runner works
there.

GnuPG-bug-id: 5728
</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>
</feed>
