2008-02-27 Marcus Brinkmann <marcus@g10code.de>
[gnupg.git] / tools / ChangeLog
blob0f3ebd4bec51089bfd45d2ed618e404c9f55328b
1 2008-02-27  Marcus Brinkmann  <marcus@g10code.de>
3         * gpgconf-comp.c (option_check_validity): For now, error out on
4         empty strings.
5         (enum): Add GC_ARG_TYPE_PUB_KEY and GC_ARG_TYPE_SEC_KEY.
7 2008-02-01  Marcus Brinkmann  <marcus@g10code.de>
9         * gpgconf-comp.c (gc_component_list_options): Fix memcpy.
10         Reported by Marc Mutz.
12 2008-01-22  Werner Koch  <wk@g10code.com>
14         * gpgconf-comp.c: Use gnupg domain for honor-http-proxy.  Make
15         "LDAP server list" group title translatable.
17 2008-01-17  Marcus Brinkmann  <marcus@g10code.de>
19         * gpgconf-comp.c (change_options_program): Strip duplicated
20         utf8-strings entries for gnupg backend.  Don't create them either.
22 2007-12-10  Marcus Brinkmann  <marcus@g10code.de>
24         * gpgconf-comp.c (gc_component_list_options): Fix up expert level
25         of group.
27 2007-12-04  Marcus Brinkmann  <marcus@g10code.de>
29         * gpgconf-comp.c (gc_component_list_components): Do not print a
30         trailing semi-colon to ensure forward compatibility, as this would
31         indicate another empty field.
32         (gc_process_gpgconf_conf): Likewise.
34 2007-11-15  Werner Koch  <wk@g10code.com>
36         * gpg-connect-agent.c (start_agent): Adjust changed
37         send_pinentry_environment.
39 2007-10-24  Werner Koch  <wk@g10code.com>
41         * gpg-connect-agent.c (substitute_line): Restore temporary nul
42         marker.
43         (main): Add /while command.
45 2007-10-23  Werner Koch  <wk@g10code.com>
47         * gpgconf-comp.c (gc_process_gpgconf_conf): Add arg
48         LISTFP.  Changed all callers.
49         * gpgconf.h: Add gc_error.
50         * gpgconf.c: Add command --list-config.
51         (get_outfp): New.
52         (main): Make --output work.
54         * gpgconf-comp.c (gc_options_gpg_agent): Replace accidently used
55         GC_BACKEND_SCDAEMON.  We should consider to create these tables
56         from plain files.
58 2007-10-22  Werner Koch  <wk@g10code.com>
60         * gpgconf-comp.c (retrieve_options_from_program): Replace use of
61         popen by our gnupg_spawn_process_fd.  This is required because
62         popen under Windows can't handle long filenames.
64 2007-10-19  Werner Koch  <wk@g10code.com>
66         * symcryptrun.c (confucius_get_pass): Use utf8 switching functions.
68         * gpg-connect-agent.c (get_var_ext): New.
69         (substitute_line): Use it.
70         (assign_variable): Implement /slet in terms of get_var_ext.
71         (main): New option -s/--subst.
72         (add_definq): Add arg IS_VAR.  Change all callers.
73         (main): Add command /definq.
74         (handle_inquire): Implement new command.
75         (substitute_line_copy): New.
76         (unescape_string, unpercent_string): New.
77         * no-libgcrypt.c (gcry_set_outofcore_handler) 
78         (gcry_set_fatalerror_handler, gcry_set_log_handler): New.
79         * Makefile.am (gpg_connect_agent_LDADD): Link to libreadline.
81         * gpgconf-comp.c (retrieve_options_from_file): Don't call fclose
82         with NULL.  Fixes bug 842.
84 2007-10-12  Werner Koch  <wk@g10code.com>
86         * gpg-connect-agent.c (substitute_line): Allow ${foo} syntax.
88 2007-10-11  Werner Koch  <wk@g10code.com>
90         * gpg-connect-agent.c (get_var): Expand environment variables.
91         Suggested by Marc Mutz.
92         (set_var): Return the value.
93         (assign_variable): Add arg syslet.
94         (main): New command /slet.
95         (gnu_getcwd): New.
96         (assign_variable): Add tag cwd, and *dir.
98 2007-10-02  Werner Koch  <wk@g10code.com>
100         * no-libgcrypt.c (gcry_malloc_secure): New.
102         * gpg-connect-agent.c (set_var, set_int_var, get_var)
103         (substitute_line, show_variables, assign_variable)
104         (do_open, do_close, do_showopen): New.
105         (main): Add new commands /nosubst, /subst, /let, /showvar, /open,
106         /close and /showopen.
107         (main): New commands /run and /bye.
109 2007-10-01  Werner Koch  <wk@g10code.com>
111         * gpg-connect-agent.c (do_sendfd): Use INT2FD for assuan_sendfd.
113 2007-09-26  Werner Koch  <wk@g10code.com>
115         * gpg-connect-agent.c (main): Print the first response from the
116         server.
118 2007-09-14  Werner Koch  <wk@g10code.com>
120         * gpgconf-comp.c: Make a string translatable.
122 2007-09-04  Moritz Schulte  <moritz@g10code.com>
124         * gpgsm-gencert.sh: Use printf instead of echo.
126 2007-09-04  Moritz Schulte  <moritz@g10code.com>
128         * gpgkey2ssh.c: Include sysutils.h so that gnupg_tmpfile() is
129         declared.
131 2007-08-31  Werner Koch  <wk@g10code.com>
133         * gpgparsemail.c: Support PGP/MIME signed messages.
135         * gpgconf-comp.c (gc_component_list_components): List the programs
136         names.
138 2007-08-29  Werner Koch  <wk@g10code.com>
140         * gpgconf.c: New command --check-programs.
141         * gpgconf-comp.c (gc_component_check_programs): New.
142         (gc_backend): Add member MODULE_NAME and add these module names.
143         (retrieve_options_from_program): Use module name so that we use an
144         absolute file name and don't rely on $PATH.
145         (collect_error_output): New.
146         * no-libgcrypt.c (gcry_control): New.
148 2007-08-28  Werner Koch  <wk@g10code.com>
150         * gpgconf-comp.c <gpg-agent>: Add options --max-passphrase-days
151         and --enable-passphrase-history.
153 2007-08-27  Werner Koch  <wk@g10code.com>
155         * gpg-check-pattern.c: New
156         * Makefile.am (libexec_PROGRAMS): Add unless DISABLE_REGEX.
158 2007-08-24  Werner Koch  <wk@g10code.com>
160         * gpgconf-comp.c <gpg-agent>: Add options --check-passphrase-pattern,
161         --min-passphrase-nonalpha and --enforce-passphrase-constraints and
162         move them into a new "passphrase policy" group.
163         (gc_component) [W32]: Enable dirmngr.
165 2007-08-21  Werner Koch  <wk@g10code.com>
167         * gpgkey2ssh.c (key_to_blob): Use gnupg_tmpfile().
169 2007-08-02  Werner Koch  <wk@g10code.com>
171         * gpgconf-comp.c: Factor the public GC_OPT_FLAG constants out and
172         include gc-opt-flags.h.
174 2007-07-17  Werner Koch  <wk@g10code.com>
176         * gpgconf-comp.c: Add --encrypt-to and --default-key to gpg and
177         gpgsm.
179 2007-07-16  Marcus Brinkmann  <marcus@g10code.de>
181         * gpg-connect-agent.c (main): Bail out if write fails.
183 2007-07-05  Marcus Brinkmann  <marcus@g10code.de>
185         * symcryptrun.c (confucius_get_pass): Define orig_codeset if
186         [ENABLE_NLS], not [HAVE_LANGINFO_CODESET].
188 2007-06-26  Werner Koch  <wk@g10code.com>
190         * gpgconf-comp.c (key_matches_user_or_group) [W32]: Implement user
191         name matching.
192         (GPGNAME): New.  Use it instead of "gpg".
193         (gc_component) [W32]:  Disable dirmngr for now.
194         (gc_component_retrieve_options): Ignore components without options.
195         (gc_component_change_options): Ditto.
196         (gc_component_list_options): Ditto.
197         (gc_component_find, gc_component_list_components): Ditto.
199 2007-06-19  Werner Koch  <wk@g10code.com>
201         * gpgconf-comp.c (percent_escape): Rename to my_percent_escape.
202         Changed all callers.
204 2007-06-18  Marcus Brinkmann  <marcus@g10code.de>
206         * gpgconf-comp.c (retrieve_options_from_file): Close LIST_FILE.
207         (copy_file): In error case, save/restore errno.  Close SRC and DST.
208         (gc_component_change_options): Catch error from unlink().  Remove
209         target backup file before rename().
211 2007-06-15  Marcus Brinkmann  <marcus@g10code.de>
213         * gpgconf-comp.c (copy_file) [HAVE_W32_SYSTEM]: New function.
214         (change_options_file, change_options_program) [HAVE_W32_SYSTEM]:
215         Copy backup file.
216         (gc_component_change_options) [HAVE_W32_SYSTEM]: Non-atomic replace.
217         (gc_process_gpgconf_conf): Rename fname to fname_arg and
218         fname_buffer to fname, initialize fname with fname_arg, discarding
219         const qualifier.
221 2007-06-15  Werner Koch  <wk@g10code.com>
223         * Makefile.am (symcryptrun_LDADD): It is LIBICONV and not LIBINCONV.
224         (gpgconf_LDADD, symcryptrun_LDADD): Add W32SOCKLIBS.
226 2007-06-14  Werner Koch  <wk@g10code.com>
228         * symcryptrun.c (main): Setup default socket name for
229         simple-pwquery.
230         (MAP_SPWQ_ERROR_IMPL): New.  Use it for all spwq error returns.
232 2007-06-12  Werner Koch  <wk@g10code.com>
234         * gpgconf-comp.c (gc_process_gpgconf_conf): Replace
235         GNUPG_SYSCONFDIR by a function call.
237         * gpg-connect-agent.c (main): Replace some calls by
238         init_common_subsystems.
239         * gpgconf.c (main): Ditto.
240         * symcryptrun.c (main): Ditto.
242 2007-06-11  Werner Koch  <wk@g10code.com>
244         * symcryptrun.c (main) [W32]: Call pth_init.
245         * gpgconf.c (main) [W32]: Call pth_init
246         * gpg-connect-agent.c (main) [W32]: Call pth_init.
248 2007-06-06  Werner Koch  <wk@g10code.com>
250         * Makefile.am (bin_PROGRAMS) [W32]: Do not build gpgparsemail.
252         * gpgconf-comp.c [W32]: Do not include pwd.h and grp.h.
253         (key_matches_user_or_group) [W32]: For now always return false.
255         * symcryptrun.c (i18n_init): Remove.
256         * gpgconf.c (i18n_init): Remove.
257         * gpg-connect-agent.c (i18n_init): Remove.
259 2007-05-19  Marcus Brinkmann  <marcus@g10code.de>
261         * symcryptrun.c (confucius_get_pass): Free ORIG_CODESET on error.
263 2007-05-08  Werner Koch  <wk@g10code.com>
265         * sockprox.c: New.  It needs to be build manually. By Moritz
266         Schulte.
268 2007-04-20  Werner Koch  <wk@g10code.com>
270         * symcryptrun.c (my_gcry_logger): Removed.
271         (main): Call setup_libgcrypt_logging.
273 2007-04-03  Werner Koch  <wk@g10code.com>
275         * gpgconf-comp.c: Allow changing of --allow-mark-trusted.
277         * gpg-connect-agent.c (main): New option --decode and commands
278         decode and undecode.
279         (read_and_print_response): Implement option.
281 2007-03-20  Werner Koch  <wk@g10code.com>
283         * gpgconf-comp.c (gc_options_gpgsm): Add p12-charset.
285 2007-03-07  Werner Koch  <wk@g10code.com>
287         * applygnupgdefaults: New.
288         * Makefile.am (sbin_SCRIPTS): Add it
290 2007-03-06  Werner Koch  <wk@g10code.com>
292         * gpgconf-comp.c: Include pwd.h and grp.h.
293         (GC_OPT_FLAG_NO_CHANGE): New.
294         (gc_component_change_options): Implement it.
295         (gc_options_gpg_agent): Add options for all ttl values and
296         min-passphrase-length.  Apply new flag to some of them.
297         (gc_process_gpgconf_conf, key_matches_user_or_group): New.
298         (gc_component_change_options): Factor some code out to ..
299         (change_one_value): .. new. 
300         (gc_component_retrieve_options): Allow -1 for COMPONENT to iterate
301         over al components.
302         * gpgconf.c (main): New commands --check-config and
303         --apply-defaults.  Call gc_process_gpgconf_conf.
305 2007-01-31  Werner Koch  <wk@g10code.com>
307         * Makefile.am (symcryptrun_LDADD): Add LIBICONV.
308         (gpgkey2ssh_LDADD): Ditto.
310 2006-12-13  David Shaw  <dshaw@jabberwocky.com>
312         * Makefile.am (gpgsplit_LDADD): Link to LIBINTL if we're using the
313         built-in code.
315 2006-12-07  David Shaw  <dshaw@jabberwocky.com>
317         * Makefile.am: Link to iconv for jnlib dependency.
319 2006-11-23  Werner Koch  <wk@g10code.com>
321         * Makefile.am (gpg_connect_agent_LDADD): Add NETLIBS.
323 2006-11-21  Werner Koch  <wk@g10code.com>
325         * gpgconf-comp.c (list_one_option): Cast print size_t arg.
327 2006-11-17  Werner Koch  <wk@g10code.com>
329         * gpgconf-comp.c: Made disable-keypad a basic option.
331 2006-11-03  Werner Koch  <wk@g10code.com>
333         * symcryptrun.c: Include signal.h and include pth.h only if test
334         asserts that it exists.
336 2006-10-23  Werner Koch  <wk@g10code.com>
338         * gpgconf-comp.c <gpgsm>: Add --cipher-algo.
340 2006-10-20  Werner Koch  <wk@g10code.com>
342         * gpgsm-gencert.sh: Enhanced the main menu. 
344 2006-10-12  Werner Koch  <wk@g10code.com>
346         * Makefile.am (gpg-zip, gpgsplit): Do not install due to a
347         conflict with gpg1.
349 2006-10-11  Werner Koch  <wk@g10code.com>
351         * gpgsm-gencert.sh: Allow generation of card keys.
353 2006-10-08  Werner Koch  <wk@g10code.com>
355         * Makefile.am (gpgkey2ssh_LDADD): Add LIBINTL. Suggested by
356         Andreas Metzler.
358 2006-09-22  Werner Koch  <wk@g10code.com>
360         * no-libgcrypt.c: Changed license to a simple all permissive one.
362 2006-09-20  Werner Koch  <wk@g10code.com>
364         * Makefile.am: Changes to allow parallel make runs.
366 2006-09-12  Werner Koch  <wk@g10code.com>
368         Replaced all call gpg_error_from_errno(errno) by
369         gpg_error_from_syserror().
371         * gpg-connect-agent.c (read_and_print_response): With verbosity
372         level 2 also print comment lines.
374 2006-09-06  Werner Koch  <wk@g10code.com>
376         * gpg-connect-agent.c: Switch everything to new Assuan error code
377         style.
379         * no-libgcrypt.c (out_of_core): Reanmed to ...
380         (out_of_memory): .. this to avoid name clash with util.h.
382 2006-08-21  Werner Koch  <wk@g10code.com>
384         * gpgsplit.c: New. Taken from 1.4. Adjusted to GnuPG2.
386         * Makefile.am (noinst_PROGRAMS): New.
388 2006-06-09  Marcus Brinkmann  <marcus@g10code.de>
390         * Makefile.am (gpgconf_LDADD): Add $(GPG_ERROR_LIBS).
391         (gpgkey2ssh_LDADD): Add ../jnlib/libjnlib.a.
393 2006-05-23  Werner Koch  <wk@g10code.com>
395         * gpgparsemail.c: Include config.h if available
396         (stpcpy): Conditional include it.
398         * gpgconf-comp.c (hextobyte): Removed as it is now availble in
399         jnlib.
401 2005-12-20  Werner Koch  <wk@g10code.com>
403         * gpgconf-comp.c (gc_options_gpg): Add allow-pka-lookup.
405 2005-12-14  Werner Koch  <wk@g10code.com>
407         * Makefile.am (bin_PROGRAMS): Build gpgparsemail.
409         * gpgparsemail.c (pkcs7_begin): New.
410         (parse_message, message_cb): Add support of direct pkcs signatures.
412 2005-10-19  Werner Koch  <wk@g10code.com>
414         * gpgconf-comp.c (gc_options_scdaemon): New option --disable-keypad.
416 2005-09-22  Werner Koch  <wk@g10code.com>
418         * rfc822parse.c (parse_field): Tread Content-Disposition special.
420 2005-10-08  Marcus Brinkmann  <marcus@g10code.de>
422         * Makefile.am (watchgnupg_LDADD): New variable.
424         * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after
425         ../common/libcommon.a.
426         (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD):
427         Likewise.
429 2005-09-29  Marcus Brinkmann  <marcus@g10code.de>
431         * Makefile.am (AM_CFLAGS): Add $(LIBGCRYPT_CFLAGS).
433 2005-09-06  Werner Koch  <wk@g10code.com>
435         * rfc822parse.c, rfc822parse.h:  Changed license to LGPL.
437 2005-08-01  Werner Koch  <wk@g10code.com>
439         * gpgsm-gencert.sh: Allow entering a keygrip to generate a CSR from
440         an existing key.
442 2005-07-21  Werner Koch  <wk@g10code.com>
444         * gpgsm-gencert.sh: Reworked to allow for multiple email addresses
445         as well as DNsanmes and URi.  Present the parameter file before
446         creating the certificate.
448 2005-07-04  Marcus Brinkmann  <marcus@g10code.de>
450         * symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols,
451         use instead constants.
452         (hash_string): New function copied from simple-gettext.c.
453         (confucius_get_pass): Take new argument CACHEID.
454         (confucius_process): Calculate cacheid and pass it to
455         confucius_get_pass.  Clear passphrase from cache if necessary.
457 2005-06-16  Werner Koch  <wk@g10code.com>
459         * gpg-connect-agent.c (read_and_print_response): Made LINELEN a
460         size_t.
462 2005-06-04  Marcus Brinkmann  <marcus@g10code.de>
464         * symcryptrun.c (main): Allow any number of arguments, don't use
465         first argument as input file name.  Pass extra arguments to
466         confucius_main.
467         (confucius_main): Accept new arguments argc and argv and pass them
468         to confucius_process.
469         (confucius_process): Accept new arguments argc and argv and pass
470         them to the confucius process.
472 2005-06-01  Werner Koch  <wk@g10code.com>
474         * symcryptrun.c: Include mkdtemp.h. 
476 2005-05-31  Werner Koch  <wk@g10code.com>
478         * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines.
479         Noted by Ray Link.
481 2005-05-28  Moritz Schulte  <moritz@g10code.com>
483         * gpgkey2ssh.c: New file.
484         * Makefile.am (bin_PROGRAMS): Added gpgkey2ssh.
486 2005-05-20  Werner Koch  <wk@g10code.com>
488         * gpg-connect-agent.c (add_definq, show_definq, clear_definq)
489         (handle_inquire): New.
490         (read_and_print_response): Handle INQUIRE command.
491         (main): Implement control commands.
493 2005-04-21  Werner Koch  <wk@g10code.com>
495         * symcryptrun.c (main): Optionally allow the input file as command
496         line argument.
498         * gpgconf-comp.c: Add gpgsm option disable-trusted-cert-crl-check.
500 2005-04-20  Werner Koch  <wk@g10code.com>
502         * gpgconf-comp.c: Add gpg-agent:disable-scdaemon.
504 2005-04-19  Marcus Brinkmann  <marcus@g10code.de>
506         * symcryptrun.c: Add --input option.
508 2005-04-15  Marcus Brinkmann  <marcus@g10code.de>
510         * symcryptrun.c (TEMP_FAILURE_RETRY): Define if not defined.
512         * symcryptrun.c (remove_file): New function.
513         (confucius_copy_file): Accept new argument PLAIN and shred the
514         file if it is set on error.
516         * Makefile.am: Define symcryptrun make variable depending on
517         BUILD_SYMCRYPTUN.
518         (bin_PROGRAMS): Add ${symcryptrun} instead symcryptrun.
519         (symcryptrun_LDADD): Use $(LIBUTIL_LIBS) instead of -lutil.
521 2005-04-11  Werner Koch  <wk@g10code.com>
523         * symcryptrun.c (confucius_mktmpdir): Changed to use mkdtmp(3).
525 2005-04-11  Marcus Brinkmann  <marcus@g10code.de>
527         * symcryptrun.c: Implement config file parsing.
528         
529         * Makefile.am (bin_PROGRAMS): Add symcryptrun.
530         (symcryptrun_SOURCES, symcryptrun_LDADD): New variables.
531         * symcryptrun.c: New file.
533 2005-03-31  Werner Koch  <wk@g10code.com>
535         * gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'.
537 2005-03-09  Werner Koch  <wk@g10code.com>
539         * gpgconf-comp.c <dirmngr>: Add honor-http-proxy.
541 2005-02-25  Werner Koch  <wk@g10code.com>
543         * no-libgcrypt.c (gcry_strdup): New.
545 2005-02-24  Werner Koch  <wk@g10code.com>
547         * gpg-connect-agent.c: New.
548         * Makefile.am: Add it. 
550 2004-12-21  Werner Koch  <wk@g10code.com>
552         * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute
553         pathnames with a drive letter.
555 2004-12-15  Werner Koch  <wk@g10code.com>
557         * Makefile.am (bin_PROGRAMS) [W32]: Do not build watchgnupg.
559         * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: No way yet to
560         send a signal.  Disable.
561         (change_options_file, change_options_program) [W32]: No link(2),
562         so we disable it.
563         (gc_component_change_options): Use rename instead of link.
565 2004-12-13  Werner Koch  <wk@g10code.com>
567         * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
569 2004-11-24  Werner Koch  <wk@g10code.com>
571         * gpgconf-comp.c <dirmngr>: Add --ignore-http-dp, --ignore-ldap-dp
572         and --ignore-ocsp-service-url.
574 2004-11-23  Werner Koch  <wk@g10code.com>
576         * gpgconf-comp.c <dirmngr>: Add the proxy options.
577         <gpgsm>: Add --prefer-system-daemon.
579 2004-11-11  Werner Koch  <wk@g10code.com>
581         * watchgnupg.c (main): Fixed test for read error.
583 2004-10-22  Werner Koch  <wk@g10code.com>
585         * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh
587         * gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF.
589 2004-10-01  Werner Koch  <wk@g10code.com>
591         * gpgconf-comp.c: Made all strings for --log-file read the same.
592         
593 2004-10-01  Werner Koch  <wk@g10code.com>
595         * gpgconf-comp.c (my_dgettext): Also switch codeset and directory
596         for the other used domains (i.e. dirmngr).
598         * gpgconf.c (main): Fixed translation markers.
600 2004-09-30  Werner Koch  <wk@g10code.com>
602         * gpgconf.c (i18n_init): Always use LC_ALL.
604         * Makefile.am: Adjusted for gettext 0.14.
606 2004-09-29  Werner Koch  <wk@g10code.com>
608         * gpgconf-comp.c: Made the entries fro GROUPs translatable.
609         Include i18n.h.
610         (my_dgettext): Hack to use the gnupg2 domain.
612 2004-08-09  Moritz Schulte  <moritz@g10code.com>
614         * gpgsm-gencert.sh: New file.
616 2004-06-16  Werner Koch  <wk@gnupg.org>
618         * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.
620 2004-06-14  Werner Koch  <wk@gnupg.org>
622         * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New.
624         * gpgconf-comp.c (retrieve_options_from_program) 
625         (retrieve_options_from_file, change_options_file) 
626         (change_options_program, gc_component_change_options): Replaced
627         getline by read_line and test for allocation failure.
629 2004-05-21  Marcus Brinkmann  <marcus@g10code.de>
631         * gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its
632         only option "max-replies" into LDAP group.
633         (gc_component): Change description of dirmngr to "Directory
634         Manager".
636         * gpgconf-comp.c (gc_component_change_options): Move the
637         per-process backup file into a standard location.
639 2004-05-03  Werner Koch  <wk@gnupg.org>
641         * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.
643 2004-04-30  Werner Koch  <wk@gnupg.org>
645         * gpgconf-comp.c: Added more runtime flags for the gpg-agent
646         backend.
648 2004-04-29  Marcus Brinkmann  <marcus@g10code.de>
650         * gpgconf-comp.c (change_options_program): Turn on utf8-strings in
651         the gpgconf specific part of the config file for the GnuPG
652         backend.
654 2004-04-28  Werner Koch  <wk@gnupg.org>
656         * gpgconf-comp.c: Add --ocsp-signer for the dirmngr backend.
658 2004-04-20  Marcus Brinkmann  <marcus@g10code.de>
660         * gpgconf-comp.c (gc_options_gpg_agent): Change type of
661         ignore-cache-for-signing option to GC_ARG_TYPE_NONE.
663 2004-04-07  Werner Koch  <wk@gnupg.org>
665         * gpgconf-comp.c (my_dgettext): Switch the codeset once to utf-8.
666         Allow building with out NLS.
668 2004-03-23  Marcus Brinkmann  <marcus@g10code.de>
670         * gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for
671         "LDAP Server".
672         (change_options_file): Remove assertion that tests that this flag
673         is not present.  Handle an empty string in OPTION->new_value.
675         * gpgconf.c (main): Remove obsolete warning.
677 2004-03-23  Werner Koch  <wk@gnupg.org>
679         * gpgconf-comp.c (gc_options_gpg): New.
680         (gc_component_t, gc_component): Add GC_BACKEND_GPG.
681         (gc_options_dirmngr): Add allow-ocsp.
683 2004-03-23  Marcus Brinkmann  <marcus@g10code.de>
685         * gpgconf-comp.c (gc_flag): Add missing flags.
687         * gpgconf-comp.c: Include <signal.h>.
688         (gc_backend): Add new member runtime_change.
689         (gpg_agent_runtime_change): New function.
690         (gc_component_change_options): New variable runtime.  Initialize
691         it.  If an option is changed that has the GC_OPT_FLAG_RUNTIME bit
692         set, also set the corresponding runtime variable.  Finally, call
693         the runtime_change callback of the backend if needed.   
695 2004-03-16  Werner Koch  <wk@gnupg.org>
697         * gpgconf-comp.c (gc_options_gpg_agent): Implemented.
698         (gc_options_gpgsm, gc_options_scdaemon): Implemented.
699         (gc_backend_t): Add GC_BACKEND_SCDAEMON.
701 2004-03-12  Marcus Brinkmann  <marcus@g10code.de>
703         * gpgconf-comp.c (gc_component_change_options): Set the filenames
704         of the option's backend, not of the component.
705         Also use GC_BACKEND_NR, not GC_COMPONENT_NR.
707 2004-03-09  Werner Koch  <wk@gnupg.org>
709         * gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we
710         don't want to clutter our code with system dependent stuff.
712 2004-03-08  Marcus Brinkmann  <marcus@g10code.de>
714         * gpgconf-comp.c (retrieve_options_from_file): Quote each string
715         in the list, not only the first.
717 2004-02-26  Marcus Brinkmann  <marcus@g10code.de>
719         * gpgconf-comp.c (gc_component_list_options): Do not print empty
720         groups.
722         * gpgconf-comp.c (option_check_validity): Check if option is
723         active.
724         (change_options_file): Implement.
726         * gpgconf-comp.c (retrieve_options_from_program): Remove broken
727         string handling.
729         * gpgconf-comp.c (change_options_program): Support all types of
730         options, including list types.
732         * README.gpgconf: Fix description of arguments.
733         * gpgconf-comp.c (option_check_validity): Rewritten to properly
734         support optional arguments in lists.
736         * README.gpgconf: Add info about optional arg and arg type 0.
737         * gpgconf-comp.c (gc_component_change_options): Parse list of
738         arg type 0 options.
739         (option_check_validity): Add new argument NEW_VALUE_NR.  Perform
740         rigorous validity checks.
741         (change_options_program): Disable an option also if we have a new
742         value for it.
744 2004-02-25  Marcus Brinkmann  <marcus@g10code.de>
746         * gpgconf-comp.c (gc_component_list_options): Correct output for
747         lists of arg type none.
748         (struct gc_option): Add new member new_flags.
749         (option_check_validity): Check OPTION->new_flags beside
750         OPTION->new_value.  Add new argument FLAGS.
751         (gc_component_change_options): Support default flag correctly.
752         (change_options_program): Likewise.
754 2004-02-24  Marcus Brinkmann  <marcus@g10code.de>
756         * README.gpgconf: Revert last change.  Add new flags "default",
757         "default desc" and "no arg desc".  Add new field ARGDEF.  Add new
758         field FLAG to backend interface.
759         * gpgconf-comp.c (struct gc_option): Make flags of type unsigned
760         long.
761         (gc_component_list_options): Adjust type for flags.
762         Add default argument field.
763         (retrieve_options_from_program): Use "1" as value for non-option
764         arguments, not "Y".
765         (gc_component_change_options): Read in flags from input.
767 2004-02-23  Marcus Brinkmann  <marcus@g10code.de>
769         * README.gpgconf: Change meaning of type 0 options value if it is
770         the empty string or "0".
772         * gpgconf.h (struct): Add member runtime.
773         * gpgconf.c: Add new option oRuntime.
774         (main): Same here.
776         * gpgconf-comp.c (hextobyte): New function.
777         (percent_deescape): New function.
778         (get_config_pathname): Percent deescape pathname if taken from
779         option (default) value.  Use default value only if it exists and
780         is not empty.  Use empty string otherwise.  Don't include leading
781         quote in pathname.
782         (change_options_program): Percent deescape string before writing
783         it out.
784         
785         * gpgconf-comp.c (gc_component_list_options): Do not skip groups
786         on output.
788 2004-02-18  Werner Koch  <wk@gnupg.org>
790         * gpgconf-comp.c: Added empty components for gpgsm and scdaemon.
792 2004-02-12  Werner Koch  <wk@gnupg.org>
794         * watchgnupg.c (main): Implement option "--".
795         (print_version): New.
797         * Makefile.am: Include cmacros.am for common flags.
799 2004-02-03  Werner Koch  <wk@gnupg.org>
801         * addgnupghome: Try to use getent, so that it also works for NIS
802         setups.
804 2004-01-31  Marcus Brinkmann  <marcus@g10code.de>
806         * gpgconf-comp.c: Some bug fixes, parse only defaults from the
807         program, and read the current values from the configuration file
808         directly.
810 2004-01-30  Marcus Brinkmann  <marcus@g10code.de>
812         * gpgconf-comp.c (gc_error): New function, use it instead of
813         error() throughout.
815         * gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and
816         gnupg_get_time, fix error() invocation and use getline()
817         consistently.
818         
819 2004-01-30  Werner Koch  <wk@gnupg.org>
821         * addgnupghome: Also set the group of copied files. 
823 2004-01-30  Werner Koch  <wk@gnupg.org>
825         * Makefile.am (sbin_SCRIPTS): New, to install addgnupghome.
826         (EXTRA_DIST): Added rfc822parse.c rfc822parse.h gpgparsemail.c
827         which might be useful for debugging.
829 2004-01-29  Werner Koch  <wk@gnupg.org>
831         * addgnupghome: New.
833 2004-01-29  Marcus Brinkmann  <marcus@g10code.de>
835         * gpgconf-list.c: File removed.
836         * README.gpgconf: New file.
837         * gpgconf-comp.c: New file.
838         * Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add
839         gpgconf-comp.c.
841 2004-01-16  Werner Koch  <wk@gnupg.org>
843         * watchgnupg.c (main): Need to use FD_ISSET for the client
844         descriptors too; aiiih.  Set the listening socket to non-blocking.
846 2004-01-10  Werner Koch  <wk@gnupg.org>
848         * Makefile.am: Use GPG_ERROR_CFLAGS
849         
850 2004-01-05  Werner Koch  <wk@gnupg.org>
852         * Manifest: New.
853         * gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now.
854         * no-libgcrypt.c: New.
855         * Makefile.am: Add above.
857 2003-12-23  Werner Koch  <wk@gnupg.org>
859         * Makefile.am: New.
860         * watchgnupg.c: New.
863  Copyright 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
865  This file is free software; as a special exception the author gives
866  unlimited permission to copy and/or distribute it, with or without
867  modifications, as long as this notice is preserved.
869  This file is distributed in the hope that it will be useful, but
870  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
871  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.