gpgme/lang/cpp/src
Ingo Klöcker 5bd84cfd3f
cpp: Fix Key::canSign()
* lang/cpp/src/key.h (canReallySign): Deprecate.
* lang/cpp/src/key.cpp (canSign): Remove workaround. Use implementation
of canReallySign.
(canReallySign): Use canSign().
(operator<<): Use canSign().
--

The workaround in canSign was added 19 years ago and canReallySign, the
workaround for the workaround, was added 13 years ago. Time to get rid
of those workarounds for a bug in gpgme which has been fixed long ago
and which cause bugs for any unsuspecting user of Key::canSign().

GnuPG-bug-id: 6456
2023-04-18 13:16:22 +02:00
..
interfaces Add Assuan transaction that forwards status lines to another object 2020-10-23 13:50:16 +02:00
callbacks.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
callbacks.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
configuration.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
configuration.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
context_glib.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
context_p.h cpp: Allow retrieving import result of key listing with locate mode 2022-05-04 14:31:03 +02:00
context_qt.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
context_vanilla.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
context.cpp cpp: Return successful verification for signed but not encrypted data 2023-02-02 12:11:29 +01:00
context.h cpp: Update decryption flags 2023-02-02 09:56:22 +01:00
data_p.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
data.cpp cpp: Add convenience overload to set file name 2023-01-27 12:14:10 +01:00
data.h cpp: Add convenience overload to set file name 2023-01-27 12:14:10 +01:00
decryptionresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
decryptionresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
defaultassuantransaction.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
defaultassuantransaction.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
editinteractor.cpp cpp: Handle status errors in the base edit interactor 2022-12-08 15:31:37 +01:00
editinteractor.h cpp: Return actual error if revocation fails 2022-04-05 10:15:07 +02:00
encryptionresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
encryptionresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
engineinfo.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
engineinfo.h cpp: Add const-overloads of version comparison operators 2023-02-02 09:47:10 +01:00
error.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
eventloopinteractor.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
eventloopinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
exception.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
exception.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
global.h cpp: Support new archive signing flag 2023-01-30 12:49:12 +01:00
gpgaddexistingsubkeyeditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgaddexistingsubkeyeditinteractor.h cpp: Add interactor to add existing subkeys to other keys 2022-01-12 16:38:58 +01:00
gpgadduserideditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgadduserideditinteractor.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
gpgagentgetinfoassuantransaction.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgagentgetinfoassuantransaction.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
gpggencardkeyinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpggencardkeyinteractor.h cpp: Allow setting the curve to use when generating ECC keys 2022-10-24 12:22:09 +02:00
gpgmefw.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
gpgmepp_export.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
gpgmepp_version.h.in qt, cpp: Fix versioning in cmake config and header 2016-11-02 14:43:44 +01:00
GpgmeppConfig-w32.cmake.in.in cpp: Remove obsolete compatibility with KF5 variants 2022-06-30 12:30:15 +02:00
GpgmeppConfig.cmake.in.in cpp: Remove obsolete compatibility with KF5 variants 2022-06-30 12:30:15 +02:00
GpgmeppConfigVersion.cmake.in qt, cpp: Fix versioning in cmake config and header 2016-11-02 14:43:44 +01:00
gpgrevokekeyeditinteractor.cpp cpp: Fix comparisons of integer expressions of different signedness 2023-01-05 20:29:27 +01:00
gpgrevokekeyeditinteractor.h cpp: Do not export symbols of the Private class 2022-04-05 10:05:43 +02:00
gpgsetexpirytimeeditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgsetexpirytimeeditinteractor.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
gpgsetownertrusteditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgsetownertrusteditinteractor.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
gpgsignkeyeditinteractor.cpp cpp: Handle statuses that need no response in the base edit interactor 2022-12-08 15:31:21 +01:00
gpgsignkeyeditinteractor.h cpp: Add support for trust signatures to sign key edit interactor 2021-05-05 19:26:03 +02:00
importresult.cpp cpp: Fix building with C++11 2022-08-19 11:05:37 +02:00
importresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
key.cpp cpp: Fix Key::canSign() 2023-04-18 13:16:22 +02:00
key.h cpp: Fix Key::canSign() 2023-04-18 13:16:22 +02:00
keygenerationresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
keygenerationresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
keylistresult.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
keylistresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
Makefile.am cpp: Add interactor to revoke a key 2022-03-30 12:05:26 +02:00
notation.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
result_p.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
result.h cpp: Allow changing the error of a result 2022-04-22 17:30:59 +02:00
scdgetinfoassuantransaction.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
scdgetinfoassuantransaction.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
signingresult.cpp cpp: Support new archive signing flag 2023-01-30 12:49:12 +01:00
signingresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
statusconsumerassuantransaction.cpp Add Assuan transaction that forwards status lines to another object 2020-10-23 13:50:16 +02:00
statusconsumerassuantransaction.h Add Assuan transaction that forwards status lines to another object 2020-10-23 13:50:16 +02:00
swdbresult.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
swdbresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
tofuinfo.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
tofuinfo.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
trustitem.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
trustitem.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
util.cpp cpp: Add internal adapter for passing a vector of strings to gpgme 2022-02-03 15:56:30 +01:00
util.h cpp: Support new keylist modes 2022-04-27 17:21:04 +02:00
verificationresult.cpp cpp: Improve debug output of some enums 2023-02-09 09:56:18 +01:00
verificationresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00
vfsmountresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
vfsmountresult.h cpp: Expliticly declare compiler generated copy constructors 2023-01-05 20:17:57 +01:00