diff options
author | Eduardo Chappa <chappa@washington.edu> | 2017-11-22 11:29:40 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2017-11-22 11:29:40 -0700 |
commit | 0ef0caf0d77164aa615fffa8aff4e82a3a540f0f (patch) | |
tree | 2852cb0c74ddb64fe4d6bc4cfe73c495596bb51f /alpine/keymenu.c | |
parent | b3376daf6c1857cb063d2ca2a25b7150ac4b861f (diff) | |
download | alpine-0ef0caf0d77164aa615fffa8aff4e82a3a540f0f.tar.xz |
* Add "remove password" command to the management screen for the
password file encryption key. This allows users to use their
password file without entering a master password.
Diffstat (limited to 'alpine/keymenu.c')
-rw-r--r-- | alpine/keymenu.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/alpine/keymenu.c b/alpine/keymenu.c index 326bc239..3452e5ba 100644 --- a/alpine/keymenu.c +++ b/alpine/keymenu.c @@ -2710,10 +2710,10 @@ INST_KEY_MENU(config_smime_manage_certs_work_keymenu, config_smime_manage_certs_ struct key config_smime_view_cert[] = {HELP_MENU, - OTHER_MENU, + NULL_MENU, EXIT_SETUP_MENU, {"V", "[" N_("View Info") "]", {MC_CHOICE,3,{'v',ctrl('M'),ctrl('J')}}, KS_NONE}, - NULL_MENU, + {"D", N_("Delete pwd"), {MC_DELETE,1,{'d'}},KS_NONE}, NULL_MENU, NULL_MENU, NULL_MENU, @@ -2723,6 +2723,21 @@ struct key config_smime_view_cert[] = NULL_MENU}; INST_KEY_MENU(config_smime_manage_view_cert_keymenu, config_smime_view_cert); +struct key config_smime_view_cert_no_delete[] = + {HELP_MENU, + NULL_MENU, + EXIT_SETUP_MENU, + {"V", "[" N_("View Info") "]", {MC_CHOICE,3,{'v',ctrl('M'),ctrl('J')}}, KS_NONE}, + NULL_MENU, + NULL_MENU, + NULL_MENU, + NULL_MENU, + NULL_MENU, + NULL_MENU, + NULL_MENU, + NULL_MENU}; +INST_KEY_MENU(config_smime_manage_view_cert_keymenu_no_delete, config_smime_view_cert_no_delete); + struct key smime_certificate_info_keys[] = {HELP_MENU, OTHER_MENU, |