Home GnuPG
Diffusion GPGME 41297520da32

qt: Add job to revoke own OpenPGP keys

Description

qt: Add job to revoke own OpenPGP keys

* lang/qt/src/revokekeyjob.h, lang/qt/src/qgpgmerevokekeyjob.h,
lang/qt/src/qgpgmerevokekeyjob.cpp: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function revokeKeyJob.
* lang/qt/src/protocol_p.h (Protocol::revokeKeyJob): New.
* lang/qt/src/job.cpp, lang/qt/src/Makefile.am: Update accordingly.
* lang/qt/tests/Makefile.am (the_tests, moc_files, noinst_PROGRAMS):
Add new test.
(t_revokekey_SOURCES): New.
* lang/qt/tests/t-revokekey.cpp: New.

The new job allows revoking own OpenPGP keys as with the "revkey"
edit-key command of gpg.

Details

Provenance
ikloeckerAuthored on Mar 29 2022, 3:45 PM
Parents
rMd96e8a7a6bfc: cpp: Add interactor to revoke a key
Branches
Unknown
Tags
Unknown
Tasks
T5904: gpgme: Revoke own key