<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/cpp/src/gpgrevokekeyeditinteractor.cpp, branch gpgme-1.23.1</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.23.1</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.23.1'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2023-08-15T09:50:28Z</updated>
<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: Fix comparisons of integer expressions of different signedness</title>
<updated>2023-01-05T19:29:27Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2023-01-05T19:29:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2e9d72a0be8579d6f1d3c74c64873a9c2f844272'/>
<id>urn:sha1:2e9d72a0be8579d6f1d3c74c64873a9c2f844272</id>
<content type='text'>
* lang/cpp/src/gpgrevokekeyeditinteractor.cpp
(GpgRevokeKeyEditInteractor::Private::nextState): Cast signed nextLine
value to std::size_t.
--
</content>
</entry>
<entry>
<title>cpp: Handle status errors in the base edit interactor</title>
<updated>2022-12-08T14:31:37Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-12-08T14:27:22Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e7953dcf1376631719c73d9fa34bcb96752d3794'/>
<id>urn:sha1:e7953dcf1376631719c73d9fa34bcb96752d3794</id>
<content type='text'>
* lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl):
Handle status errors.
* lang/cpp/src/gpgrevokekeyeditinteractor.cpp
(GpgRevokeKeyEditInteractor::Private::nextState): Remove handling of
status errors.
--

With this change status errors are handled for all interactors. In
particular, this makes all edit interactors handle canceled password
prompts correctly.

GnuPG-bug-id: 6305
</content>
</entry>
<entry>
<title>cpp: Handle statuses that need no response in the base edit interactor</title>
<updated>2022-12-08T14:31:21Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-12-08T14:20:14Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c419376b85ff4a489f3bf7ad97ed656495792523'/>
<id>urn:sha1:c419376b85ff4a489f3bf7ad97ed656495792523</id>
<content type='text'>
* lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl): Do
not call nextState() if status needs no response.
* lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp
(GpgAddExistingSubkeyEditInteractor::Private::nextState),
lang/cpp/src/gpgadduserideditinteractor.cpp
(GpgAddUserIDEditInteractor::nextState),
lang/cpp/src/gpggencardkeyinteractor.cpp
(GpgGenCardKeyInteractor::nextState),
lang/cpp/src/gpgrevokekeyeditinteractor.cpp
(GpgRevokeKeyEditInteractor::Private::nextState),
lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp
(GpgSetExpiryTimeEditInteractor::nextState),
lang/cpp/src/gpgsetownertrusteditinteractor.cpp
(GpgSetOwnerTrustEditInteractor::nextState),
lang/cpp/src/gpgsignkeyeditinteractor.cpp
(GpgSignKeyEditInteractor::nextState): Remove handling of statuses that
need no response.
--

This change removes superfluous code duplication.

GnuPG-bug-id: 6305
</content>
</entry>
<entry>
<title>cpp: Return actual error if revocation fails</title>
<updated>2022-04-05T08:15:07Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-04-04T11:15:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=db532eca8ebd64536985e7a40af22e803e3b3df9'/>
<id>urn:sha1:db532eca8ebd64536985e7a40af22e803e3b3df9</id>
<content type='text'>
* lang/cpp/src/editinteractor.cpp, lang/cpp/src/editinteractor.h
(EditInteractor::parseStatusError): New.
* lang/cpp/src/gpgrevokekeyeditinteractor.cpp
(GpgRevokeKeyEditInteractor::Private::nextState): Handle status
error.
--

With this change the interactor returns a proper error like "Bad
Passphrase" or "Empty Passphrase" instead of an unspecific "General
Error" if a status error occurred.

GnuPG-bug-id: 5904
</content>
</entry>
<entry>
<title>cpp: Add interactor to revoke a key</title>
<updated>2022-03-30T10:05:26Z</updated>
<author>
<name>Ingo Klöcker</name>
<email>dev@ingo-kloecker.de</email>
</author>
<published>2022-03-29T13:19:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d96e8a7a6bfcaad4587dd2bb648aa764b0d4e1ba'/>
<id>urn:sha1:d96e8a7a6bfcaad4587dd2bb648aa764b0d4e1ba</id>
<content type='text'>
* lang/cpp/src/global.h (enum class RevocationReason): New.
* lang/cpp/src/gpgrevokekeyeditinteractor.cpp,
lang/cpp/src/gpgrevokekeyeditinteractor.h: New.
* lang/cpp/src/Makefile.am: Add new files.
--

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