<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp, branch ikloecker/qt6</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=ikloecker%2Fqt6</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=ikloecker%2Fqt6'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2022-09-14T08:41:38Z</updated>
<entry>
<title>cpp: Reject signing expired keys</title>
<updated>2022-09-14T08:41:38Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-09-14T08:41:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=eedaaf70167f5dd7d8438235139b57527d3a961b'/>
<id>urn:sha1:eedaaf70167f5dd7d8438235139b57527d3a961b</id>
<content type='text'>
* lang/cpp/src/gpgsignkeyeditinteractor.cpp (enum SignKeyState): Add
new state REJECT_SIGN_EXPIRED.
(makeTable): Add entries for new state to transition map.
(GpgSignKeyEditInteractor::action): Handle new state.
--

With this change the edit interactor aborts the key signing operation
with a "key expired" error instead of with a "general error".

GnuPG-bug-id: 6155
</content>
</entry>
<entry>
<title>cpp: Fix building with C++11</title>
<updated>2022-08-19T09:05:37Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-08-19T09:05:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f02c20cc9c5756690b07abfd02a43533547ba2ef'/>
<id>urn:sha1:f02c20cc9c5756690b07abfd02a43533547ba2ef</id>
<content type='text'>
* lang/cpp/src/importresult.cpp (ImportResult::mergeWith): Replace
'auto' in lambdas with the actual type.
--

Generic lambdas require C++14.

GnuPG-bug-id: 6141
</content>
</entry>
<entry>
<title>cpp: Fix handling of "no key" or "invalid time" situations</title>
<updated>2022-08-18T08:43:19Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-08-18T08:43:19Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2fa5c80aeba4528b3bdf41ec5740e7db5d4b6d2b'/>
<id>urn:sha1:2fa5c80aeba4528b3bdf41ec5740e7db5d4b6d2b</id>
<content type='text'>
* lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp
(GpgAddExistingSubkeyEditInteractor::Private::nextState): Fix inverted
logic of string comparisons.
--

This fixes the problem that the interactor didn't return the proper
error code if gpg didn't accept the key grip or the expiration date.

GnuPG-bug-id: 6137
</content>
</entry>
<entry>
<title>cpp: Add support for gpgme_op_set_uid_flag</title>
<updated>2022-08-09T12:52:42Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-08-09T07:35:19Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=125867f268f2a49ff060a7adc859500500b77025'/>
<id>urn:sha1:125867f268f2a49ff060a7adc859500500b77025</id>
<content type='text'>
* lang/cpp/src/context.cpp, lang/cpp/src/context.h
(Context::setPrimaryUid, Context::startSetPrimaryUid): New.
--

GnuPG-bug-id: 5938
</content>
</entry>
<entry>
<title>cpp: Remove obsolete compatibility with KF5 variants</title>
<updated>2022-06-30T10:30:15Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-06-30T10:29:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=6e45da30ae787dd45836e55d34f7aa4e001b641c'/>
<id>urn:sha1:6e45da30ae787dd45836e55d34f7aa4e001b641c</id>
<content type='text'>
* lang/cpp/src/GpgmeppConfig-w32.cmake.in.in,
lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove find_package() call.
--

The KF5 variants have been removed years ago with revision
a3cf30f89418c8a6bc9456533d95ba7fc2a33a4c.
</content>
</entry>
<entry>
<title>cpp: Export KeyListModeSaver</title>
<updated>2022-05-12T07:34:15Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2022-05-12T07:34:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f3011b5a1918dbe9d2b1316707a2c1034c847507'/>
<id>urn:sha1:f3011b5a1918dbe9d2b1316707a2c1034c847507</id>
<content type='text'>
* lang/cpp/src/context.h (Context::KeyListModeSaver): Add Export.

--
This is required for Windows.
</content>
</entry>
<entry>
<title>cpp: Output more properties of a subkey</title>
<updated>2022-05-05T15:25:47Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-05-05T15:24:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=306fd9c915cbccddbd146f37ba9bd826f10d2535'/>
<id>urn:sha1:306fd9c915cbccddbd146f37ba9bd826f10d2535</id>
<content type='text'>
* lang/cpp/src/key.cpp (ostream operator&lt;&lt; for Subkey): Fix wrong output
of isInvalid and isDisabled flags. Add output of key grip, card serial
number and the flags isSecret, isQualified, isDeVs, and isCardKey.
--

This makes it easier to check those properties for different keys, e.g.
with the run-keylist test program.

GnuPG-bug-id: 5965
</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: Allow retrieving import result of key listing with locate mode</title>
<updated>2022-05-04T12:31:03Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-05-04T12:31:03Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3519d6117332f25b601c9c0636878baf4e8cf55b'/>
<id>urn:sha1:3519d6117332f25b601c9c0636878baf4e8cf55b</id>
<content type='text'>
* lang/cpp/src/context_p.h (enum Context::Private::Operation): Add
value KeyListWithImport.
* lang/cpp/src/context.cpp (Context::startKeyListing, Context::nextKey):
Set lastop to KeyListWithImport if keylist mode includes Locate.
--

Adding Import to lastop for keylist operations that perform a locate
allows retrieving the import result with Context::importResult.

GnuPG-bug-id: 5951
</content>
</entry>
<entry>
<title>cpp: Allow merging the results of two imports</title>
<updated>2022-05-04T10:37:47Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-05-04T10:37:47Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d911a1536488a5645f257a48b4d9cf221c0ed6b6'/>
<id>urn:sha1:d911a1536488a5645f257a48b4d9cf221c0ed6b6</id>
<content type='text'>
* lang/cpp/src/importresult.h, lang/cpp/src/importresult.cpp (class
ImportResult): Add member function mergeWith.
--

This allows creating a consolidated result of several independent
imports. If the import results to merge considered the same keys, then
not all counts can be consolidated correctly, but the important numbers
like the number of considered keys, the number of imported keys, the
number of unchanged keys and the numbers of new user IDs, subkeys,
signatures and revocations should be correct.

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