[PATCH] Add keygrip to LISTKEYS output.

Ben Kibbey bjk at luxsci.net
Wed Jul 20 00:40:31 CEST 2016

On Mon, Jul 18, 2016 at 09:11:48PM -0400, Ben Kibbey wrote:
> * src/gpgme.h.in: Add GPGME_KEYLIST_MODE_WITH_KEYGRIP.
> (_gpgme_subkey): Add grp member.
> * src/engine-gpg.c (gpg_keylist_build_options): Parse the new mode and
> add gpg option --with-keygrip.
> * src/gpgme-tool.c (result_add_grp): New.
> (cmd_keylist): Add option --with-keygrip and grp XML result element.
> * src/keylist.c (keylist_colon_handler): Set grp member to keygrip.
> --
> Not sure whether to add the keygrip to the output by default or not so
> this is why --with-keygrip is added as an option to LISTKEYS.

This revised patch removes LISTKEYS --with-keygrip and will always add
the keygrip.

Ben Kibbey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-keygrip-to-LISTKEYS-output.patch
Type: text/x-diff
Size: 4042 bytes
Desc: not available
URL: </pipermail/attachments/20160719/7cffd852/attachment.patch>

More information about the Gnupg-devel mailing list