mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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.
(cherry picked from commit d40d23b233
)
This commit is contained in:
parent
b6ba7054a0
commit
f16c946be7
5 changed files with 76 additions and 10 deletions
|
@ -387,7 +387,7 @@ encrypt_simple (const char *filename, int mode, int use_seskey)
|
|||
if (use_seskey && s2k->mode != 1 && s2k->mode != 3)
|
||||
{
|
||||
use_seskey = 0;
|
||||
log_info (_("can't use a symmetric ESK packet "
|
||||
log_info (_("can't use a SKESK packet"
|
||||
"due to the S2K mode\n"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue