diff options
| author | Werner Koch <[email protected]> | 2020-07-15 14:10:32 +0200 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-07-15 14:11:17 +0200 |
| commit | c8048bf8eb988f22b20215197f4739bedafc4264 (patch) | |
| tree | 0000825d7b32ca831032a4bf34c105de0d0ac892 /doc | |
| parent | python: Workaround for a regression in GnuPG 2.2.21 (diff) | |
| download | gpgme-c8048bf8eb988f22b20215197f4739bedafc4264.tar.gz gpgme-c8048bf8eb988f22b20215197f4739bedafc4264.zip | |
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: 4939
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/gpgme.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 3c9594f5..2eda0117 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -2820,6 +2820,13 @@ The @code{GPGME_KEYLIST_MODE_WITH_TOFU} symbol specifies that information pertaining to the TOFU trust model should be included in the listed keys. +@item GPGME_KEYLIST_MODE_WITH_KEYGRIP +@since{1.14.0} + +The @code{GPGME_KEYLIST_MODE_WITH_KEYRIP} symbol specifies that the +keygrip is always included in the listing. The default depends on the +version of the backend and the used protocol. + @item GPGME_KEYLIST_MODE_WITH_SECRET @since{1.5.1} |
