Home GnuPG
Diffusion GPGME 858909168298

core: Deprecate the non-working trustlist functions.

Description

core: Deprecate the non-working trustlist functions.

* src/gpgme.h.in: Clarify that the trustlist function should not be
used.
* src/engine.c (_gpgme_engine_op_trustlist): Always return an error.
* src/engine-backend.h (struct engine_ops): Remove trustlist member.
* src/engine-gpg.c (gpg_trustlist): Remove.
(struct engine_ops): Remove that member.  Also in all other engines.
* tests/gpg/t-trustlist.c: Remove.
* lang/python/tests/t-trustlist.py: Remove.

This never worked in reality because the required feature has been
removed from GnuPG version 1.3.2 soon after introduction of this
feature in gpgme - 17 years ago. It was anyway marked as
experimental. We keep the API and ABI, though.

  • GnuPG-bug-id: T4834
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jul 15 2020, 4:34 PM
Parents
rMc8048bf8eb98: core: New keylist mode GPGME_KEYLIST_MODE_WITH_KEYGRIP.
Branches
Unknown
Tags
Unknown
Tasks
T4834: gpgme library calls gpg with --list-trust-path