Home GnuPG
Diffusion GPGME 276187f6b62a

core: Extend gpgme_key_sig_t with trust signature members.

Description

core: Extend gpgme_key_sig_t with trust signature members.

* src/gpgme.h.in (struct _gpgme_key_sig): Add fields 'trust_depth',
'trust_value', and 'trust_scope'.
* src/key.c (gpgme_key_unref): Free trust_scope.
* src/keylist.c (keylist_colon_handler): Set the fields.
* tests/run-keylist.c (main): Print the fields.

The trust signature values are part of gpg's output since the year 2003.
This now adds support to gpgme.