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>