gpgme/lang/qt/tests
Ingo Klöcker c631622484
qt: Support verification of detached signatures directly from files
* lang/qt/src/Makefile.am: Add new files.
* lang/qt/src/job.cpp (VerifyDetachedJob): Move definition of
constructor and destructor and inclusion of the moc file to the
corresponding .cpp file.
* lang/qt/src/verifydetachedjob.cpp: New.
* lang/qt/src/verifydetachedjob.h (VerifyDetachedJob): Add member
functions setSignatureFile, signatureFile, setSignedFile, signedFile.
* lang/qt/src/verifydetachedjob_p.h: New.
* lang/qt/src/qgpgmeverifydetachedjob.cpp (class
QGpgMEVerifyDetachedJobPrivate): New.
(QGpgMEVerifyDetachedJob::QGpgMEVerifyDetachedJob): Instantiate private
job class.
(verify_from_filename): New.

* lang/qt/tests/Makefile.am: Add new test program.
* lang/qt/tests/run-verifydetachedjob.cpp: New.
--

This makes it possible to tell gpg to read the input directly from the
specified files bypassing GpgME's Data IO when verifying a detached
signature.

GnuPG-bug-id: 6550
2024-01-05 12:10:22 +01: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 qt: Support verification of detached signatures directly from files 2024-01-05 12:10:22 +01:00
run-decryptverifyarchivejob.cpp qt: Support reading signed/encrypted archives directly from a file 2023-06-21 15:25:11 +02:00
run-decryptverifyjob.cpp qt: Support decryption (with verification) directly to/from files 2023-12-22 10:01:17 +01:00
run-encryptarchivejob.cpp qt: Clean up after failure or cancel of sign/encrypt archive operation 2023-08-16 14:23:15 +02:00
run-encryptjob.cpp qt: Support writing/reading signed/encrypted files directly to/from file 2023-12-21 11:49:23 +01:00
run-exportjob.cpp qt: Fix building with C++11 2022-08-22 14:39:22 +02:00
run-importjob.cpp qt: Make toLogString helper public 2023-08-15 11:56:40 +02: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: Remove job for refreshing OpenPGP keys 2022-08-04 12:06:15 +02:00
run-signarchivejob.cpp qt: Clean up after failure or cancel of sign/encrypt archive operation 2023-08-16 14:23:15 +02:00
run-signjob.cpp qt: Support writing/reading signed/encrypted files directly to/from file 2023-12-21 11:49:23 +01:00
run-verifydetachedjob.cpp qt: Support verification of detached signatures directly from files 2024-01-05 12:10:22 +01:00
run-verifyopaquejob.cpp qt: Support verification of opaque signed data directly to/from files 2023-12-22 10:05:16 +01:00
run-wkdrefreshjob.cpp qt: Allow specifying user IDs to use when refreshing keys via WKD 2023-08-23 12:00:26 +02:00
t-addexistingsubkey.cpp qt,tests: Make test pass on 32-bit systems 2022-08-18 10:55:09 +02:00
t-changeexpiryjob.cpp qt,tests: Make sure expiration time is interpreted as unsigned number 2022-08-17 15:22:29 +02:00
t-config.cpp qt: Allow retrieving the default value of a config entry 2021-06-29 12:12:33 +02:00
t-decryptverify.cpp qt,tests: Add test for the previous commit 2023-02-02 12:11:30 +01:00
t-encrypt.cpp qt: Add simple and extended progress signals replacing old signal 2023-02-14 09:25:21 +01:00
t-import.cpp qt,tests: Avoid leaking Context 2023-01-31 12:01:33 +01:00
t-keylist.cpp qt: Replace Q_FOREACH with range-for 2023-12-13 13:16:21 +01:00
t-keylocate.cpp qt: Replace Q_FOREACH with range-for 2023-12-13 13:16:21 +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,doc: Fix typos in source code comments 2023-10-13 09:23:24 +02:00
t-revokekey.cpp qt: Add missing include 2022-08-10 12:00:10 +02:00
t-setprimaryuserid.cpp qt: Add job to set the primary user ID of OpenPGP keys 2022-08-09 14:52:42 +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: Replace Q_DECL_OVERRIDE with override 2023-01-05 18:03:33 +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,doc: Fix typos in source code comments 2023-10-13 09:23:24 +02:00
t-various.cpp qt,doc: Fix typos in source code comments 2023-10-13 09:23:24 +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