| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
| |
* gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for
"LDAP Server".
(change_options_file): Remove assertion that tests that this flag
is not present. Handle an empty string in OPTION->new_value.
|
|
|
|
|
| |
* gpgconf.c (main): Remove obsolete warning.
|
| |
|
| |
|
|
|
|
|
| |
(gc_component_t, gc_component): Add GC_BACKEND_GPG.
|
|
|
|
|
|
|
|
| |
* g10.c: New options --gpgconf-list, --debug-level and --log-file
(set_debug): Add arg DEBUG_LEVEL.
(main): Look at less and less version specific config files. From
gnupg 1.3.
|
|
|
|
|
| |
* gpgconf-comp.c (gc_flag): Add missing flags.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* gpgconf-comp.c: Include <signal.h>.
(gc_backend): Add new member runtime_change.
(gpg_agent_runtime_change): New function.
(gc_component_change_options): New variable runtime. Initialize
it. If an option is changed that has the GC_OPT_FLAG_RUNTIME bit
set, also set the corresponding runtime variable. Finally, call
the runtime_change callback of the backend if needed.
|
|
|
|
|
|
| |
* gpg-agent.c (main): For now, always print the default config
file name for --gpgconf-list.
|
|
|
|
|
|
| |
* scdaemon.c (main) <gpgconf>: Fixed default value quoting.
* gpgsm.c (main) <gpgconf>: Fixed default value quoting.
|
|
|
|
|
|
| |
(gc_options_gpgsm, gc_options_scdaemon): Implemented.
(gc_backend_t): Add GC_BACKEND_SCDAEMON.
|
| |
|
|
|
|
|
|
| |
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* app-nks.c (get_length_of_cert): Removed.
* app-help.c: New.
(app_help_read_length_of_cert): New. Code taken from above. New
optional arg R_CERTOFF.
* card-dinsig.c: Removed.
* card.c (card_get_serial_and_stamp): Do not bind to the old and
never finsiged card-dinsig.c.
* iso7816.c (iso7816_read_binary): Allow for an NMAX > 254.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* gpgconf-comp.c (gc_component_change_options): Set the filenames
of the option's backend, not of the component.
Also use GC_BACKEND_NR, not GC_COMPONENT_NR.
|
|
|
|
|
|
| |
* gpgconf-comp.c (gc_component_change_options): Set the filenames
of the option's backend, not of the component.
|
|
|
|
|
| |
don't want to clutter our code with system dependent stuff.
|
|
|
|
|
|
| |
* gpgconf-comp.c (retrieve_options_from_file): Quote each string
in the list, not only the first.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
than one certificate.
|
|
|
|
|
|
| |
(insert_duptable): New.
(gpgsm_export): Avoid duplicates.
|
|
|
|
|
|
| |
* gpgconf-comp.c (gc_component_list_options): Do not print empty
groups.
|
|
|
|
|
|
|
| |
* gpgconf-comp.c (option_check_validity): Check if option is
active.
(change_options_file): Implement.
|
|
|
|
|
|
| |
(gpgsm_validate_chain): Fixed infinite certificate checks after
bad signatures.
|
|
|
|
|
|
| |
* gpgconf-comp.c (retrieve_options_from_program): Remove broken
string handling.
|
|
|
|
|
|
| |
* gpgconf-comp.c (change_options_program): Support all types of
options, including list types.
|
|
|
|
|
|
|
| |
* README.gpgconf: Fix description of arguments.
* gpgconf-comp.c (option_check_validity): Rewritten to properly
support optional arguments in lists.
|
|
|
|
|
|
|
|
|
|
|
| |
* README.gpgconf (NAME): Add info about optional arg and arg type 0.
* gpgconf-comp.c (gc_component_change_options): Parse list of
arg type 0 options.
(option_check_validity): Add new argument NEW_VALUE_NR. Perform
rigorous validity checks.
(change_options_program): Disable an option also if we have a new
value for it.
|
|
|
|
|
|
|
|
|
| |
* gpgconf-comp.c (struct gc_option): Add new member new_flags.
(option_check_validity): Check OPTION->new_flags beside
OPTION->new_value. Add new argument FLAGS.
(gc_component_change_options): Support default flag correctly.
(change_options_program): Likewise.
|
|
|
|
|
|
| |
* gpgconf-comp.c (gc_component_list_options): Correct output for
lists of arg type none.
|
|
|
|
|
| |
unintentional builds without Pth.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* README.gpgconf: Revert last change. Add new flags "default",
"default desc" and "no arg desc". Add new field ARGDEF. Add new
field FLAG to backend interface.
* gpgconf-comp.c (struct gc_option): Make flags of type unsigned
long.
(gc_component_list_options): Adjust type for flags.
Add default argument field.
(retrieve_options_from_program): Use "1" as value for non-option
arguments, not "Y".
(gc_component_change_options): Read in flags from input.
|
|
|
|
|
| |
cert-id for root certificates.
|
|
|
|
|
|
| |
* README.gpgconf: Change meaning of type 0 options value if it is
the empty string or "0".
|
|
|
|
|
|
|
| |
* gpgconf.h (struct): Add member runtime.
* gpgconf.c: Add new option oRuntime.
(main): Same here.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gpgconf-comp.c (hextobyte): New function.
(percent_deescape): New function.
(get_config_pathname): Percent deescape pathname if taken from
option (default) value. Use default value only if it exists and
is not empty. Use empty string otherwise. Don't include leading
quote in pathname.
(change_options_program): Percent deescape string before writing
it out.
|
| |
|
| |
|