gpgme/lang/cpp/src
Andre Heinecke 194272dbc3
cpp, qt: Use uidhash to select uids for signing
* 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.
2019-12-13 18:06:00 +01:00
..
interfaces qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +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 qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
context_glib.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
context_p.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01: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: Add wrapper for gpgme_set_global_flag 2019-04-24 12:36:14 +02:00
context.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
data_p.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
data.cpp cpp: Make GpgME::Data::toKeys really const 2019-02-21 13:04:54 +01:00
data.h cpp: Add gpgme_data_rewind to cpp API 2018-05-29 09:19:50 +02:00
decryptionresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
decryptionresult.h cpp: Add legacy_cipher_nomdc 2018-06-01 10:58:24 +02: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: Add env var to control editinteractor debug 2019-11-01 12:00:18 +01:00
editinteractor.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
encryptionresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
encryptionresult.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
engineinfo.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
engineinfo.h cpp: Fix version info comparison 2017-09-04 11:23:56 +02: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: Add wrapper for gpgme_set_global_flag 2019-04-24 12:36:14 +02:00
gpgadduserideditinteractor.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +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: Fix initialization warning 2019-05-03 08:49:34 +02:00
gpggencardkeyinteractor.h cpp: Fix GenCardKeyInteractor and extend it 2019-03-26 12:02:28 +01: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 qt, cpp: Add cmake config files for w32 2016-11-15 14:33:31 +01:00
GpgmeppConfig.cmake.in.in cpp: Fix CMake config library name for GPGME 2017-06-12 15:25:33 +02:00
GpgmeppConfigVersion.cmake.in qt, cpp: Fix versioning in cmake config and header 2016-11-02 14:43:44 +01:00
gpgsetexpirytimeeditinteractor.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
gpgsetexpirytimeeditinteractor.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
gpgsetownertrusteditinteractor.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
gpgsetownertrusteditinteractor.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
gpgsignkeyeditinteractor.cpp cpp, qt: Use uidhash to select uids for signing 2019-12-13 18:06:00 +01:00
gpgsignkeyeditinteractor.h cpp, qt: Use uidhash to select uids for signing 2019-12-13 18:06:00 +01:00
importresult.cpp cpp: Add ostream operators for import result 2019-02-21 13:05:55 +01:00
importresult.h cpp: Add ostream operators for import result 2019-02-21 13:05:55 +01:00
key.cpp cpp, qt: Use uidhash to select uids for signing 2019-12-13 18:06:00 +01:00
key.h cpp, qt: Use uidhash to select uids for signing 2019-12-13 18:06:00 +01:00
keygenerationresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
keygenerationresult.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
keylistresult.cpp qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
keylistresult.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
Makefile.am qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
notation.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
result_p.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
result.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +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 qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
signingresult.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
swdbresult.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
swdbresult.h Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
tofuinfo.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
tofuinfo.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02: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.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
verificationresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
verificationresult.h Add flag 'is_de_vs' to decryption results and signatures. 2017-06-01 14:16:11 +02:00
vfsmountresult.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
vfsmountresult.h cpp: Get rid of AssuanResult due to its deprecation. 2016-08-24 14:15:58 +02:00