NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
PGP Key Selection Dialog


The PGP Key Selection Dialog lets the user select a PGP key.

This is a Simple Dialog


Name Type See Also
PGP Key Selection Dialog WT_DLG_PGP dlg_select_pgp_key()




The Simple Dialog holds a Menu. The PGP Key Selection Dialog stores its data (PgpUid) in Menu::mdata.


Once constructed, it is controlled by the following events:

Event Type Handler
NT_CONFIG pgp_key_config_observer()
NT_WINDOW pgp_key_window_observer()

The PGP Key Selection Dialog doesn't have any specific colours, so it doesn't need to support NT_COLOR.

The PGP Key Selection Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().

Some other events are handled by the Simple Dialog.

Function Description
pgp_compare_address_qsort() Compare the addresses of two PGP keys
pgp_compare_date_qsort() Compare the dates of two PGP keys
pgp_compare_key_address() Compare Key addresses and IDs for sorting
pgp_compare_key_date() Compare Key dates for sorting
pgp_compare_keyid() Compare Key IDs and addresses for sorting
pgp_compare_keyid_qsort() Compare key IDs
pgp_compare_key_trust() Compare the trust of keys for sorting
pgp_compare_trust_qsort() Compare the trust levels of two PGP keys
pgp_entry_format_str - Format an entry on the PGP key selection menu() Implements format_t -
pgp_flags() Turn PGP key flags into a string
pgp_key_abilities() Turn PGP key abilities into a string
pgp_key_config_observer() Notification that a Config Variable has changed - Implements observer_t
pgp_key_table_free - Free the key table() Implements Menu::mdata_free() -
pgp_key_window_observer() Notification that a Window has changed - Implements observer_t
pgp_make_entry - Format a menu item for the pgp key list() Implements Menu::make_entry() -