<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/src, branch gpgme-1.17.0</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.17.0</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.17.0'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2022-02-03T14:56:30Z</updated>
<entry>
<title>cpp: Allow import of keys given by key ids</title>
<updated>2022-02-03T14:56:30Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-02-02T10:07:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=bbaeeb5b9d5cca99c332cb88c7ae5f14e8745427'/>
<id>urn:sha1:bbaeeb5b9d5cca99c332cb88c7ae5f14e8745427</id>
<content type='text'>
* lang/cpp/src/context.h (class Context): Add overloads of member
functions importKeys and startKeyImport
* lang/cpp/src/context.cpp (class Context): ... and implement them.
--

GnuPG-bug-id: 5808
</content>
</entry>
<entry>
<title>cpp: Add internal adapter for passing a vector of strings to gpgme</title>
<updated>2022-02-03T14:56:30Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-02-02T09:57:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3d7810e8d940229435feb8f9811607ee831abf4b'/>
<id>urn:sha1:3d7810e8d940229435feb8f9811607ee831abf4b</id>
<content type='text'>
* lang/cpp/src/util.h (class StringsToCStrings): New.
* lang/cpp/src/util.cpp: New.
* lang/cpp/src/Makefile.am: Add new file.
--

This adapter simplifies passing a vector of strings as NULL-terminated
array of const char* to the C-interface of gpgme.

GnuPG-bug-id: 5808
</content>
</entry>
<entry>
<title>cpp: Add interactor to add existing subkeys to other keys</title>
<updated>2022-01-12T15:38:58Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-01-12T15:38:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=a4dcb17486bb42890ffe6453eeb2c6f301dc1fae'/>
<id>urn:sha1:a4dcb17486bb42890ffe6453eeb2c6f301dc1fae</id>
<content type='text'>
* lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp,
lang/cpp/src/gpgaddexistingsubkeyeditinteractor.h: New.
* lang/cpp/src/Makefile.am: Add new files.
--

GnuPG-bug-id: 5770
</content>
</entry>
<entry>
<title>cpp: Allow export of secret subkeys</title>
<updated>2022-01-04T14:50:59Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-01-04T14:50:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e5c7fc3e022841be8f68fad8b9b64dd601b89ba7'/>
<id>urn:sha1:e5c7fc3e022841be8f68fad8b9b64dd601b89ba7</id>
<content type='text'>
* lang/cpp/src/context.h (enum Context::ExportMode): Add value
ExportSecretSubkey.
(class Context): Add member functions exportSecretSubkeys and
startSecretSubkeyExport.
* lang/cpp/src/context.cpp (Context::exportPublicKeys,
Context::startPublicKeyExport): Return error if ExportSecretSubkey
mode flag is set.
(Context::exportSecretSubkeys, Context::startSecretSubkeyExport):
Implement.
--

GnuPG-bug-id: 5757
</content>
</entry>
<entry>
<title>cpp: Allow export of secret keys</title>
<updated>2022-01-04T14:44:16Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-01-04T14:23:40Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3da06d1096ee29d70656f07edcabc3bc4351104e'/>
<id>urn:sha1:3da06d1096ee29d70656f07edcabc3bc4351104e</id>
<content type='text'>
* lang/cpp/src/context.h (class Context): New member functions
exportSecretKeys, startSecretKeyExport, exportKeys, startKeyExport.
(Context::exportPublicKeys, Context::startPublicKeyExport): Rename
argument flags/export_mode to mode.
* lang/cpp/src/context.cpp (Context::exportPublicKeys): Return error if
ExportSecret mode flag is set. Call exportKeys().
(Context::startPublicKeyExport): Return error if
ExportSecret mode flag is set. Call startKeyExport().
(Context::exportSecretKeys, Context::startSecretKeyExport,
Context::exportKeys, Context::startKeyExport): Implement.
--

This adds export functions for secret key exports and generic export
functions that can be used for any key export supported by
gpgme_op_export[_ext][_start].

GnuPG-bug-id: 5757
</content>
</entry>
<entry>
<title>cpp: Mark ExportNoUID flag as obsolete</title>
<updated>2022-01-04T13:55:30Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-01-04T13:55:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=4888191014c24d5954685814e06c9ff0ee38739f'/>
<id>urn:sha1:4888191014c24d5954685814e06c9ff0ee38739f</id>
<content type='text'>
* lang/cpp/src/context.h (enum Context::ExportMode): Mark value
ExportNoUID as obsolete
--

GnuPG-bug-id: 5757
</content>
</entry>
<entry>
<title>cpp: Remove obsolete workaround</title>
<updated>2022-01-04T08:56:46Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-01-04T08:56:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=fa5f1b57cc12f9305d112f11c2c2d95751ed1a25'/>
<id>urn:sha1:fa5f1b57cc12f9305d112f11c2c2d95751ed1a25</id>
<content type='text'>
* lang/cpp/src/context.cpp (Context::startKeyListing,
Context::exportPublicKeys, Context::startPublicKeyExport): Remove
workaround.
--

gpgme_op_keylist_ext[_start] supports GPGME_KEYLIST_MODE_EXTERN
since a long time. And the export doesn't use a keylisting (anymore),
so that the keylisting mode is irrelevant for the export.

GnuPG-bug-id: 5757
</content>
</entry>
<entry>
<title>cpp: Check fpr of import status for NULL</title>
<updated>2021-12-22T14:25:42Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-12-22T11:16:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=300776f39165da068757864e9cb3029f06f3be5b'/>
<id>urn:sha1:300776f39165da068757864e9cb3029f06f3be5b</id>
<content type='text'>
* lang/cpp/src/importresult.cpp (GpgME::ImportResult::Private): Check
fpr for NULL.
--

GnuPG-bug-id: 5713
</content>
</entry>
<entry>
<title>cpp: Add new supported components to API docs of dirInfo()</title>
<updated>2021-12-10T11:10:13Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-12-10T11:10:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=5f1ba40116199cd77987c3c2797d600f6df018c2'/>
<id>urn:sha1:5f1ba40116199cd77987c3c2797d600f6df018c2</id>
<content type='text'>
lang/cpp/src/global.h: Update API doc of dirInfo().
--

GnuPG-bug-id: 5727
</content>
</entry>
<entry>
<title>cpp: Return engine info for engine used by the context</title>
<updated>2021-12-07T10:14:32Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2021-12-07T10:13:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=0eddc867c31dd7239a1a9c4196bf8dc1372ea4b1'/>
<id>urn:sha1:0eddc867c31dd7239a1a9c4196bf8dc1372ea4b1</id>
<content type='text'>
lang/cpp/src/context.cpp (Context::engineInfo()): Return engine info
for protocol of context.
--

This change also fixes Context::setEngineFileName() and
Context::setEngineHomeDirectory() which overwrote home dir resp.
file name of the engine info for the protocol of context with the
corresponding value of the "first" engine info (i.e. engine info for
gpg) instead of keeping the current home dir resp. file name.

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