diff options
author | Werner Koch <[email protected]> | 2022-11-04 14:26:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-11-04 14:26:15 +0000 |
commit | d40d23b233f0b2e6fc25937f1632ac5b9d4f61e5 (patch) | |
tree | 58ec5cce323f9b62ebf4c2c5bc52e9dd9f950e04 /g10/keyedit.h | |
parent | gpg: New list-options show-pref and show-pref-verbose. (diff) | |
download | gnupg-d40d23b233f0b2e6fc25937f1632ac5b9d4f61e5.tar.gz gnupg-d40d23b233f0b2e6fc25937f1632ac5b9d4f61e5.zip |
gpg: New option --quick-update-pref.
* g10/gpg.c (aQuickUpdatePref): New.
(opts): Add --quick-update-pref.
(main): Implement.
* g10/keyedit.c (keyedit_quick_update_pref): New.
(menu_set_preferences): Add arg 'unattended' and adjust caller.
--
This new quick command is in particular useful to update existing keys
so that they can be used with OCB mode.
Diffstat (limited to 'g10/keyedit.h')
-rw-r--r-- | g10/keyedit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/keyedit.h b/g10/keyedit.h index b6e5b58b9..ea4fd253c 100644 --- a/g10/keyedit.h +++ b/g10/keyedit.h @@ -55,6 +55,7 @@ void keyedit_quick_set_expire (ctrl_t ctrl, char **subkeyfprs); void keyedit_quick_set_primary (ctrl_t ctrl, const char *username, const char *primaryuid); +void keyedit_quick_update_pref (ctrl_t ctrl, const char *username); void show_basic_key_info (ctrl_t ctrl, kbnode_t keyblock, int print_sec); int keyedit_print_one_sig (ctrl_t ctrl, estream_t fp, int rc, kbnode_t keyblock, |