mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* keygen.c (keygen_set_std_prefs, add_feature_mdc): Use "mdc" and "no-mdc"
in the prefs string to allow switching on and off the MDC feature. This is needed to properly export a key from GnuPG for use on PGP which does not support MDC - without this, MDC-capable implementations will still try and generate MDCs which will break PGP. * keygen.c (keygen_get_std_prefs): Show "[mdc]" in prefs string if it is enabled. * options.h, g10.c (main), cipher.c (write_header), keygen.c (keygen_set_std_prefs): For consistency, allow the user to specify mdc/no-mdc in the --personal-preference-list. If disabled, it acts just like --disable-mdc.
This commit is contained in:
parent
e77b643b4a
commit
da3f17990c
5 changed files with 65 additions and 17 deletions
|
@ -127,6 +127,7 @@ struct {
|
|||
int exec_disable;
|
||||
char *def_preference_list;
|
||||
prefitem_t *personal_prefs;
|
||||
int personal_mdc;
|
||||
int no_perm_warn;
|
||||
char *temp_dir;
|
||||
int no_encrypt_to;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue