mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* options.h, main.h, keygen.c (keygen_set_set_prefs, keygen_get_std_prefs,
keygen_upd_std_prefs), keyedit.c (keyedit_menu), g10.c (main), pkclist.c (select_algo_from_prefs): Add --personal-preference-list which allows the user to factor in their own preferred algorithms when the preference lists are consulted. Obviously, this does not let the user violate a recepient's preferences (and the RFC) - this only influences the ranking of the agreed-on (and available) algorithms from the recepients. Suggested by David Hollenberg. * options.h, keygen.c (keygen_set_std_prefs), g10.c (main): Rename --preference-list to --default-preference-list (as that is what it really is), and make it a true default in that if the user selects "default" they get this list and not the compiled-in list.
This commit is contained in:
parent
eb2c0d6864
commit
2656589782
7 changed files with 80 additions and 15 deletions
|
@ -21,6 +21,7 @@
|
|||
#define G10_OPTIONS_H
|
||||
|
||||
#include <types.h>
|
||||
#include "packet.h"
|
||||
|
||||
#undef ENABLE_COMMENT_PACKETS /* don't create comment packets */
|
||||
|
||||
|
@ -124,6 +125,8 @@ struct {
|
|||
STRLIST other;
|
||||
} keyserver_options;
|
||||
int exec_disable;
|
||||
char *def_preference_list;
|
||||
prefitem_t *personal_prefs;
|
||||
int no_perm_warn;
|
||||
char *temp_dir;
|
||||
int no_encrypt_to;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue