Home GnuPG
Diffusion GPGME 9ee103957e41

core: Add GPGME_KEYLIST_MODE_WITH_TOFU.
9ee103957e41Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

core: Add GPGME_KEYLIST_MODE_WITH_TOFU.

* src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_TOFU): New.
* src/engine-gpg.c (gpg_keylist_build_options): Use that.
* src/keylist.c: Include limits.h.
(parse_tfs_record): New.
(keylist_colon_handler): Support TFS record.
* tests/run-keylist.c: Include time.h.
(isotimestr): New.
(main): Add option --tofu.  Print TOFU info.
* tests/run-verify.c: Include time.h.
(isotimestr): New.
(print_result): Use isotimestr for TOFU dates.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 25 2016, 11:38 AM
Parents
rM38798fee5b53: core: Adjust for TOFU_STATS change in gnupg 2.1.16.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM9ee103957e41: core: Add GPGME_KEYLIST_MODE_WITH_TOFU. (authored by Werner Koch <wk@gnupg.org>).Aug 25 2016, 11:38 AM