Home GnuPG
Diffusion GPGME c8048bf8eb98

core: New keylist mode GPGME_KEYLIST_MODE_WITH_KEYGRIP.

Description

core: New keylist mode GPGME_KEYLIST_MODE_WITH_KEYGRIP.

* src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_KEYGRIP): New.
* src/gpgme-json.c (op_keylist): New flag "keygrip".
* src/engine-gpg.c (gpg_keylist_build_options): Pass the options.
* lang/cpp/src/global.h (WithKeygrip): New.
* lang/cpp/src/context.cpp: Add check.
* lang/cpp/src/key.cpp (Key::update): Handle WithKeygrip.
* lang/cpp/src/verificationresult.cpp: Ditto.
* lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t): Ditto.
  • GnuPG-bug-id: T4939
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jul 15 2020, 2:10 PM
Parents
rM32b80cf3c7d2: python: Workaround for a regression in GnuPG 2.2.21
Branches
Unknown
Tags
Unknown
Tasks
T4939: GPGME: Add KEYLIST_MODE_WITH_KEYGRIP