Home GnuPG
Diffusion GPGME dea872f21ff7

cpp: Support new keylist modes

Description

cpp: Support new keylist modes

* lang/cpp/src/global.h (ForceExtern, LocateExternal, KeyListModeMask):
New.
* lang/cpp/src/context.cpp (operator<<): Add check.
* lang/cpp/src/util.h (gpgme_keylist_mode_t,
convert_from_gpgme_keylist_mode_t): Handle ForceExtern.
* lang/cpp/tests/run-getkey.cpp (show_usage, main): Add arguments
--force-extern and --locate-external.
* lang/cpp/tests/run-keylist.cpp (show_usage, main): Ditto.

Details

Provenance
ikloeckerAuthored on Apr 27 2022, 5:21 PM
Parents
rMaff9aaac6845: core: Support --locate-external-keys command of gpg
Branches
Unknown
Tags
Unknown
Tasks
T5951: gpgme: Add support for refreshing OpenPGP keys