<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp, branch dkg/fix-4820</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=dkg%2Ffix-4820</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=dkg%2Ffix-4820'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2019-12-13T17:06:00Z</updated>
<entry>
<title>cpp, qt: Use uidhash to select uids for signing</title>
<updated>2019-12-13T17:06:00Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-12-13T17:06:00Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=194272dbc3e326cc32c1464bc6fda0c0d10b5559'/>
<id>urn:sha1:194272dbc3e326cc32c1464bc6fda0c0d10b5559</id>
<content type='text'>
* lang/cpp/src/gpgsignkeyeditinteractor.cpp (action):
Use uidhash instead of number.
(GpgSignKeyEditInteractor::setKey): New.
* lang/cpp/src/gpgsignkeyeditinteractor.h: Update accordingly.
* lang/cpp/src/key.h, lang/cpp/src/key.cpp: Wrap uidhash.
* lang/qt/src/qgpgmesignkeyjob.cpp: Set the key.

--
Using the uidhash avoids problems when the user ids
on --edit-key are different ones then the uids
captured by gpgme when listing keys. Or if
they are in a different order. This can happen
with cached keys or keys with user attributes.
</content>
</entry>
<entry>
<title>cpp: Add API to obtain mutliple remarks</title>
<updated>2019-11-04T12:54:55Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-11-04T12:54:55Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=cb7668caeb71429afce1aded9128334182b233e1'/>
<id>urn:sha1:cb7668caeb71429afce1aded9128334182b233e1</id>
<content type='text'>
* lang/cpp/src/key.cpp, lang/cpp/src/key.h (UserID::remarks): New.
* NEWS: Mention this.

--
This can be useful if we want to show remarks made by others, too.

For:
GnuPG-Bug-Id: T4734
</content>
</entry>
<entry>
<title>cpp: Fix dupe_ok state for single uid</title>
<updated>2019-11-04T10:17:27Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-11-04T10:17:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=08933c183a4c299eb4696092d6d229f607fce985'/>
<id>urn:sha1:08933c183a4c299eb4696092d6d229f607fce985</id>
<content type='text'>
* lang/cpp/src/gpgsignkeyeditinteractor.cpp (makeTable):
Add transition from command to dupe_ok
</content>
</entry>
<entry>
<title>cpp: Minor optimization in remark lookup</title>
<updated>2019-11-01T11:04:41Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-11-01T11:04:41Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=174caaa6f53e1125724a47dad3a5c991298aee6d'/>
<id>urn:sha1:174caaa6f53e1125724a47dad3a5c991298aee6d</id>
<content type='text'>
* lang/cpp/src/key.cpp (UserID::remark): Use C-API.

--
The other parts of that function already use the C API
so we can also avoid function calls for the keyListMode.
</content>
</entry>
<entry>
<title>cpp: Fix adding duplicated sigs on multiple uids</title>
<updated>2019-11-01T11:02:07Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-11-01T11:02:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=266e05eee859b83d97079c2fbbd2f1da010fa412'/>
<id>urn:sha1:266e05eee859b83d97079c2fbbd2f1da010fa412</id>
<content type='text'>
* lang/cpp/src/gpgsignkeyeditinteractor.cpp: Add another
state DUPE_OK2 to allow gpg looping over all uids.

--
When duplicated signatures should be added to multiple
user ids GnuPG will ask for each uid so we have to
add a transition for that.

GnuPG-Bug-Id: T4734
</content>
</entry>
<entry>
<title>cpp: Add env var to control editinteractor debug</title>
<updated>2019-11-01T11:00:18Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-11-01T11:00:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=a4d5394b4607382d846e8c156439ac182f9945d7'/>
<id>urn:sha1:a4d5394b4607382d846e8c156439ac182f9945d7</id>
<content type='text'>
* lang/cpp/src/editinteractor.cpp (EditInteractor::Private::Private):
Read "GPGMEPP_INTERACTOR_DEBUG" env var.
(EditInteractor::Private::~Private): Close debug file.

--
While it was possible for the application to control the
debug through setDebugChannel it is often times helpful
to just debug without changing the application using
GPGME
</content>
</entry>
<entry>
<title>cpp: Add support for multiple keysigs in edit</title>
<updated>2019-10-29T15:31:20Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-10-29T15:26:42Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=36f7f7a478228a64d3d51a4901a264c8f55f90bb'/>
<id>urn:sha1:36f7f7a478228a64d3d51a4901a264c8f55f90bb</id>
<content type='text'>
* lang/cpp/src/gpgsignkeyeditinteractor.cpp
(GpgSignKeyEditInteractor::setDupeOk): New.
(makeTable): Add new tansitions.
(SignKeyState): Add DUPE_OK Status.
(GpgSignKeyEditInteractor::action): Handle DUPE_OK.
(GpgSignKeyEditInteractor::Private::Private): Carry flag.

--
When extended-edit is enabled this can be used to answer
the "dupe_ok" query from the edit-key with yes.

This is for:
GnuPG-Bug-Id: T4734
</content>
</entry>
<entry>
<title>cpp: Add convenience API to obtain remarks</title>
<updated>2019-10-29T15:24:01Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-10-29T15:24:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=83ecf1686a9a4e7de3a7b176cf272d9f9f640445'/>
<id>urn:sha1:83ecf1686a9a4e7de3a7b176cf272d9f9f640445</id>
<content type='text'>
* lang/cpp/src/key.h, lang/cpp/src/key.cpp (UserID::remark): New.

--
A remark made by one key on another is a signature notation on
a user id certification signature with the name "rem@gnupg.org".

This helps with:
GnuPG-Bug-Id: T4734
</content>
</entry>
<entry>
<title>cpp: Minor coding style fix</title>
<updated>2019-10-29T10:04:41Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-10-29T10:04:41Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9d836988188200aa6c7de1db02b08ad73f770005'/>
<id>urn:sha1:9d836988188200aa6c7de1db02b08ad73f770005</id>
<content type='text'>
--
</content>
</entry>
<entry>
<title>cpp: Fix initialization warning</title>
<updated>2019-05-03T06:49:34Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-05-03T06:49:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=0ed81498147723f0e9282df5ae08b8b8e40edd2f'/>
<id>urn:sha1:0ed81498147723f0e9282df5ae08b8b8e40edd2f</id>
<content type='text'>
* lanc/cpp/src/gpggencardkeyinteractor.cpp
(GpgGenCardKeyInteractor::Private): Fix initialization warning.
</content>
</entry>
</feed>
