core: Extend gpgme_subkey_t to carry the keygrip.
authorWerner Koch <wk@gnupg.org>
Thu, 4 Aug 2016 14:17:01 +0000 (16:17 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 4 Aug 2016 14:17:01 +0000 (16:17 +0200)
commit6f3dc66634e30d86aa6250c4ac22f9b8f7ec1be9
treef10502a42129cc102ed61e2932f4983d1dd0f534
parent56e26b54da9f16961209275d7a61883d3ea898ca
core: Extend gpgme_subkey_t to carry the keygrip.

* src/gpgme.h.in (struct _gpgme_subkey): Add file 'keygrip'.
* src/key.c (gpgme_key_unref): Free KEYGRIP.
* src/keylist.c (keylist_colon_handler): Parse GRP records.
* src/engine-gpg.c (gpg_keylist_build_options): Do not use
--with-fingerprint options for gpg versions >= 2.1.15.

* tests/run-keylist.c (main): Print subkeys and keygrips.

Signed-off-by: Werner Koch <wk@gnupg.org>
NEWS
src/engine-gpg.c
src/gpgme.h.in
src/key.c
src/keylist.c
tests/run-keylist.c