Home GnuPG
Diffusion GPGME a73eee3655e2

qt: Use --quick-set-ownertrust if available

Description

qt: Use --quick-set-ownertrust if available

* lang/qt/src/qgpgmechangeownertrustjob.cpp (set_owner_trust): New.
(QGpgMEChangeOwnerTrustJob::start): Use set_owner_trust if gpg is new
enough.
* lang/qt/tests/t-ownertrust.cpp
(ChangeOwnerTrustTest::testChangeOwnerTrust): Log unexpected error.

Using the --quick-set-ownertrust command to set the owner trust is much
more robust than using the edit interface. Prefer the former if gpg
supports it.

Details

Provenance
ikloeckerAuthored on Aug 6 2024, 6:08 PM
Parents
rM668a1344c6b2: tests,json: Remove no longer needed code
Branches
Unknown
Tags
Unknown
Tasks
T7239: GpgME: Add job for disabling/enabling a certificate