aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add dirmngr options to gpgconf and updated the DE translationWerner Koch2004-11-241-0/+3
|
* Add --ignore-http-dp andWerner Koch2004-11-241-0/+6
| | | | | --ignore-ldap-dp.
* * b64enc.c: Include stdio.h and string.hWerner Koch2004-11-231-1/+23
| | | | | | | | | * gpgsm.c: New option --prefer-system-dirmngr. * call-dirmngr.c (start_dirmngr): Implement this option. * gpgconf-comp.c <dirmngr>: Add the proxy options. <gpgsm>: Add --prefer-system-daemon.
* Made all strings for --log-file read the same.Werner Koch2004-10-011-4/+4
|
* * gpgconf-comp.c (my_dgettext): Also switch codeset and directoryWerner Koch2004-10-011-4/+11
| | | | | | | for the other used domains (i.e. dirmngr). * gpgconf.c (main): Fixed translation markers.
* * gpgsm.texi (Configuration Options): Add --log-file.Werner Koch2004-09-291-29/+43
| | | | | | | * gpgconf-comp.c: Made the entries fro GROUPs translatable. Include i18n.h. (my_dgettext): Hack to use the gnupg2 domain.
* * xreadline.c: New. Based on the iobuf_read_line function.Werner Koch2004-06-141-36/+26
| | | | | | | | | | * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. * gpgconf-comp.c (retrieve_options_from_program) (retrieve_options_from_file, change_options_file) (change_options_program, gc_component_change_options): Replaced getline by read_line and test for allocation failure.
* 2004-05-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-05-211-5/+1
| | | | | | | | * gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its only option "max-replies" into LDAP group. (gc_component): Change description of dirmngr to "Directory Manager".
* 2004-05-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-05-211-0/+12
| | | | | | * gpgconf-comp.c (gc_component_change_options): Move the per-process backup file into a standard location.
* * gpg-agent.c: Remove help texts for options lile --lc-ctype.Werner Koch2004-05-031-0/+3
| | | | | | | | | | (main): New option --allow-mark-trusted. * trustlist.c (agent_marktrusted): Use it here. * gpg-agent.texi (Agent Options): Add --allow-mark-trusted. * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.
* Allow changing --log-fileWerner Koch2004-04-301-1/+1
|
* Added more runtime flags for the gpg-agentWerner Koch2004-04-301-4/+4
| | | | | backend.
* 2004-04-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-291-0/+5
| | | | | | | * gpgconf-comp.c (change_options_program): Turn on utf8-strings in the gpgconf specific part of the config file for the GnuPG backend.
* Add --ocsp-signer for the dirmngr backend.Werner Koch2004-04-281-0/+3
|
* 2004-04-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-201-1/+1
| | | | | | * gpgconf-comp.c (gc_options_gpg_agent): Change type of ignore-cache-for-signing option to GC_ARG_TYPE_NONE.
* (my_dgettext): Switch the codeset once to utf-8.Werner Koch2004-04-071-2/+17
| | | | | Allow building with out NLS.
* Typo fixWerner Koch2004-04-051-1/+1
|
* Add dirmngr:allow-ocspWerner Koch2004-03-231-0/+3
|
* 2004-03-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-231-3/+4
| | | | | | | | * 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.
* Make it workWerner Koch2004-03-231-4/+11
|
* add missing commaWerner Koch2004-03-231-1/+1
|
* (gc_options_gpg): New.Werner Koch2004-03-231-0/+50
| | | | | (gc_component_t, gc_component): Add GC_BACKEND_GPG.
* 2004-03-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-231-1/+4
| | | | | * gpgconf-comp.c (gc_flag): Add missing flags.
* 2004-03-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-231-9/+64
| | | | | | | | | | | * 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.
* (gc_options_gpg_agent): Implemented.Werner Koch2004-03-161-6/+121
| | | | | | (gc_options_gpgsm, gc_options_scdaemon): Implemented. (gc_backend_t): Add GC_BACKEND_SCDAEMON.
* (gc_options_gpg_agent): Implemented.Werner Koch2004-03-161-0/+59
|
* 2004-03-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-121-2/+2
| | | | | | | * 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.
* 2004-03-12 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-121-7/+8
| | | | | | * gpgconf-comp.c (gc_component_change_options): Set the filenames of the option's backend, not of the component.
* Removed special code for RISC OS; weWerner Koch2004-03-091-2/+8
| | | | | don't want to clutter our code with system dependent stuff.
* 2004-03-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-03-081-3/+3
| | | | | | * gpgconf-comp.c (retrieve_options_from_file): Quote each string in the list, not only the first.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-261-96/+118
| | | | | | * gpgconf-comp.c (gc_component_list_options): Do not print empty groups.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-261-3/+288
| | | | | | | * gpgconf-comp.c (option_check_validity): Check if option is active. (change_options_file): Implement.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-261-6/+0
| | | | | | * gpgconf-comp.c (retrieve_options_from_program): Remove broken string handling.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-261-12/+65
| | | | | | * gpgconf-comp.c (change_options_program): Support all types of options, including list types.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-261-82/+73
| | | | | | | * README.gpgconf: Fix description of arguments. * gpgconf-comp.c (option_check_validity): Rewritten to properly support optional arguments in lists.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-261-13/+130
| | | | | | | | | | | * 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.
* 2004-02-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-251-14/+21
| | | | | | | | | * 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.
* 2004-02-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-251-1/+8
| | | | | | * gpgconf-comp.c (gc_component_list_options): Correct output for lists of arg type none.
* 2004-02-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-241-36/+137
| | | | | | | | | | | | | | * 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.
* 2004-02-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-231-11/+84
| | | | | | | | | | | | * 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.
* Added empty components for gpgsm and scdaemon.Werner Koch2004-02-181-0/+22
|
* Fix copyright line.Marcus Brinkmann2004-02-011-1/+1
|
* 2004-01-31 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-01-311-104/+204
| | | | | | | * gpgconf-comp.c: Some bug fixes, parse only defaults from the program, and read the current values from the configuration file directly.
* 2004-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-01-301-25/+62
| | | | | | * gpgconf-comp.c (gc_error): New function, use it instead of error() throughout.
* 2004-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-01-301-52/+32
| | | | | | | * gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and gnupg_get_time, fix error() invocation and use getline() consistently.
* 2004-01-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-01-281-0/+1321
* gpgconf-list.c: File removed. * README.gpgconf: New file. * gpgconf-comp.c: New file. * Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add gpgconf-comp.c.