From c631622484dc9c00a05e3c25c53ef263db83b381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Fri, 5 Jan 2024 12:10:22 +0100 Subject: 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 --- lang/qt/src/job.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'lang/qt/src/job.cpp') diff --git a/lang/qt/src/job.cpp b/lang/qt/src/job.cpp index dbaba195..8150d9a3 100644 --- a/lang/qt/src/job.cpp +++ b/lang/qt/src/job.cpp @@ -45,7 +45,6 @@ #include "listallkeysjob.h" #include "decryptjob.h" #include "signkeyjob.h" -#include "verifydetachedjob.h" #include "keygenerationjob.h" #include "importjob.h" #include "importfromkeyserverjob.h" @@ -161,7 +160,6 @@ make_job_subclass(KeyListJob) make_job_subclass(ListAllKeysJob) make_job_subclass(DecryptJob) make_job_subclass(SignKeyJob) -make_job_subclass(VerifyDetachedJob) make_job_subclass(KeyGenerationJob) make_job_subclass(AbstractImportJob) make_job_subclass_ext(ImportJob, AbstractImportJob) @@ -194,7 +192,6 @@ make_job_subclass(SetPrimaryUserIDJob) #include "listallkeysjob.moc" #include "decryptjob.moc" #include "signkeyjob.moc" -#include "verifydetachedjob.moc" #include "keygenerationjob.moc" #include "abstractimportjob.moc" #include "importjob.moc" -- cgit v1.2.3