aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/job.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2024-01-05 11:10:22 +0000
committerIngo Klöcker <[email protected]>2024-01-05 11:10:22 +0000
commitc631622484dc9c00a05e3c25c53ef263db83b381 (patch)
tree84d9986d50ea50d3ff66d175ea36da47e21761b0 /lang/qt/src/job.cpp
parentcore: Tell gpg that we want to verify signed data (diff)
downloadgpgme-c631622484dc9c00a05e3c25c53ef263db83b381.tar.gz
gpgme-c631622484dc9c00a05e3c25c53ef263db83b381.zip
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
Diffstat (limited to 'lang/qt/src/job.cpp')
-rw-r--r--lang/qt/src/job.cpp3
1 files changed, 0 insertions, 3 deletions
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"