gpgme/lang/qt/src
Ingo Klöcker ac4536990a qt: Extend SignKeyJob to create signatures with expiration date
* lang/qt/src/signkeyjob.h (SignKeyJob::setExpirationDate): New.
* lang/qt/src/qgpgmesignkeyjob.h, lang/qt/src/qgpgmesignkeyjob.cpp
(QGpgMESignKeyJob::setExpirationDate): New.
* lang/qt/src/qgpgmesignkeyjob.cpp (QGpgMESignKeyJob::Private): Add
member m_expiration.
(sign_key): Handle expiration date.
(QGpgMESignKeyJob::start): Pass expiration date to sign_key.

* lang/qt/tests/t-various.cpp
(TestVarious::testSignKeyWithoutExpiration,
TestVarious::testSignKeyWithExpiration): New.
(TestVarious::initTestCase): Add "allow-weak-key-signatures" to
gpg.conf.
--

This allows Kleopatra (and other users of QGpgme) to create key
signatures with expiration date.

GnuPG-bug-id: 5336, 5506
2021-06-22 18:49:45 +02:00
..
abstractimportjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
adduseridjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
changeexpiryjob.h qt: Support changing expiry of subkeys 2020-08-11 17:02:25 +02:00
changeownertrustjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
changepasswdjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
cryptoconfig.cpp qt: Add method for getting config entries for components by entry name 2021-03-05 09:24:01 +01:00
cryptoconfig.h qt: Add method for getting config entries for components by entry name 2021-03-05 09:24:01 +01:00
dataprovider.cpp qt: Flush output after write for QProcess output 2021-06-10 15:36:26 +02:00
dataprovider.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
debug.cpp qt: Fix export of qDebug GpgME::Error overload 2020-11-12 16:07:14 +01:00
debug.h qt: Add export macro for QDebug operator 2020-11-11 18:12:20 +01:00
decryptjob.h qt: Undeprecate API that I find useful 2017-05-10 10:22:23 +02:00
decryptverifyjob.h qt: Undeprecate API that I find useful 2017-05-10 10:22:23 +02:00
defaultkeygenerationjob.cpp qt: Allow creation of default keys without name 2017-03-01 11:14:07 +01:00
defaultkeygenerationjob.h qt, cpp: Add additional copyright BSI notes 2017-04-25 13:03:49 +02:00
deletejob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
dn.cpp qt: Fix an rfc2253 parser flaw 2020-08-28 09:13:35 +02:00
dn.h spelling: fix misspellings 2018-11-08 12:34:27 +07:00
downloadjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
encryptjob.h Qt: Undeprecate QByteArray based start functs 2021-01-04 13:35:24 +01:00
exportjob.h qt, cpp: Support export modes 2020-07-16 17:00:28 +02:00
gpgcardjob.h qt: Add GpgCardJob following the job pattern 2020-02-12 11:57:09 +01:00
hierarchicalkeylistjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
importfromkeyserverjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
importjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
job.cpp qt: Add GpgCardJob following the job pattern 2020-02-12 11:57:09 +01:00
job.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
keyformailboxjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
keygenerationjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
keylistjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
listallkeysjob.h qt: Update the documentation of ListAllKeysJob 2020-09-08 15:38:00 +02:00
Makefile.am qt: Explicitly link libgpg-error 2021-06-09 10:53:28 +02:00
multideletejob.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
multideletejob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
protocol_p.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
protocol.h qt: Add GpgCardJob following the job pattern 2020-02-12 11:57:09 +01:00
qgpgme_debug.cpp qt: Add separate logging category for result of config loading 2021-06-02 10:56:52 +02:00
qgpgme_debug.h qt: Add separate logging category for result of config loading 2021-06-02 10:56:52 +02:00
qgpgme_export.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgme_version.h.in qt: Change license of export / version header 2016-11-03 10:09:04 +01:00
qgpgmeadduseridjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeadduseridjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmebackend.cpp qt: Add GpgCardJob following the job pattern 2020-02-12 11:57:09 +01:00
qgpgmebackend.h qt: Add GpgCardJob following the job pattern 2020-02-12 11:57:09 +01:00
qgpgmechangeexpiryjob.cpp qt: Support changing expiry of subkeys 2020-08-11 17:02:25 +02:00
qgpgmechangeexpiryjob.h qt: Support changing expiry of subkeys 2020-08-11 17:02:25 +02:00
qgpgmechangeownertrustjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmechangeownertrustjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmechangepasswdjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmechangepasswdjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
QGpgmeConfig-w32.cmake.in.in qt, cpp: Add cmake config files for w32 2016-11-15 14:33:31 +01:00
QGpgmeConfig.cmake.in.in Fix cmake configuration files for MacOS 2017-01-11 15:49:00 +01:00
QGpgmeConfigVersion.cmake.in qt, cpp: Fix versioning in cmake config and header 2016-11-02 14:43:44 +01:00
qgpgmedecryptjob.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
qgpgmedecryptjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmedecryptverifyjob.cpp qt: Change logging category 2020-02-19 11:15:54 +01:00
qgpgmedecryptverifyjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmedeletejob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmedeletejob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmedownloadjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmedownloadjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeencryptjob.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
qgpgmeencryptjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeexportjob.cpp qt, cpp: Support export modes 2020-07-16 17:00:28 +02:00
qgpgmeexportjob.h qt, cpp: Support export modes 2020-07-16 17:00:28 +02:00
qgpgmegpgcardjob.cpp qt: Change logging category 2020-02-19 11:15:54 +01:00
qgpgmegpgcardjob.h qt: Add GpgCardJob following the job pattern 2020-02-12 11:57:09 +01:00
qgpgmeimportfromkeyserverjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeimportfromkeyserverjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeimportjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeimportjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmekeyformailboxjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmekeyformailboxjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmekeygenerationjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmekeygenerationjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmekeylistjob.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
qgpgmekeylistjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmelistallkeysjob.cpp qt: List keys once with --with-secret instead of twice 2020-09-07 12:02:29 +02:00
qgpgmelistallkeysjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmenewcryptoconfig.cpp qt: Add missing } 2021-06-18 12:33:06 +02:00
qgpgmenewcryptoconfig.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmequickjob.cpp qt: Add support for revoke signature quick command 2020-10-29 12:57:10 +01:00
qgpgmequickjob.h qt: Add support for revoke signature quick command 2020-10-29 12:57:10 +01:00
qgpgmerefreshkeysjob.cpp qt: Change logging category 2020-02-19 11:15:54 +01:00
qgpgmerefreshkeysjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmesecretkeyexportjob.cpp qt: Change logging category 2020-02-19 11:15:54 +01:00
qgpgmesecretkeyexportjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmesignencryptjob.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
qgpgmesignencryptjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmesignjob.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
qgpgmesignjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmesignkeyjob.cpp qt: Extend SignKeyJob to create signatures with expiration date 2021-06-22 18:49:45 +02:00
qgpgmesignkeyjob.h qt: Extend SignKeyJob to create signatures with expiration date 2021-06-22 18:49:45 +02:00
qgpgmetofupolicyjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmetofupolicyjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeverifydetachedjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeverifydetachedjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmeverifyopaquejob.cpp qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
qgpgmeverifyopaquejob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmewkspublishjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
qgpgmewkspublishjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
quickjob.h qt: Make audit parameters of result signal optional 2020-11-03 13:50:53 +01:00
refreshkeysjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
signencryptjob.h qt: Undeprecate API that I find useful 2017-05-10 10:22:23 +02:00
signjob.h Qt: Undeprecate QByteArray based start functs 2021-01-04 13:35:24 +01:00
signkeyjob.h qt: Extend SignKeyJob to create signatures with expiration date 2021-06-22 18:49:45 +02:00
specialjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
threadedjobmixin.cpp qt: Handle diagnostic audit log for CMS 2019-03-20 09:56:38 +01:00
threadedjobmixin.h qt,cpp: Consistently use nullptr and override 2018-12-03 12:25:00 +01:00
tofupolicyjob.h Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
verifydetachedjob.h qt: Undeprecate API that I find useful 2017-05-10 10:22:23 +02:00
verifyopaquejob.h qt: Undeprecate API that I find useful 2017-05-10 10:22:23 +02:00
wkspublishjob.h spelling: fix misspellings 2018-11-08 12:34:27 +07:00