<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang, branch wk-master</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=wk-master</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=wk-master'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2023-08-23T10:00:26Z</updated>
<entry>
<title>qt: Allow specifying user IDs to use when refreshing keys via WKD</title>
<updated>2023-08-23T10:00:26Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-08-23T10:00:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3f297387bf401475385c458e4d1d95b3eefaf3d8'/>
<id>urn:sha1:3f297387bf401475385c458e4d1d95b3eefaf3d8</id>
<content type='text'>
* lang/qt/src/wkdrefreshjob.h, lang/qt/src/wkdrefreshjob.cpp
(WKDRefreshJob::start): New overload.
* lang/qt/src/wkdrefreshjob_p.h (WKDRefreshJobPrivate): Add field
m_userIds.
* lang/qt/src/qgpgmewkdrefreshjob.cpp (toEmailAddresses): New.
(locate_external_keys): Change return type and arguments.
(refresh_keys): Remove.
(QGpgMEWKDRefreshJobPrivate::startIt): Get emails from keys or user IDs.
Remove duplicates. Call locate_external_keys instead of refresh_keys.

* lang/qt/tests/run-wkdrefreshjob.cpp (CommandLineOptions,
parseCommandLine): New.
(main): Support new option --all-userids.
--

The new start() overload allows to specify the user IDs to use for the
WKD lookup explicitly. This allows updating user IDs via WKD which were
originally not retrieved via WKD.

GnuPG-bug-id: 6672
</content>
</entry>
<entry>
<title>qt,tests: Fix build in source directory, part 2</title>
<updated>2023-08-22T09:15:01Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2023-08-21T22:12:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=aee18a2ab2498bc6092bef518c532796bbe5b502'/>
<id>urn:sha1:aee18a2ab2498bc6092bef518c532796bbe5b502</id>
<content type='text'>
* lang/qt/tests/Makefile.am (AM_CPPFLAGS): Include Qt binding sources
before C++ binding sources and C sources.
--

This fixes the problem that the debug.h in the C sources was found
before the one in the Qt bindings.

Commit d23528cadf4284f508bc4ba05e1b5c14b46bd354 fixed it for Qt5, we
need Qt6 as well.

GnuPG-bug-id: 6673
</content>
</entry>
<entry>
<title>qt,tests: Fix build in source directory</title>
<updated>2023-08-21T19:08:01Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-08-21T19:08:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d23528cadf4284f508bc4ba05e1b5c14b46bd354'/>
<id>urn:sha1:d23528cadf4284f508bc4ba05e1b5c14b46bd354</id>
<content type='text'>
* lang/qt/tests/Makefile.am (AM_CPPFLAGS): Include Qt binding sources
before C++ binding sources and C sources.
--

This fixes the problem that the debug.h in the C sources was found
before the one in the Qt bindings.

GnuPG-bug-id: 6673
</content>
</entry>
<entry>
<title>qt: Add job for refreshing OpenPGP keys via WKD</title>
<updated>2023-08-21T16:06:52Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-08-21T14:01:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2ad36f71144731f847c89b1f1e91f21c215cffa1'/>
<id>urn:sha1:2ad36f71144731f847c89b1f1e91f21c215cffa1</id>
<content type='text'>
* lang/qt/src/wkdrefreshjob.cpp, lang/qt/src/wkdrefreshjob.h,
lang/qt/src/wkdrefreshjob_p.h, lang/qt/src/qgpgmewkdrefreshjob.cpp,
lang/qt/src/qgpgmewkdrefreshjob.h: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function wkdRefreshJob
* lang/qt/src/protocol_p.h (Protocol::wkdRefreshJob): ... and
implement it.
* lang/qt/src/Makefile.am: Update accordingly.

* lang/qt/tests/run-wkdrefreshjob.cpp: New.
* lang/qt/tests/Makefile.am: Add new test runner.
--

This job allows updating keys via WKD. Only user IDs that were
originally retrieved via WKD (i.e. which have origin WKD) are
considered.

GnuPG-bug-id: 6672
</content>
</entry>
<entry>
<title>qt: Clean up after failure or cancel of sign/encrypt archive operation</title>
<updated>2023-08-16T12:23:15Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-08-16T12:23:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=40ca3d58963884a876c826dcf5c32673b8ddc084'/>
<id>urn:sha1:40ca3d58963884a876c826dcf5c32673b8ddc084</id>
<content type='text'>
* lang/qt/src/qgpgmeencryptarchivejob.cpp (encrypt): Remove output file
if operation was canceled or failed.
* lang/qt/src/qgpgmesignarchivejob.cpp (sign): Ditto.
* lang/qt/src/qgpgmesignencryptarchivejob.cpp (sign_encrypt): Ditto.

* lang/qt/tests/run-encryptarchivejob.cpp (CommandLineOptions): Add
field cancelTimeout.
(parseCommandLine): Add option --cancel-after. Parse option value.
(main): Check for invalid cancel timeout. Start timer for canceling
the job.
* lang/qt/tests/run-signarchivejob.cpp (CommandLineOptions): Add
field cancelTimeout.
(parseCommandLine): Add option --cancel-after. Parse option value.
(main): Check for invalid cancel timeout. Start timer for canceling
the job.
--

This change ensures that the output file is removed if the creation of
a signed or encrypted archive was canceled or failed. The new option
of the test runners enables testing the cancelation of the jobs.

GnuPG-bug-id: 6584
</content>
</entry>
<entry>
<title>qt: Make toLogString helper public</title>
<updated>2023-08-15T09:56:40Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-08-15T09:56:40Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c3171d0cf1a249618f0763fe141ab84d8a4be240'/>
<id>urn:sha1:c3171d0cf1a249618f0763fe141ab84d8a4be240</id>
<content type='text'>
* lang/qt/src/util.h: Move toLogString ...
* lang/qt/src/debug.h: ... here.
* lang/qt/tests/run-importjob.cpp (main): Use toLogString.
--

This allows using the helper in dependent projects without duplicating
it everywhere.

GnuPG-bug-id: 6584
</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: Expose gpgme_decrypt_result_t.is_mime through cpp API</title>
<updated>2023-08-04T09:34:27Z</updated>
<author>
<name>Carl Schwan</name>
<email>carl.schwan@gnupg.com</email>
</author>
<published>2023-07-25T13:39:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8701e989376dfa772f299fe41bf4a60a98f8564e'/>
<id>urn:sha1:8701e989376dfa772f299fe41bf4a60a98f8564e</id>
<content type='text'>
* lang/cpp/src/descriptionresult.cpp (DescriptionResult::isMime): New.
* lang/cpp/src/descriptionresult.h: Update accordingly.

--
This exposes the is_mime metadata from a decryption result to users
of the C++ library.

GnuPG-bug-id: 6199
Signed-off-by: Carl Schwan &lt;carl.schwan@gnupg.com&gt;
</content>
</entry>
<entry>
<title>qt: Add setInputEncoding to QGpgMe::EncryptJob</title>
<updated>2023-08-03T09:53:06Z</updated>
<author>
<name>Carl Schwan</name>
<email>carl.schwan@gnupg.com</email>
</author>
<published>2023-07-28T08:10:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d91d037fc19f0bbec44210099dc0d0e358d3fd4a'/>
<id>urn:sha1:d91d037fc19f0bbec44210099dc0d0e358d3fd4a</id>
<content type='text'>
* lang/qt/src/encryptjob.cpp, lang/qt/src/encryptjob.h,
lang/qt/src/encryptjob_p.h: Add inputEncoding/setInputEncoding
to EncryptJob
* lang/qt/src/qgpgmeencryptjob.cpp: Use newly added inputEncoding
to set encoding hint of the encrypted content
--

This allows applications like KMail to set the input encoding of the
encrypted content, which simplify and improve the performance of
identifying the content type then decrypting it.

GnuPG-bug-id: 6616
Signed-off-by: Carl Schwan &lt;carl.schwan@gnupg.com&gt;
</content>
</entry>
<entry>
<title>qt: Ensure that we check the correct paths</title>
<updated>2023-07-08T19:49:12Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-07-08T19:43:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e3defc0adf68de74a735abae334739771838f191'/>
<id>urn:sha1:e3defc0adf68de74a735abae334739771838f191</id>
<content type='text'>
* lang/qt/src/QGpgmeConfig-w32.cmake.in.in,
lang/qt/src/QGpgmeQt6Config-w32.cmake.in.in: Get paths to check from
the target properties.
--

This avoids the error present in an older version where the files to
check used the correct path, but a wrong path of the DLL was set in the
target properties.
</content>
</entry>
</feed>
