mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* sign.c (sign_file): Do not push textmode filter onto an unopened IOBUF
(segfault). Noted by Marcus Brinkmann. Push and reinitialize textmode filter for each file in a multiple file list. * packet.h, getkey.c (fixup_uidnode), keyedit.c (show_prefs): Set and show the keyserver no-modify flag. * keygen.c (add_keyserver_modify): New. (keygen_upd_std_prefs): Call it here. (keygen_set_std_prefs): Accept "ks-modify" and "no-ks-modify" as prefs to set and unset keyserver modify flag.
This commit is contained in:
parent
2c1e7afe06
commit
30d0fc519d
6 changed files with 101 additions and 17 deletions
|
@ -1694,9 +1694,22 @@ show_prefs (PKT_user_id *uid, int verbose)
|
|||
}
|
||||
tty_printf ("%s",compress_algo_to_string(0));
|
||||
}
|
||||
tty_printf ("\n Features: ");
|
||||
if(uid->mdc_feature)
|
||||
tty_printf ("MDC");
|
||||
if(uid->mdc_feature || !uid->ks_modify)
|
||||
{
|
||||
tty_printf ("\n Features: ");
|
||||
any=0;
|
||||
if(uid->mdc_feature)
|
||||
{
|
||||
tty_printf ("MDC");
|
||||
any=1;
|
||||
}
|
||||
if(!uid->ks_modify)
|
||||
{
|
||||
if(any)
|
||||
tty_printf (", ");
|
||||
tty_printf ("Keyserver no-modify");
|
||||
}
|
||||
}
|
||||
tty_printf("\n");
|
||||
}
|
||||
else {
|
||||
|
@ -1709,6 +1722,8 @@ show_prefs (PKT_user_id *uid, int verbose)
|
|||
}
|
||||
if (uid->mdc_feature)
|
||||
tty_printf (" [mdc]");
|
||||
if (!uid->ks_modify)
|
||||
tty_printf (" [no-ks-modify]");
|
||||
tty_printf("\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue