Home GnuPG
Diffusion GPGME 004fdf61c8b9

core: Make sure the keygrip is available in WITH_SECRET mode.

Description

core: Make sure the keygrip is available in WITH_SECRET mode.

* src/engine-gpg.c (gpg_keylist_build_options): Send --with-keygrip
if --with-secret is used.

Since GnuPG 2.2.19 the keygrip was not anymore send if only
--with-secret was used in a public key listing. Given that
--with-secret requires computation of the keygrip anyway, there is no
point in not requesting the keyrip in this case.

Details

Provenance
wernerAuthored on May 8 2020, 11:18 AM
Parents
rM5c0d1c7f76c9: tests, json: Do not check for keygrip of pubkeys
Branches
Unknown
Tags
Unknown
Tasks
T4820: gpgme's json test fails with gpg 2.2.19