Home GnuPG

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
rGPGMEQT753c2f2e9af8: qt: Support disabling and enabling of keys
Branches
Unknown
Tags
Unknown

Event Timeline