diff options
author | Ingo Klöcker <[email protected]> | 2022-08-04 10:06:15 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-08-04 10:06:15 +0000 |
commit | c3b183831db5a2a490ba49bf4804730679eb59d0 (patch) | |
tree | 151bdcc0accbd1de496a2ce893f8d85dd0dd79e2 /lang/qt/src/protocol.h | |
parent | build: Update config.guess and config.sub. (diff) | |
download | gpgme-c3b183831db5a2a490ba49bf4804730679eb59d0.tar.gz gpgme-c3b183831db5a2a490ba49bf4804730679eb59d0.zip |
qt: Remove job for refreshing OpenPGP keys
* lang/qt/src/qgpgmerefreshopenpgpkeysjob.cpp,
lang/qt/src/qgpgmerefreshopenpgpkeysjob.h,
lang/qt/src/refreshopenpgpkeysjob.h: Remove.
* lang/qt/src/Makefile.am, lang/qt/src/job.cpp: Update accordingly.
* lang/qt/src/protocol.h (class Protocol): Remove pure virtual member
function refreshOpenPGPKeysJob.
* lang/qt/src/protocol_p.h (Protocol::refreshOpenPGPKeysJob): Remove.
* lang/qt/tests/run-refreshkeysjob.cpp (main): Use ReceiveKeysJob for
OpenPGP keys.
--
The RefreshOpenPGPKeysJob did more than it was intended to do, e.g. it
imported new keys with the email addresses of the key to be refreshed
via the configured auto-key-locate methods, but only a refresh from the
key servers is wanted. For this we can use the ReceiveKeysJob.
This commit mostly reverts the commits
e12861f18c6b431b40bfa78eb6f1d149690a5fcd
c64a8daf507a2216611861a12f312466b0bae8b2
The changes are source- and binary-compatible to the last release.
GnuPG-bug-id: 5951
Diffstat (limited to 'lang/qt/src/protocol.h')
-rw-r--r-- | lang/qt/src/protocol.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h index f0772eef..7c24186c 100644 --- a/lang/qt/src/protocol.h +++ b/lang/qt/src/protocol.h @@ -59,7 +59,6 @@ class VerifyOpaqueJob; class SignEncryptJob; class DecryptVerifyJob; class RefreshKeysJob; -class RefreshOpenPGPKeysJob; class ChangeExpiryJob; class ChangeOwnerTrustJob; class ChangePasswdJob; @@ -140,7 +139,7 @@ public: /** * For S/MIME keys this job performs a full validation check of the keys * with updated CRLs. - * For OpenPGP keys, use refreshOpenPGPKeysJob. + * For OpenPGP keys, use receiveKeysJob. */ virtual RefreshKeysJob *refreshKeysJob() const = 0; virtual ChangeExpiryJob *changeExpiryJob() const = 0; @@ -183,13 +182,6 @@ public: virtual ReceiveKeysJob *receiveKeysJob() const = 0; virtual RevokeKeyJob *revokeKeyJob() const = 0; - - /** - * This job performs a refresh of OpenPGP keys via the external methods - * as defined by the \c auto-key-locate option and via an import from the - * configured keyserver. - */ - virtual RefreshOpenPGPKeysJob *refreshOpenPGPKeysJob() const = 0; }; /** Obtain a reference to the OpenPGP Protocol. |