Marcus Brinkmann <marcus@g10code.de>
[gnupg.git] / tools / ChangeLog
blobda435bb8cf050543317558d57780effcdb0236b8
1 2008-08-06  Marcus Brinkmann  <marcus@g10code.de>
3         * gpgconf-comp.c (retrieve_options_from_file): Transfer the
4         NO_CHANGE flag from the file name option to the list option.
6 2008-06-19  Werner Koch  <wk@g10code.com>
8         * gpgconf-comp.c (GC_ARG_TYPE_ALIAS_LIST): New.
9         (gc_arg_type): Add fallback type.
10         (gc_options_gpg): Add option "group".
12 2008-06-12  Marcus Brinkmann  <marcus@g10code.de>
14         * gpgconf-comp.c (gc_options_gpgsm): Add option keyserver.
16 2008-05-26  Marcus Brinkmann  <marcus@g10code.de>
18         * gpgconf-comp.c: Replace pathname by filename everywhere.
20         * gpgconf.c (enum cmd_and_opt_values): Add aListDirs.
21         (opts): Add aListDirs option.
22         (main): Handle aListDirs.
23         * gpgconf.h (gc_percent_escape): New declaration.
24         * gpgconf-comp.c (my_percent_escape): Make non-static and rename
25         to ...
26         (gc_percent_escape): ... this.  Change all callers.
27         
28 2008-05-26  Werner Koch  <wk@g10code.com>
30         * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: Issue
31         "reloadagent" command to gpg-agent.
33         * gpg-connect-agent.c (main): Allow server command on the command
34         line.
36 2008-05-20  Marcus Brinkmann  <marcus@g10code.de>
38         * gpgconf.h (gc_component_check_programs): Rename to ...
39         (gc_check_programs): ... this.
40         (gc_component_change_options): Add argument OUT.
41         (gc_component_check_options): New function.
42         * gpgconf.c (enum cmd_and_opt_values): New option aCheckOptions.
43         (opts): Add new option aCheckOptions (aka --check-options).
44         (main): Handle new option aCheckOptions.
45         * gpgconf-comp.c (gc_component_check_programs): Rename to ...
46         (gc_check_programs): ... this.  Refactor core of it to ...
47         (gc_component_check_options): ... this new function.
48         (gc_component_change_options): Add new argument OUT.  Externally
49         verify all changes.  Implement option --dry-run.
51 2008-05-09  Werner Koch  <wk@g10code.com>
53         * gpgconf-comp.c (my_dgettext) [USE_SIMPLE_GETTEXT]:  Hack to
54         parly support translations.
56 2008-04-08  Werner Koch  <wk@g10code.com>
58         * gpgconf-comp.c (gc_options_gpg): Add --auto-key-locate.
60 2008-03-26  Werner Koch  <wk@g10code.com>
62         * make-dns-cert.c: Include unistd.h.  Use config.h if requested.
63         (cert_key): Protect read against EINTR.
64         (main): Print SVN revision for standalone version.
66 2008-03-05  Werner Koch  <wk@g10code.com>
68         * gpg-connect-agent.c (arithmetic_op): Add logical not, or and and.
69         (get_var_ext): Add functions errcode, errsource and errstring.
70         (read_and_print_response): Store server reply in $? variable.
71         (main): Implement IF command.
73 2008-02-27  Marcus Brinkmann  <marcus@g10code.de>
75         * gpgconf-comp.c (option_check_validity): For now, error out on
76         empty strings.
77         (enum): Add GC_ARG_TYPE_PUB_KEY and GC_ARG_TYPE_SEC_KEY.
79 2008-02-01  Marcus Brinkmann  <marcus@g10code.de>
81         * gpgconf-comp.c (gc_component_list_options): Fix memcpy.
82         Reported by Marc Mutz.
84 2008-01-22  Werner Koch  <wk@g10code.com>
86         * gpgconf-comp.c: Use gnupg domain for honor-http-proxy.  Make
87         "LDAP server list" group title translatable.
89 2008-01-17  Marcus Brinkmann  <marcus@g10code.de>
91         * gpgconf-comp.c (change_options_program): Strip duplicated
92         utf8-strings entries for gnupg backend.  Don't create them either.
94 2007-12-10  Marcus Brinkmann  <marcus@g10code.de>
96         * gpgconf-comp.c (gc_component_list_options): Fix up expert level
97         of group.
99 2007-12-04  Marcus Brinkmann  <marcus@g10code.de>
101         * gpgconf-comp.c (gc_component_list_components): Do not print a
102         trailing semi-colon to ensure forward compatibility, as this would
103         indicate another empty field.
104         (gc_process_gpgconf_conf): Likewise.
106 2007-11-15  Werner Koch  <wk@g10code.com>
108         * gpg-connect-agent.c (start_agent): Adjust changed
109         send_pinentry_environment.
111 2007-10-24  Werner Koch  <wk@g10code.com>
113         * gpg-connect-agent.c (substitute_line): Restore temporary nul
114         marker.
115         (main): Add /while command.
117 2007-10-23  Werner Koch  <wk@g10code.com>
119         * gpgconf-comp.c (gc_process_gpgconf_conf): Add arg
120         LISTFP.  Changed all callers.
121         * gpgconf.h: Add gc_error.
122         * gpgconf.c: Add command --list-config.
123         (get_outfp): New.
124         (main): Make --output work.
126         * gpgconf-comp.c (gc_options_gpg_agent): Replace accidently used
127         GC_BACKEND_SCDAEMON.  We should consider to create these tables
128         from plain files.
130 2007-10-22  Werner Koch  <wk@g10code.com>
132         * gpgconf-comp.c (retrieve_options_from_program): Replace use of
133         popen by our gnupg_spawn_process_fd.  This is required because
134         popen under Windows can't handle long filenames.
136 2007-10-19  Werner Koch  <wk@g10code.com>
138         * symcryptrun.c (confucius_get_pass): Use utf8 switching functions.
140         * gpg-connect-agent.c (get_var_ext): New.
141         (substitute_line): Use it.
142         (assign_variable): Implement /slet in terms of get_var_ext.
143         (main): New option -s/--subst.
144         (add_definq): Add arg IS_VAR.  Change all callers.
145         (main): Add command /definq.
146         (handle_inquire): Implement new command.
147         (substitute_line_copy): New.
148         (unescape_string, unpercent_string): New.
149         * no-libgcrypt.c (gcry_set_outofcore_handler) 
150         (gcry_set_fatalerror_handler, gcry_set_log_handler): New.
151         * Makefile.am (gpg_connect_agent_LDADD): Link to libreadline.
153         * gpgconf-comp.c (retrieve_options_from_file): Don't call fclose
154         with NULL.  Fixes bug 842.
156 2007-10-12  Werner Koch  <wk@g10code.com>
158         * gpg-connect-agent.c (substitute_line): Allow ${foo} syntax.
160 2007-10-11  Werner Koch  <wk@g10code.com>
162         * gpg-connect-agent.c (get_var): Expand environment variables.
163         Suggested by Marc Mutz.
164         (set_var): Return the value.
165         (assign_variable): Add arg syslet.
166         (main): New command /slet.
167         (gnu_getcwd): New.
168         (assign_variable): Add tag cwd, and *dir.
170 2007-10-02  Werner Koch  <wk@g10code.com>
172         * no-libgcrypt.c (gcry_malloc_secure): New.
174         * gpg-connect-agent.c (set_var, set_int_var, get_var)
175         (substitute_line, show_variables, assign_variable)
176         (do_open, do_close, do_showopen): New.
177         (main): Add new commands /nosubst, /subst, /let, /showvar, /open,
178         /close and /showopen.
179         (main): New commands /run and /bye.
181 2007-10-01  Werner Koch  <wk@g10code.com>
183         * gpg-connect-agent.c (do_sendfd): Use INT2FD for assuan_sendfd.
185 2007-09-26  Werner Koch  <wk@g10code.com>
187         * gpg-connect-agent.c (main): Print the first response from the
188         server.
190 2007-09-14  Werner Koch  <wk@g10code.com>
192         * gpgconf-comp.c: Make a string translatable.
194 2007-09-04  Moritz Schulte  <moritz@g10code.com>
196         * gpgsm-gencert.sh: Use printf instead of echo.
198 2007-09-04  Moritz Schulte  <moritz@g10code.com>
200         * gpgkey2ssh.c: Include sysutils.h so that gnupg_tmpfile() is
201         declared.
203 2007-08-31  Werner Koch  <wk@g10code.com>
205         * gpgparsemail.c: Support PGP/MIME signed messages.
207         * gpgconf-comp.c (gc_component_list_components): List the programs
208         names.
210 2007-08-29  Werner Koch  <wk@g10code.com>
212         * gpgconf.c: New command --check-programs.
213         * gpgconf-comp.c (gc_component_check_programs): New.
214         (gc_backend): Add member MODULE_NAME and add these module names.
215         (retrieve_options_from_program): Use module name so that we use an
216         absolute file name and don't rely on $PATH.
217         (collect_error_output): New.
218         * no-libgcrypt.c (gcry_control): New.
220 2007-08-28  Werner Koch  <wk@g10code.com>
222         * gpgconf-comp.c <gpg-agent>: Add options --max-passphrase-days
223         and --enable-passphrase-history.
225 2007-08-27  Werner Koch  <wk@g10code.com>
227         * gpg-check-pattern.c: New
228         * Makefile.am (libexec_PROGRAMS): Add unless DISABLE_REGEX.
230 2007-08-24  Werner Koch  <wk@g10code.com>
232         * gpgconf-comp.c <gpg-agent>: Add options --check-passphrase-pattern,
233         --min-passphrase-nonalpha and --enforce-passphrase-constraints and
234         move them into a new "passphrase policy" group.
235         (gc_component) [W32]: Enable dirmngr.
237 2007-08-21  Werner Koch  <wk@g10code.com>
239         * gpgkey2ssh.c (key_to_blob): Use gnupg_tmpfile().
241 2007-08-02  Werner Koch  <wk@g10code.com>
243         * gpgconf-comp.c: Factor the public GC_OPT_FLAG constants out and
244         include gc-opt-flags.h.
246 2007-07-17  Werner Koch  <wk@g10code.com>
248         * gpgconf-comp.c: Add --encrypt-to and --default-key to gpg and
249         gpgsm.
251 2007-07-16  Marcus Brinkmann  <marcus@g10code.de>
253         * gpg-connect-agent.c (main): Bail out if write fails.
255 2007-07-05  Marcus Brinkmann  <marcus@g10code.de>
257         * symcryptrun.c (confucius_get_pass): Define orig_codeset if
258         [ENABLE_NLS], not [HAVE_LANGINFO_CODESET].
260 2007-06-26  Werner Koch  <wk@g10code.com>
262         * gpgconf-comp.c (key_matches_user_or_group) [W32]: Implement user
263         name matching.
264         (GPGNAME): New.  Use it instead of "gpg".
265         (gc_component) [W32]:  Disable dirmngr for now.
266         (gc_component_retrieve_options): Ignore components without options.
267         (gc_component_change_options): Ditto.
268         (gc_component_list_options): Ditto.
269         (gc_component_find, gc_component_list_components): Ditto.
271 2007-06-19  Werner Koch  <wk@g10code.com>
273         * gpgconf-comp.c (percent_escape): Rename to my_percent_escape.
274         Changed all callers.
276 2007-06-18  Marcus Brinkmann  <marcus@g10code.de>
278         * gpgconf-comp.c (retrieve_options_from_file): Close LIST_FILE.
279         (copy_file): In error case, save/restore errno.  Close SRC and DST.
280         (gc_component_change_options): Catch error from unlink().  Remove
281         target backup file before rename().
283 2007-06-15  Marcus Brinkmann  <marcus@g10code.de>
285         * gpgconf-comp.c (copy_file) [HAVE_W32_SYSTEM]: New function.
286         (change_options_file, change_options_program) [HAVE_W32_SYSTEM]:
287         Copy backup file.
288         (gc_component_change_options) [HAVE_W32_SYSTEM]: Non-atomic replace.
289         (gc_process_gpgconf_conf): Rename fname to fname_arg and
290         fname_buffer to fname, initialize fname with fname_arg, discarding
291         const qualifier.
293 2007-06-15  Werner Koch  <wk@g10code.com>
295         * Makefile.am (symcryptrun_LDADD): It is LIBICONV and not LIBINCONV.
296         (gpgconf_LDADD, symcryptrun_LDADD): Add W32SOCKLIBS.
298 2007-06-14  Werner Koch  <wk@g10code.com>
300         * symcryptrun.c (main): Setup default socket name for
301         simple-pwquery.
302         (MAP_SPWQ_ERROR_IMPL): New.  Use it for all spwq error returns.
304 2007-06-12  Werner Koch  <wk@g10code.com>
306         * gpgconf-comp.c (gc_process_gpgconf_conf): Replace
307         GNUPG_SYSCONFDIR by a function call.
309         * gpg-connect-agent.c (main): Replace some calls by
310         init_common_subsystems.
311         * gpgconf.c (main): Ditto.
312         * symcryptrun.c (main): Ditto.
314 2007-06-11  Werner Koch  <wk@g10code.com>
316         * symcryptrun.c (main) [W32]: Call pth_init.
317         * gpgconf.c (main) [W32]: Call pth_init
318         * gpg-connect-agent.c (main) [W32]: Call pth_init.
320 2007-06-06  Werner Koch  <wk@g10code.com>
322         * Makefile.am (bin_PROGRAMS) [W32]: Do not build gpgparsemail.
324         * gpgconf-comp.c [W32]: Do not include pwd.h and grp.h.
325         (key_matches_user_or_group) [W32]: For now always return false.
327         * symcryptrun.c (i18n_init): Remove.
328         * gpgconf.c (i18n_init): Remove.
329         * gpg-connect-agent.c (i18n_init): Remove.
331 2007-05-19  Marcus Brinkmann  <marcus@g10code.de>
333         * symcryptrun.c (confucius_get_pass): Free ORIG_CODESET on error.
335 2007-05-08  Werner Koch  <wk@g10code.com>
337         * sockprox.c: New.  It needs to be build manually. By Moritz
338         Schulte.
340 2007-04-20  Werner Koch  <wk@g10code.com>
342         * symcryptrun.c (my_gcry_logger): Removed.
343         (main): Call setup_libgcrypt_logging.
345 2007-04-03  Werner Koch  <wk@g10code.com>
347         * gpgconf-comp.c: Allow changing of --allow-mark-trusted.
349         * gpg-connect-agent.c (main): New option --decode and commands
350         decode and undecode.
351         (read_and_print_response): Implement option.
353 2007-03-20  Werner Koch  <wk@g10code.com>
355         * gpgconf-comp.c (gc_options_gpgsm): Add p12-charset.
357 2007-03-07  Werner Koch  <wk@g10code.com>
359         * applygnupgdefaults: New.
360         * Makefile.am (sbin_SCRIPTS): Add it
362 2007-03-06  Werner Koch  <wk@g10code.com>
364         * gpgconf-comp.c: Include pwd.h and grp.h.
365         (GC_OPT_FLAG_NO_CHANGE): New.
366         (gc_component_change_options): Implement it.
367         (gc_options_gpg_agent): Add options for all ttl values and
368         min-passphrase-length.  Apply new flag to some of them.
369         (gc_process_gpgconf_conf, key_matches_user_or_group): New.
370         (gc_component_change_options): Factor some code out to ..
371         (change_one_value): .. new. 
372         (gc_component_retrieve_options): Allow -1 for COMPONENT to iterate
373         over al components.
374         * gpgconf.c (main): New commands --check-config and
375         --apply-defaults.  Call gc_process_gpgconf_conf.
377 2007-01-31  Werner Koch  <wk@g10code.com>
379         * Makefile.am (symcryptrun_LDADD): Add LIBICONV.
380         (gpgkey2ssh_LDADD): Ditto.
382 2006-12-13  David Shaw  <dshaw@jabberwocky.com>
384         * Makefile.am (gpgsplit_LDADD): Link to LIBINTL if we're using the
385         built-in code.
387 2006-12-07  David Shaw  <dshaw@jabberwocky.com>
389         * Makefile.am: Link to iconv for jnlib dependency.
391 2006-11-23  Werner Koch  <wk@g10code.com>
393         * Makefile.am (gpg_connect_agent_LDADD): Add NETLIBS.
395 2006-11-21  Werner Koch  <wk@g10code.com>
397         * gpgconf-comp.c (list_one_option): Cast print size_t arg.
399 2006-11-17  Werner Koch  <wk@g10code.com>
401         * gpgconf-comp.c: Made disable-keypad a basic option.
403 2006-11-03  Werner Koch  <wk@g10code.com>
405         * symcryptrun.c: Include signal.h and include pth.h only if test
406         asserts that it exists.
408 2006-10-23  Werner Koch  <wk@g10code.com>
410         * gpgconf-comp.c <gpgsm>: Add --cipher-algo.
412 2006-10-20  Werner Koch  <wk@g10code.com>
414         * gpgsm-gencert.sh: Enhanced the main menu. 
416 2006-10-12  Werner Koch  <wk@g10code.com>
418         * Makefile.am (gpg-zip, gpgsplit): Do not install due to a
419         conflict with gpg1.
421 2006-10-11  Werner Koch  <wk@g10code.com>
423         * gpgsm-gencert.sh: Allow generation of card keys.
425 2006-10-08  Werner Koch  <wk@g10code.com>
427         * Makefile.am (gpgkey2ssh_LDADD): Add LIBINTL. Suggested by
428         Andreas Metzler.
430 2006-09-22  Werner Koch  <wk@g10code.com>
432         * no-libgcrypt.c: Changed license to a simple all permissive one.
434 2006-09-20  Werner Koch  <wk@g10code.com>
436         * Makefile.am: Changes to allow parallel make runs.
438 2006-09-12  Werner Koch  <wk@g10code.com>
440         Replaced all call gpg_error_from_errno(errno) by
441         gpg_error_from_syserror().
443         * gpg-connect-agent.c (read_and_print_response): With verbosity
444         level 2 also print comment lines.
446 2006-09-06  Werner Koch  <wk@g10code.com>
448         * gpg-connect-agent.c: Switch everything to new Assuan error code
449         style.
451         * no-libgcrypt.c (out_of_core): Reanmed to ...
452         (out_of_memory): .. this to avoid name clash with util.h.
454 2006-08-21  Werner Koch  <wk@g10code.com>
456         * gpgsplit.c: New. Taken from 1.4. Adjusted to GnuPG2.
458         * Makefile.am (noinst_PROGRAMS): New.
460 2006-06-09  Marcus Brinkmann  <marcus@g10code.de>
462         * Makefile.am (gpgconf_LDADD): Add $(GPG_ERROR_LIBS).
463         (gpgkey2ssh_LDADD): Add ../jnlib/libjnlib.a.
465 2006-05-23  Werner Koch  <wk@g10code.com>
467         * gpgparsemail.c: Include config.h if available
468         (stpcpy): Conditional include it.
470         * gpgconf-comp.c (hextobyte): Removed as it is now availble in
471         jnlib.
473 2005-12-20  Werner Koch  <wk@g10code.com>
475         * gpgconf-comp.c (gc_options_gpg): Add allow-pka-lookup.
477 2005-12-14  Werner Koch  <wk@g10code.com>
479         * Makefile.am (bin_PROGRAMS): Build gpgparsemail.
481         * gpgparsemail.c (pkcs7_begin): New.
482         (parse_message, message_cb): Add support of direct pkcs signatures.
484 2005-10-19  Werner Koch  <wk@g10code.com>
486         * gpgconf-comp.c (gc_options_scdaemon): New option --disable-keypad.
488 2005-09-22  Werner Koch  <wk@g10code.com>
490         * rfc822parse.c (parse_field): Tread Content-Disposition special.
492 2005-10-08  Marcus Brinkmann  <marcus@g10code.de>
494         * Makefile.am (watchgnupg_LDADD): New variable.
496         * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after
497         ../common/libcommon.a.
498         (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD):
499         Likewise.
501 2005-09-29  Marcus Brinkmann  <marcus@g10code.de>
503         * Makefile.am (AM_CFLAGS): Add $(LIBGCRYPT_CFLAGS).
505 2005-09-06  Werner Koch  <wk@g10code.com>
507         * rfc822parse.c, rfc822parse.h:  Changed license to LGPL.
509 2005-08-01  Werner Koch  <wk@g10code.com>
511         * gpgsm-gencert.sh: Allow entering a keygrip to generate a CSR from
512         an existing key.
514 2005-07-21  Werner Koch  <wk@g10code.com>
516         * gpgsm-gencert.sh: Reworked to allow for multiple email addresses
517         as well as DNsanmes and URi.  Present the parameter file before
518         creating the certificate.
520 2005-07-04  Marcus Brinkmann  <marcus@g10code.de>
522         * symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols,
523         use instead constants.
524         (hash_string): New function copied from simple-gettext.c.
525         (confucius_get_pass): Take new argument CACHEID.
526         (confucius_process): Calculate cacheid and pass it to
527         confucius_get_pass.  Clear passphrase from cache if necessary.
529 2005-06-16  Werner Koch  <wk@g10code.com>
531         * gpg-connect-agent.c (read_and_print_response): Made LINELEN a
532         size_t.
534 2005-06-04  Marcus Brinkmann  <marcus@g10code.de>
536         * symcryptrun.c (main): Allow any number of arguments, don't use
537         first argument as input file name.  Pass extra arguments to
538         confucius_main.
539         (confucius_main): Accept new arguments argc and argv and pass them
540         to confucius_process.
541         (confucius_process): Accept new arguments argc and argv and pass
542         them to the confucius process.
544 2005-06-01  Werner Koch  <wk@g10code.com>
546         * symcryptrun.c: Include mkdtemp.h. 
548 2005-05-31  Werner Koch  <wk@g10code.com>
550         * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines.
551         Noted by Ray Link.
553 2005-05-28  Moritz Schulte  <moritz@g10code.com>
555         * gpgkey2ssh.c: New file.
556         * Makefile.am (bin_PROGRAMS): Added gpgkey2ssh.
558 2005-05-20  Werner Koch  <wk@g10code.com>
560         * gpg-connect-agent.c (add_definq, show_definq, clear_definq)
561         (handle_inquire): New.
562         (read_and_print_response): Handle INQUIRE command.
563         (main): Implement control commands.
565 2005-04-21  Werner Koch  <wk@g10code.com>
567         * symcryptrun.c (main): Optionally allow the input file as command
568         line argument.
570         * gpgconf-comp.c: Add gpgsm option disable-trusted-cert-crl-check.
572 2005-04-20  Werner Koch  <wk@g10code.com>
574         * gpgconf-comp.c: Add gpg-agent:disable-scdaemon.
576 2005-04-19  Marcus Brinkmann  <marcus@g10code.de>
578         * symcryptrun.c: Add --input option.
580 2005-04-15  Marcus Brinkmann  <marcus@g10code.de>
582         * symcryptrun.c (TEMP_FAILURE_RETRY): Define if not defined.
584         * symcryptrun.c (remove_file): New function.
585         (confucius_copy_file): Accept new argument PLAIN and shred the
586         file if it is set on error.
588         * Makefile.am: Define symcryptrun make variable depending on
589         BUILD_SYMCRYPTUN.
590         (bin_PROGRAMS): Add ${symcryptrun} instead symcryptrun.
591         (symcryptrun_LDADD): Use $(LIBUTIL_LIBS) instead of -lutil.
593 2005-04-11  Werner Koch  <wk@g10code.com>
595         * symcryptrun.c (confucius_mktmpdir): Changed to use mkdtmp(3).
597 2005-04-11  Marcus Brinkmann  <marcus@g10code.de>
599         * symcryptrun.c: Implement config file parsing.
600         
601         * Makefile.am (bin_PROGRAMS): Add symcryptrun.
602         (symcryptrun_SOURCES, symcryptrun_LDADD): New variables.
603         * symcryptrun.c: New file.
605 2005-03-31  Werner Koch  <wk@g10code.com>
607         * gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'.
609 2005-03-09  Werner Koch  <wk@g10code.com>
611         * gpgconf-comp.c <dirmngr>: Add honor-http-proxy.
613 2005-02-25  Werner Koch  <wk@g10code.com>
615         * no-libgcrypt.c (gcry_strdup): New.
617 2005-02-24  Werner Koch  <wk@g10code.com>
619         * gpg-connect-agent.c: New.
620         * Makefile.am: Add it. 
622 2004-12-21  Werner Koch  <wk@g10code.com>
624         * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute
625         pathnames with a drive letter.
627 2004-12-15  Werner Koch  <wk@g10code.com>
629         * Makefile.am (bin_PROGRAMS) [W32]: Do not build watchgnupg.
631         * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: No way yet to
632         send a signal.  Disable.
633         (change_options_file, change_options_program) [W32]: No link(2),
634         so we disable it.
635         (gc_component_change_options): Use rename instead of link.
637 2004-12-13  Werner Koch  <wk@g10code.com>
639         * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
641 2004-11-24  Werner Koch  <wk@g10code.com>
643         * gpgconf-comp.c <dirmngr>: Add --ignore-http-dp, --ignore-ldap-dp
644         and --ignore-ocsp-service-url.
646 2004-11-23  Werner Koch  <wk@g10code.com>
648         * gpgconf-comp.c <dirmngr>: Add the proxy options.
649         <gpgsm>: Add --prefer-system-daemon.
651 2004-11-11  Werner Koch  <wk@g10code.com>
653         * watchgnupg.c (main): Fixed test for read error.
655 2004-10-22  Werner Koch  <wk@g10code.com>
657         * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh
659         * gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF.
661 2004-10-01  Werner Koch  <wk@g10code.com>
663         * gpgconf-comp.c: Made all strings for --log-file read the same.
664         
665 2004-10-01  Werner Koch  <wk@g10code.com>
667         * gpgconf-comp.c (my_dgettext): Also switch codeset and directory
668         for the other used domains (i.e. dirmngr).
670         * gpgconf.c (main): Fixed translation markers.
672 2004-09-30  Werner Koch  <wk@g10code.com>
674         * gpgconf.c (i18n_init): Always use LC_ALL.
676         * Makefile.am: Adjusted for gettext 0.14.
678 2004-09-29  Werner Koch  <wk@g10code.com>
680         * gpgconf-comp.c: Made the entries fro GROUPs translatable.
681         Include i18n.h.
682         (my_dgettext): Hack to use the gnupg2 domain.
684 2004-08-09  Moritz Schulte  <moritz@g10code.com>
686         * gpgsm-gencert.sh: New file.
688 2004-06-16  Werner Koch  <wk@gnupg.org>
690         * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.
692 2004-06-14  Werner Koch  <wk@gnupg.org>
694         * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New.
696         * gpgconf-comp.c (retrieve_options_from_program) 
697         (retrieve_options_from_file, change_options_file) 
698         (change_options_program, gc_component_change_options): Replaced
699         getline by read_line and test for allocation failure.
701 2004-05-21  Marcus Brinkmann  <marcus@g10code.de>
703         * gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its
704         only option "max-replies" into LDAP group.
705         (gc_component): Change description of dirmngr to "Directory
706         Manager".
708         * gpgconf-comp.c (gc_component_change_options): Move the
709         per-process backup file into a standard location.
711 2004-05-03  Werner Koch  <wk@gnupg.org>
713         * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.
715 2004-04-30  Werner Koch  <wk@gnupg.org>
717         * gpgconf-comp.c: Added more runtime flags for the gpg-agent
718         backend.
720 2004-04-29  Marcus Brinkmann  <marcus@g10code.de>
722         * gpgconf-comp.c (change_options_program): Turn on utf8-strings in
723         the gpgconf specific part of the config file for the GnuPG
724         backend.
726 2004-04-28  Werner Koch  <wk@gnupg.org>
728         * gpgconf-comp.c: Add --ocsp-signer for the dirmngr backend.
730 2004-04-20  Marcus Brinkmann  <marcus@g10code.de>
732         * gpgconf-comp.c (gc_options_gpg_agent): Change type of
733         ignore-cache-for-signing option to GC_ARG_TYPE_NONE.
735 2004-04-07  Werner Koch  <wk@gnupg.org>
737         * gpgconf-comp.c (my_dgettext): Switch the codeset once to utf-8.
738         Allow building with out NLS.
740 2004-03-23  Marcus Brinkmann  <marcus@g10code.de>
742         * gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for
743         "LDAP Server".
744         (change_options_file): Remove assertion that tests that this flag
745         is not present.  Handle an empty string in OPTION->new_value.
747         * gpgconf.c (main): Remove obsolete warning.
749 2004-03-23  Werner Koch  <wk@gnupg.org>
751         * gpgconf-comp.c (gc_options_gpg): New.
752         (gc_component_t, gc_component): Add GC_BACKEND_GPG.
753         (gc_options_dirmngr): Add allow-ocsp.
755 2004-03-23  Marcus Brinkmann  <marcus@g10code.de>
757         * gpgconf-comp.c (gc_flag): Add missing flags.
759         * gpgconf-comp.c: Include <signal.h>.
760         (gc_backend): Add new member runtime_change.
761         (gpg_agent_runtime_change): New function.
762         (gc_component_change_options): New variable runtime.  Initialize
763         it.  If an option is changed that has the GC_OPT_FLAG_RUNTIME bit
764         set, also set the corresponding runtime variable.  Finally, call
765         the runtime_change callback of the backend if needed.   
767 2004-03-16  Werner Koch  <wk@gnupg.org>
769         * gpgconf-comp.c (gc_options_gpg_agent): Implemented.
770         (gc_options_gpgsm, gc_options_scdaemon): Implemented.
771         (gc_backend_t): Add GC_BACKEND_SCDAEMON.
773 2004-03-12  Marcus Brinkmann  <marcus@g10code.de>
775         * gpgconf-comp.c (gc_component_change_options): Set the filenames
776         of the option's backend, not of the component.
777         Also use GC_BACKEND_NR, not GC_COMPONENT_NR.
779 2004-03-09  Werner Koch  <wk@gnupg.org>
781         * gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we
782         don't want to clutter our code with system dependent stuff.
784 2004-03-08  Marcus Brinkmann  <marcus@g10code.de>
786         * gpgconf-comp.c (retrieve_options_from_file): Quote each string
787         in the list, not only the first.
789 2004-02-26  Marcus Brinkmann  <marcus@g10code.de>
791         * gpgconf-comp.c (gc_component_list_options): Do not print empty
792         groups.
794         * gpgconf-comp.c (option_check_validity): Check if option is
795         active.
796         (change_options_file): Implement.
798         * gpgconf-comp.c (retrieve_options_from_program): Remove broken
799         string handling.
801         * gpgconf-comp.c (change_options_program): Support all types of
802         options, including list types.
804         * README.gpgconf: Fix description of arguments.
805         * gpgconf-comp.c (option_check_validity): Rewritten to properly
806         support optional arguments in lists.
808         * README.gpgconf: Add info about optional arg and arg type 0.
809         * gpgconf-comp.c (gc_component_change_options): Parse list of
810         arg type 0 options.
811         (option_check_validity): Add new argument NEW_VALUE_NR.  Perform
812         rigorous validity checks.
813         (change_options_program): Disable an option also if we have a new
814         value for it.
816 2004-02-25  Marcus Brinkmann  <marcus@g10code.de>
818         * gpgconf-comp.c (gc_component_list_options): Correct output for
819         lists of arg type none.
820         (struct gc_option): Add new member new_flags.
821         (option_check_validity): Check OPTION->new_flags beside
822         OPTION->new_value.  Add new argument FLAGS.
823         (gc_component_change_options): Support default flag correctly.
824         (change_options_program): Likewise.
826 2004-02-24  Marcus Brinkmann  <marcus@g10code.de>
828         * README.gpgconf: Revert last change.  Add new flags "default",
829         "default desc" and "no arg desc".  Add new field ARGDEF.  Add new
830         field FLAG to backend interface.
831         * gpgconf-comp.c (struct gc_option): Make flags of type unsigned
832         long.
833         (gc_component_list_options): Adjust type for flags.
834         Add default argument field.
835         (retrieve_options_from_program): Use "1" as value for non-option
836         arguments, not "Y".
837         (gc_component_change_options): Read in flags from input.
839 2004-02-23  Marcus Brinkmann  <marcus@g10code.de>
841         * README.gpgconf: Change meaning of type 0 options value if it is
842         the empty string or "0".
844         * gpgconf.h (struct): Add member runtime.
845         * gpgconf.c: Add new option oRuntime.
846         (main): Same here.
848         * gpgconf-comp.c (hextobyte): New function.
849         (percent_deescape): New function.
850         (get_config_pathname): Percent deescape pathname if taken from
851         option (default) value.  Use default value only if it exists and
852         is not empty.  Use empty string otherwise.  Don't include leading
853         quote in pathname.
854         (change_options_program): Percent deescape string before writing
855         it out.
856         
857         * gpgconf-comp.c (gc_component_list_options): Do not skip groups
858         on output.
860 2004-02-18  Werner Koch  <wk@gnupg.org>
862         * gpgconf-comp.c: Added empty components for gpgsm and scdaemon.
864 2004-02-12  Werner Koch  <wk@gnupg.org>
866         * watchgnupg.c (main): Implement option "--".
867         (print_version): New.
869         * Makefile.am: Include cmacros.am for common flags.
871 2004-02-03  Werner Koch  <wk@gnupg.org>
873         * addgnupghome: Try to use getent, so that it also works for NIS
874         setups.
876 2004-01-31  Marcus Brinkmann  <marcus@g10code.de>
878         * gpgconf-comp.c: Some bug fixes, parse only defaults from the
879         program, and read the current values from the configuration file
880         directly.
882 2004-01-30  Marcus Brinkmann  <marcus@g10code.de>
884         * gpgconf-comp.c (gc_error): New function, use it instead of
885         error() throughout.
887         * gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and
888         gnupg_get_time, fix error() invocation and use getline()
889         consistently.
890         
891 2004-01-30  Werner Koch  <wk@gnupg.org>
893         * addgnupghome: Also set the group of copied files. 
895 2004-01-30  Werner Koch  <wk@gnupg.org>
897         * Makefile.am (sbin_SCRIPTS): New, to install addgnupghome.
898         (EXTRA_DIST): Added rfc822parse.c rfc822parse.h gpgparsemail.c
899         which might be useful for debugging.
901 2004-01-29  Werner Koch  <wk@gnupg.org>
903         * addgnupghome: New.
905 2004-01-29  Marcus Brinkmann  <marcus@g10code.de>
907         * gpgconf-list.c: File removed.
908         * README.gpgconf: New file.
909         * gpgconf-comp.c: New file.
910         * Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add
911         gpgconf-comp.c.
913 2004-01-16  Werner Koch  <wk@gnupg.org>
915         * watchgnupg.c (main): Need to use FD_ISSET for the client
916         descriptors too; aiiih.  Set the listening socket to non-blocking.
918 2004-01-10  Werner Koch  <wk@gnupg.org>
920         * Makefile.am: Use GPG_ERROR_CFLAGS
921         
922 2004-01-05  Werner Koch  <wk@gnupg.org>
924         * Manifest: New.
925         * gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now.
926         * no-libgcrypt.c: New.
927         * Makefile.am: Add above.
929 2003-12-23  Werner Koch  <wk@gnupg.org>
931         * Makefile.am: New.
932         * watchgnupg.c: New.
935  Copyright 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
937  This file is free software; as a special exception the author gives
938  unlimited permission to copy and/or distribute it, with or without
939  modifications, as long as this notice is preserved.
941  This file is distributed in the hope that it will be useful, but
942  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
943  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.