Home GnuPG

Add new tab to the key details with TOFU information.
059956d3efceUnpublished

Unpublished Commit · Learn More

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

Description

Add new tab to the key details with TOFU information.

* src/gpa-tofu-list.c: New.
* src/gpa-tofu-list.h: New.
* src/Makefile.am (gpa_SOURCES): Add new files.
* src/gpa.h (ENABLE_TOFU_INFO): Define depending on GPGME version.
* src/keymanager.c (key_manager_selection_changed): List with tofu
info.
* src/convert.c (gpa_expiry_date_string): Factor code out to ...
(gpa_date_string): new.
* src/gpa-key-details.c: Include gpa-tofu-list.h.
(struct _GpaKeyDetails): Add fields tofu_list and tofu_page.
(gpa_key_details_finalize): Release tofu objects.
(build_tofu_page): New.
(ui_mode_changed): Call that.
(gpa_key_details_update): Add TOFU notebook page.
* src/gpa-key-details.c (details_page_fill_key): Move KeyID after the
fingerprint.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 5 2016, 9:28 PM
Parents
rGPAd8fd5f4a7566: Remove the keyid column from two lists.
Branches
Unknown
Tags
Unknown