<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/src, branch gpgme-1.15.0</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.15.0</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.15.0'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2020-11-03T08:01:32Z</updated>
<entry>
<title>cpp: Mark helper functions as static</title>
<updated>2020-11-03T08:01:32Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-11-03T08:01:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b41f5fec1c42e0113ccbdbb7c258899793631b0a'/>
<id>urn:sha1:b41f5fec1c42e0113ccbdbb7c258899793631b0a</id>
<content type='text'>
lang/cpp/src/key.cpp (find_subkey, verify_subkey, find_uid, verify_uid,
find_signature, verify_signature): Mark as static.
</content>
</entry>
<entry>
<title>cpp: Make signatures belonging to the same user ID sortable</title>
<updated>2020-11-03T07:59:54Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-11-03T07:59:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=6a6d2a27648490f08aaf0759a533aef08b32070d'/>
<id>urn:sha1:6a6d2a27648490f08aaf0759a533aef08b32070d</id>
<content type='text'>
lang/cpp/src/key.h, lang/cpp/src/key.cpp (UserID::Signature::operator&lt;):
New.
lang/cpp/src/key.cpp (signature_index): New.
--

operator&lt; defines a canonical sort order for signatures belonging to
the same user ID. It is based on the sort order defined by
cmp_signodes() in g10/keylist.c of gnupg. In particular, the ordering
of signatures made with the same key by creation time allows to see
easily whether the most recent signature is a certification or a
revocation.

GnuPG-bug-id: 5094
recent
</content>
</entry>
<entry>
<title>cpp: Add support for gpgme_op_revsig</title>
<updated>2020-10-29T11:57:10Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-10-28T11:48:31Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=4166d263e421cb4f98c4ca6bef549613c35e149e'/>
<id>urn:sha1:4166d263e421cb4f98c4ca6bef549613c35e149e</id>
<content type='text'>
* lang/cpp/src/context.cpp, lang/cpp/src/context.h
(Context::revokeSignature, Context::startRevokeSignature): New.
* lang/cpp/src/context.cpp
(getLFSeparatedListOfStrings, getLFSeparatedListOfUserIds): New.
(getLFSeparatedListOfFingerprintsFromSubkeys): Extracted second part
of function to getLFSeparatedListOfStrings.
--

GnuPG-bug-id: 5094
</content>
</entry>
<entry>
<title>cpp: Add support for gpgme_cancel</title>
<updated>2020-10-23T11:50:16Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-10-21T16:03:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=74c8131d809be49d64f482961fee1e6e0dbe4f4f'/>
<id>urn:sha1:74c8131d809be49d64f482961fee1e6e0dbe4f4f</id>
<content type='text'>
* lang/cpp/src/context.cpp, lang/cpp/context.h
(Context::cancelPendingOperationImmediately): New.
* NEWS: Mention added API
--

This allows immediate canceling of running operations, e.g. when a
thread with a long running operation (like SCD DEVINFO --watch) is
going to be terminated (on application shutdown).

GnuPG-bug-id: 5066
</content>
</entry>
<entry>
<title>Add Assuan transaction that forwards status lines to another object</title>
<updated>2020-10-23T11:50:16Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-10-16T09:53:31Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ff23e24063feb9e1628858fd32df37be557072a6'/>
<id>urn:sha1:ff23e24063feb9e1628858fd32df37be557072a6</id>
<content type='text'>
* lang/cpp/src/Makefile.am: Add new files.
* lang/cpp/src/interfaces/statusconsumer.h,
lang/cpp/src/statusconsumerassuantransaction.cpp,
lang/cpp/src/statusconsumerassuantransaction.h: New.
* NEWS: Mention new API.
--

This Assuan transaction is useful for long running Assuan commands.
Classes implementing the StatusConsumer interface can process received
status lines while the Assuan command is still running.

GnuPG-bug-id: 5066
</content>
</entry>
<entry>
<title>cpp, qt: Add missing comparison operators for version info comparison</title>
<updated>2020-10-23T11:50:16Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-10-15T14:50:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c3406462d11b4241d4feee9be08e0ebe4f2e0bfa'/>
<id>urn:sha1:c3406462d11b4241d4feee9be08e0ebe4f2e0bfa</id>
<content type='text'>
* lang/cpp/src/engineinfo.h (EngineInfo::Version::operator&lt;=,
EngineInfo::Version::operator&gt;=, EngineInfo::Version::operator!=):
New.
* lang/qt/tests/t-various.cpp (TestVarious::testVersion): Add tests for
new comparison operators.
* NEWS: Mention added API
</content>
</entry>
<entry>
<title>cpp, qt: Fix version info comparison</title>
<updated>2020-10-23T11:50:16Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-10-15T14:45:31Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2f53a2f4be86c0829213e2a9f846b7f8f0b106dc'/>
<id>urn:sha1:2f53a2f4be86c0829213e2a9f846b7f8f0b106dc</id>
<content type='text'>
* lang/cpp/src/engineinfo.h
(EngineInfo::Version::operator&gt;(const Version &amp;)): Fix logic.
(EngineInfo::Version::operator&gt;(const char *)): Use Version-overload of
operator&gt;.

* lang/qt/tests/t-various.cpp: Add test.
--

This fixes a logic error that 2.0.0 &gt; 2.0.0 would return true.
</content>
</entry>
<entry>
<title>cpp: Update key with --with-secret instead of updating it twice</title>
<updated>2020-09-08T12:55:20Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-09-08T12:55:20Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3dd7377e120f10576b3b4334b6149f027ceec126'/>
<id>urn:sha1:3dd7377e120f10576b3b4334b6149f027ceec126</id>
<content type='text'>
* lang/cpp/src/key.cpp (Key::update): Call Context::key() only once
with KeyListMode::WithSecret.
--

With gpg &gt;= 2.1, get the key with --with-secret instead of first trying
to get the secret key and, if that fails, getting the public key.

GnuPG-bug-id: 4794
</content>
</entry>
<entry>
<title>cpp: Add keylist mode WithSecret</title>
<updated>2020-09-07T09:55:07Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-09-07T09:55:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=188cc9e9b553998d2a8ec52bd8282365e22bf400'/>
<id>urn:sha1:188cc9e9b553998d2a8ec52bd8282365e22bf400</id>
<content type='text'>
* lang/cpp/src/global.h (WithSecret): New.
* lang/cpp/src/context.cpp (operator&lt;&lt;): Handle WithSecret.
* lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t,
convert_from_gpgme_keylist_mode_t): Ditto.
--

GnuPG-bug-id: 4794
</content>
</entry>
<entry>
<title>cpp: Add missing keylist modes</title>
<updated>2020-09-07T09:36:11Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2020-09-07T09:36:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=b714a6bbc8038c1b226bc920dd02ce8fbae7da8a'/>
<id>urn:sha1:b714a6bbc8038c1b226bc920dd02ce8fbae7da8a</id>
<content type='text'>
* lang/cpp/src/util.h
(add_to_gpgme_keylist_mode_t): Sort modes as in enum definition and
add missing modes to check.
(convert_from_gpgme_keylist_mode_t): Add missing handling of
GPGME_KEYLIST_MODE_WITH_TOFU and GPGME_KEYLIST_MODE_WITH_KEYGRIP.
</content>
</entry>
</feed>
