gpgme/lang/qt/tests
Ingo Klöcker 7870fdbfef qt: Prevent u32 overflow when calculating expiration date
* lang/qt/src/qgpgmesignkeyjob.cpp (sign_key): Change maxAllowedDate to
2106-02-05. Change log-level from warning to debug.
* lang/qt/tests/t-various.cpp (TestVarious::testSignKeyWithExpiration):
Remove check for warning. Adapt assertion.
--

Capping the expiration date at 2106-02-05 prevents a u32 overflow when
adding the number of days until the maximal date to the current time.

GnuPG-bug-id: 5991
2022-06-10 11:54:03 +02:00
..
final.test qt: Support WKD lookup without implicit import 2021-12-13 10:48:52 +01:00
initial.test Qt: Fix unit test by adding initial.test dep 2016-04-11 17:46:03 +02:00
Makefile.am Revert "tests: Avoid problems with local time across a day boundary." 2022-06-09 15:43:24 +02:00
run-exportjob.cpp qt: Add factory function for secret subkey export job 2022-01-04 15:56:34 +01:00
run-importjob.cpp qt,tests: Add test runner for testing the import job 2021-12-22 15:25:42 +01:00
run-keyformailboxjob.cpp Change copyright from Intevation to BSI 2017-04-25 10:24:11 +02:00
run-receivekeysjob.cpp qt: Add job to import keys given by key ids 2022-02-03 15:56:30 +01:00
run-refreshkeysjob.cpp qt: Revert change of result signal of RefreshKeysJob 2022-05-05 10:39:26 +02:00
t-addexistingsubkey.cpp qt: Add job to add existing subkeys to other keys 2022-01-13 15:18:12 +01:00
t-changeexpiryjob.cpp qt,tests: Add helper to hook up the test passphrase provider 2022-01-13 12:40:35 +01:00
t-config.cpp qt: Allow retrieving the default value of a config entry 2021-06-29 12:12:33 +02:00
t-encrypt.cpp qt,tests: Add helper to hook up the test passphrase provider 2022-01-13 12:40:35 +01:00
t-import.cpp qt: Fix build without installed GpgME++ headers 2022-01-17 14:41:17 +01:00
t-keylist.cpp qt,tests: Add asyncDone signal to base class of all tests 2022-01-13 11:36:35 +01:00
t-keylocate.cpp qt,tests: Add asyncDone signal to base class of all tests 2022-01-13 11:36:35 +01:00
t-ownertrust.cpp qt,tests: Add asyncDone signal to base class of all tests 2022-01-13 11:36:35 +01:00
t-remarks.cpp qt,tests: Add helper to hook up the test passphrase provider 2022-01-13 12:40:35 +01:00
t-revokekey.cpp qt: Check arguments passed to the revoke key job 2022-03-31 18:39:19 +02:00
t-support.cpp qt: Add job to add existing subkeys to other keys 2022-01-13 15:18:12 +01:00
t-support.h qt: Add job to add existing subkeys to other keys 2022-01-13 15:18:12 +01:00
t-tofuinfo.cpp qt,tests: Add helper to hook up the test passphrase provider 2022-01-13 12:40:35 +01:00
t-trustsignatures.cpp qt,tests: Add helper to hook up the test passphrase provider 2022-01-13 12:40:35 +01:00
t-various.cpp qt: Prevent u32 overflow when calculating expiration date 2022-06-10 11:54:03 +02:00
t-verify.cpp qt: Apply compiler hint 2022-05-02 16:04:28 +02:00
t-wkdlookup.cpp qt,tests: Add asyncDone signal to base class of all tests 2022-01-13 11:36:35 +01:00
t-wkspublish.cpp qt,tests: Add asyncDone signal to base class of all tests 2022-01-13 11:36:35 +01:00