Initialize opt.session_env.
[gnupg.git] / tools / ChangeLog
blob7a14076920706206dfdcbaf296d746baf3c50462
1 2009-11-04  Werner Koch  <wk@g10code.com>
3         * gpg-connect-agent.c (read_and_print_response): Add arg WITHHASH.
4         (main): Pass true for WITHHASH for the HELP command.
6 2009-09-23  Marcus Brinkmann  <marcus@g10code.de>
8         * gpg-connect-agent.c (getinfo_pid_cb, read_and_print_response)
9         (main): Update to new Assuan API.
11 2009-07-21  Werner Koch  <wk@g10code.com>
13         * gpgsplit.c (my_strusage): Remove i18n stuff.
15 2009-07-07  Werner Koch  <wk@g10code.com>
17         * gpg-connect-agent.c (start_agent): Adjust for changed args of
18         send_pinentry_environment.
20 2009-06-30  Werner Koch  <wk@g10code.com>
22         * ccidmon.c (parse_line_sniffusb): Take also TAB as delimiter.
24 2009-06-29  Werner Koch  <wk@g10code.com>
26         * ccidmon.c (parse_line_sniffusb): New.
27         (main): Add option --sniffusb.
29 2009-06-08  Werner Koch  <wk@g10code.com>
31         * gpgconf.c (main): Call gnupg_reopen_std.  Should fix bug#1072.
33 2009-05-19  Werner Koch  <wk@g10code.com>
35         * watchgnupg.c: Include jnlib/mischelp.h if required.
36         (main): Use SUN_LEN.
38 2009-04-17  Werner Koch  <wk@g10code.com>
40         * ccidmon.c: New.
42 2009-03-03  Werner Koch  <wk@g10code.com>
44         * gpgconf.c: New command --reload.
46         * gpgconf-comp.c (gc_component_reload): New.
48 2009-03-02  Werner Koch  <wk@g10code.com>
50         * gpgconf-comp.c (scdaemon_runtime_change): Killsc d only if it is
51         not running.
53 2009-02-27  Werner Koch  <wk@g10code.com>
55         * gpgconf-comp.c (gpg_agent_runtime_change): Declare static.
56         (scdaemon_runtime_change): New.
57         (gc_backend_scdaemon): Register new function.
58         (gc_options_scdaemon): Make most options runtime changable.
60 2009-01-20  Werner Koch  <wk@g10code.com>
62         * gpgconf.c (main): Print more directories.
64 2008-12-09  Werner Koch  <wk@g10code.com>
66         * gpg-check-pattern.c (main): Call i18n_init before
67         init_common_subsystems.
68         * gpg-connect-agent.c (main): Ditto.
69         * gpgconf.c (main): Ditto.
70         * symcryptrun.c (main): Ditto.
72 2008-12-08  Werner Koch  <wk@g10code.com>
74         * gpgkey2ssh.c (main): Change order of output for RSA. Change name
75         of DSA identifier.  Reported by Daniel Kahn Gillmor.  This is
76         bug#901.
78 2008-12-05  Werner Koch  <wk@g10code.com>
80         * gpg-connect-agent.c (opts): Use ARGPARSE_ macros.
81         (start_agent) [W32]: Start agent if not running.
83 2008-12-03  Werner Koch  <wk@g10code.com>
85         * gpgconf-comp.c <scdaemon>: Add option --card-timeout.  Remove
86         unused option --disable-opensc.
88 2008-10-20  Werner Koch  <wk@g10code.com>
90         * gpgsplit.c (write_part): Remove unused arg FNAME.  Change caller.
91         (do_split): Ditto.
93         * no-libgcrypt.c (gcry_control): Mark unused arg.
94         * gpg-connect-agent.c (do_recvfd): Ditto.
95         * gpgparsemail.c (mime_signed_begin, mime_encrypted_begin): Ditto.
96         (pkcs7_begin): Ditto.
98 2008-10-01  Werner Koch  <wk@g10code.com>
100         * gpg-connect-agent.c (main): New command datafile.
101         (read_and_print_response): Print to the defined datafile.
103 2008-09-30  Werner Koch  <wk@g10code.com>
105         * gpgconf.c (main) <aListDirs>: Print the bindir.
107 2008-08-06  Marcus Brinkmann  <marcus@g10code.de>
109         * gpgconf-comp.c (gc_options_gpgsm): Change type of keyserver
110         option to GC_ARG_TYPE_LDAP_SERVER.
112         * gpgconf-comp.c (retrieve_options_from_file): Transfer the
113         NO_CHANGE flag from the file name option to the list option.
115 2008-06-19  Werner Koch  <wk@g10code.com>
117         * gpgconf-comp.c (GC_ARG_TYPE_ALIAS_LIST): New.
118         (gc_arg_type): Add fallback type.
119         (gc_options_gpg): Add option "group".
121 2008-06-12  Marcus Brinkmann  <marcus@g10code.de>
123         * gpgconf-comp.c (gc_options_gpgsm): Add option keyserver.
125 2008-05-26  Marcus Brinkmann  <marcus@g10code.de>
127         * gpgconf-comp.c: Replace pathname by filename everywhere.
129         * gpgconf.c (enum cmd_and_opt_values): Add aListDirs.
130         (opts): Add aListDirs option.
131         (main): Handle aListDirs.
132         * gpgconf.h (gc_percent_escape): New declaration.
133         * gpgconf-comp.c (my_percent_escape): Make non-static and rename
134         to ...
135         (gc_percent_escape): ... this.  Change all callers.
136         
137 2008-05-26  Werner Koch  <wk@g10code.com>
139         * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: Issue
140         "reloadagent" command to gpg-agent.
142         * gpg-connect-agent.c (main): Allow server command on the command
143         line.
145 2008-05-20  Marcus Brinkmann  <marcus@g10code.de>
147         * gpgconf.h (gc_component_check_programs): Rename to ...
148         (gc_check_programs): ... this.
149         (gc_component_change_options): Add argument OUT.
150         (gc_component_check_options): New function.
151         * gpgconf.c (enum cmd_and_opt_values): New option aCheckOptions.
152         (opts): Add new option aCheckOptions (aka --check-options).
153         (main): Handle new option aCheckOptions.
154         * gpgconf-comp.c (gc_component_check_programs): Rename to ...
155         (gc_check_programs): ... this.  Refactor core of it to ...
156         (gc_component_check_options): ... this new function.
157         (gc_component_change_options): Add new argument OUT.  Externally
158         verify all changes.  Implement option --dry-run.
160 2008-05-09  Werner Koch  <wk@g10code.com>
162         * gpgconf-comp.c (my_dgettext) [USE_SIMPLE_GETTEXT]:  Hack to
163         parly support translations.
165 2008-04-08  Werner Koch  <wk@g10code.com>
167         * gpgconf-comp.c (gc_options_gpg): Add --auto-key-locate.
169 2008-03-26  Werner Koch  <wk@g10code.com>
171         * make-dns-cert.c: Include unistd.h.  Use config.h if requested.
172         (cert_key): Protect read against EINTR.
173         (main): Print SVN revision for standalone version.
175 2008-03-05  Werner Koch  <wk@g10code.com>
177         * gpg-connect-agent.c (arithmetic_op): Add logical not, or and and.
178         (get_var_ext): Add functions errcode, errsource and errstring.
179         (read_and_print_response): Store server reply in $? variable.
180         (main): Implement IF command.
182 2008-02-27  Marcus Brinkmann  <marcus@g10code.de>
184         * gpgconf-comp.c (option_check_validity): For now, error out on
185         empty strings.
186         (enum): Add GC_ARG_TYPE_PUB_KEY and GC_ARG_TYPE_SEC_KEY.
188 2008-02-01  Marcus Brinkmann  <marcus@g10code.de>
190         * gpgconf-comp.c (gc_component_list_options): Fix memcpy.
191         Reported by Marc Mutz.
193 2008-01-22  Werner Koch  <wk@g10code.com>
195         * gpgconf-comp.c: Use gnupg domain for honor-http-proxy.  Make
196         "LDAP server list" group title translatable.
198 2008-01-17  Marcus Brinkmann  <marcus@g10code.de>
200         * gpgconf-comp.c (change_options_program): Strip duplicated
201         utf8-strings entries for gnupg backend.  Don't create them either.
203 2007-12-10  Marcus Brinkmann  <marcus@g10code.de>
205         * gpgconf-comp.c (gc_component_list_options): Fix up expert level
206         of group.
208 2007-12-04  Marcus Brinkmann  <marcus@g10code.de>
210         * gpgconf-comp.c (gc_component_list_components): Do not print a
211         trailing semi-colon to ensure forward compatibility, as this would
212         indicate another empty field.
213         (gc_process_gpgconf_conf): Likewise.
215 2007-11-15  Werner Koch  <wk@g10code.com>
217         * gpg-connect-agent.c (start_agent): Adjust changed
218         send_pinentry_environment.
220 2007-10-24  Werner Koch  <wk@g10code.com>
222         * gpg-connect-agent.c (substitute_line): Restore temporary nul
223         marker.
224         (main): Add /while command.
226 2007-10-23  Werner Koch  <wk@g10code.com>
228         * gpgconf-comp.c (gc_process_gpgconf_conf): Add arg
229         LISTFP.  Changed all callers.
230         * gpgconf.h: Add gc_error.
231         * gpgconf.c: Add command --list-config.
232         (get_outfp): New.
233         (main): Make --output work.
235         * gpgconf-comp.c (gc_options_gpg_agent): Replace accidently used
236         GC_BACKEND_SCDAEMON.  We should consider to create these tables
237         from plain files.
239 2007-10-22  Werner Koch  <wk@g10code.com>
241         * gpgconf-comp.c (retrieve_options_from_program): Replace use of
242         popen by our gnupg_spawn_process_fd.  This is required because
243         popen under Windows can't handle long filenames.
245 2007-10-19  Werner Koch  <wk@g10code.com>
247         * symcryptrun.c (confucius_get_pass): Use utf8 switching functions.
249         * gpg-connect-agent.c (get_var_ext): New.
250         (substitute_line): Use it.
251         (assign_variable): Implement /slet in terms of get_var_ext.
252         (main): New option -s/--subst.
253         (add_definq): Add arg IS_VAR.  Change all callers.
254         (main): Add command /definq.
255         (handle_inquire): Implement new command.
256         (substitute_line_copy): New.
257         (unescape_string, unpercent_string): New.
258         * no-libgcrypt.c (gcry_set_outofcore_handler) 
259         (gcry_set_fatalerror_handler, gcry_set_log_handler): New.
260         * Makefile.am (gpg_connect_agent_LDADD): Link to libreadline.
262         * gpgconf-comp.c (retrieve_options_from_file): Don't call fclose
263         with NULL.  Fixes bug 842.
265 2007-10-12  Werner Koch  <wk@g10code.com>
267         * gpg-connect-agent.c (substitute_line): Allow ${foo} syntax.
269 2007-10-11  Werner Koch  <wk@g10code.com>
271         * gpg-connect-agent.c (get_var): Expand environment variables.
272         Suggested by Marc Mutz.
273         (set_var): Return the value.
274         (assign_variable): Add arg syslet.
275         (main): New command /slet.
276         (gnu_getcwd): New.
277         (assign_variable): Add tag cwd, and *dir.
279 2007-10-02  Werner Koch  <wk@g10code.com>
281         * no-libgcrypt.c (gcry_malloc_secure): New.
283         * gpg-connect-agent.c (set_var, set_int_var, get_var)
284         (substitute_line, show_variables, assign_variable)
285         (do_open, do_close, do_showopen): New.
286         (main): Add new commands /nosubst, /subst, /let, /showvar, /open,
287         /close and /showopen.
288         (main): New commands /run and /bye.
290 2007-10-01  Werner Koch  <wk@g10code.com>
292         * gpg-connect-agent.c (do_sendfd): Use INT2FD for assuan_sendfd.
294 2007-09-26  Werner Koch  <wk@g10code.com>
296         * gpg-connect-agent.c (main): Print the first response from the
297         server.
299 2007-09-14  Werner Koch  <wk@g10code.com>
301         * gpgconf-comp.c: Make a string translatable.
303 2007-09-04  Moritz Schulte  <moritz@g10code.com>
305         * gpgsm-gencert.sh: Use printf instead of echo.
307 2007-09-04  Moritz Schulte  <moritz@g10code.com>
309         * gpgkey2ssh.c: Include sysutils.h so that gnupg_tmpfile() is
310         declared.
312 2007-08-31  Werner Koch  <wk@g10code.com>
314         * gpgparsemail.c: Support PGP/MIME signed messages.
316         * gpgconf-comp.c (gc_component_list_components): List the programs
317         names.
319 2007-08-29  Werner Koch  <wk@g10code.com>
321         * gpgconf.c: New command --check-programs.
322         * gpgconf-comp.c (gc_component_check_programs): New.
323         (gc_backend): Add member MODULE_NAME and add these module names.
324         (retrieve_options_from_program): Use module name so that we use an
325         absolute file name and don't rely on $PATH.
326         (collect_error_output): New.
327         * no-libgcrypt.c (gcry_control): New.
329 2007-08-28  Werner Koch  <wk@g10code.com>
331         * gpgconf-comp.c <gpg-agent>: Add options --max-passphrase-days
332         and --enable-passphrase-history.
334 2007-08-27  Werner Koch  <wk@g10code.com>
336         * gpg-check-pattern.c: New
337         * Makefile.am (libexec_PROGRAMS): Add unless DISABLE_REGEX.
339 2007-08-24  Werner Koch  <wk@g10code.com>
341         * gpgconf-comp.c <gpg-agent>: Add options --check-passphrase-pattern,
342         --min-passphrase-nonalpha and --enforce-passphrase-constraints and
343         move them into a new "passphrase policy" group.
344         (gc_component) [W32]: Enable dirmngr.
346 2007-08-21  Werner Koch  <wk@g10code.com>
348         * gpgkey2ssh.c (key_to_blob): Use gnupg_tmpfile().
350 2007-08-02  Werner Koch  <wk@g10code.com>
352         * gpgconf-comp.c: Factor the public GC_OPT_FLAG constants out and
353         include gc-opt-flags.h.
355 2007-07-17  Werner Koch  <wk@g10code.com>
357         * gpgconf-comp.c: Add --encrypt-to and --default-key to gpg and
358         gpgsm.
360 2007-07-16  Marcus Brinkmann  <marcus@g10code.de>
362         * gpg-connect-agent.c (main): Bail out if write fails.
364 2007-07-05  Marcus Brinkmann  <marcus@g10code.de>
366         * symcryptrun.c (confucius_get_pass): Define orig_codeset if
367         [ENABLE_NLS], not [HAVE_LANGINFO_CODESET].
369 2007-06-26  Werner Koch  <wk@g10code.com>
371         * gpgconf-comp.c (key_matches_user_or_group) [W32]: Implement user
372         name matching.
373         (GPGNAME): New.  Use it instead of "gpg".
374         (gc_component) [W32]:  Disable dirmngr for now.
375         (gc_component_retrieve_options): Ignore components without options.
376         (gc_component_change_options): Ditto.
377         (gc_component_list_options): Ditto.
378         (gc_component_find, gc_component_list_components): Ditto.
380 2007-06-19  Werner Koch  <wk@g10code.com>
382         * gpgconf-comp.c (percent_escape): Rename to my_percent_escape.
383         Changed all callers.
385 2007-06-18  Marcus Brinkmann  <marcus@g10code.de>
387         * gpgconf-comp.c (retrieve_options_from_file): Close LIST_FILE.
388         (copy_file): In error case, save/restore errno.  Close SRC and DST.
389         (gc_component_change_options): Catch error from unlink().  Remove
390         target backup file before rename().
392 2007-06-15  Marcus Brinkmann  <marcus@g10code.de>
394         * gpgconf-comp.c (copy_file) [HAVE_W32_SYSTEM]: New function.
395         (change_options_file, change_options_program) [HAVE_W32_SYSTEM]:
396         Copy backup file.
397         (gc_component_change_options) [HAVE_W32_SYSTEM]: Non-atomic replace.
398         (gc_process_gpgconf_conf): Rename fname to fname_arg and
399         fname_buffer to fname, initialize fname with fname_arg, discarding
400         const qualifier.
402 2007-06-15  Werner Koch  <wk@g10code.com>
404         * Makefile.am (symcryptrun_LDADD): It is LIBICONV and not LIBINCONV.
405         (gpgconf_LDADD, symcryptrun_LDADD): Add W32SOCKLIBS.
407 2007-06-14  Werner Koch  <wk@g10code.com>
409         * symcryptrun.c (main): Setup default socket name for
410         simple-pwquery.
411         (MAP_SPWQ_ERROR_IMPL): New.  Use it for all spwq error returns.
413 2007-06-12  Werner Koch  <wk@g10code.com>
415         * gpgconf-comp.c (gc_process_gpgconf_conf): Replace
416         GNUPG_SYSCONFDIR by a function call.
418         * gpg-connect-agent.c (main): Replace some calls by
419         init_common_subsystems.
420         * gpgconf.c (main): Ditto.
421         * symcryptrun.c (main): Ditto.
423 2007-06-11  Werner Koch  <wk@g10code.com>
425         * symcryptrun.c (main) [W32]: Call pth_init.
426         * gpgconf.c (main) [W32]: Call pth_init
427         * gpg-connect-agent.c (main) [W32]: Call pth_init.
429 2007-06-06  Werner Koch  <wk@g10code.com>
431         * Makefile.am (bin_PROGRAMS) [W32]: Do not build gpgparsemail.
433         * gpgconf-comp.c [W32]: Do not include pwd.h and grp.h.
434         (key_matches_user_or_group) [W32]: For now always return false.
436         * symcryptrun.c (i18n_init): Remove.
437         * gpgconf.c (i18n_init): Remove.
438         * gpg-connect-agent.c (i18n_init): Remove.
440 2007-05-19  Marcus Brinkmann  <marcus@g10code.de>
442         * symcryptrun.c (confucius_get_pass): Free ORIG_CODESET on error.
444 2007-05-08  Werner Koch  <wk@g10code.com>
446         * sockprox.c: New.  It needs to be build manually. By Moritz
447         Schulte.
449 2007-04-20  Werner Koch  <wk@g10code.com>
451         * symcryptrun.c (my_gcry_logger): Removed.
452         (main): Call setup_libgcrypt_logging.
454 2007-04-03  Werner Koch  <wk@g10code.com>
456         * gpgconf-comp.c: Allow changing of --allow-mark-trusted.
458         * gpg-connect-agent.c (main): New option --decode and commands
459         decode and undecode.
460         (read_and_print_response): Implement option.
462 2007-03-20  Werner Koch  <wk@g10code.com>
464         * gpgconf-comp.c (gc_options_gpgsm): Add p12-charset.
466 2007-03-07  Werner Koch  <wk@g10code.com>
468         * applygnupgdefaults: New.
469         * Makefile.am (sbin_SCRIPTS): Add it
471 2007-03-06  Werner Koch  <wk@g10code.com>
473         * gpgconf-comp.c: Include pwd.h and grp.h.
474         (GC_OPT_FLAG_NO_CHANGE): New.
475         (gc_component_change_options): Implement it.
476         (gc_options_gpg_agent): Add options for all ttl values and
477         min-passphrase-length.  Apply new flag to some of them.
478         (gc_process_gpgconf_conf, key_matches_user_or_group): New.
479         (gc_component_change_options): Factor some code out to ..
480         (change_one_value): .. new. 
481         (gc_component_retrieve_options): Allow -1 for COMPONENT to iterate
482         over al components.
483         * gpgconf.c (main): New commands --check-config and
484         --apply-defaults.  Call gc_process_gpgconf_conf.
486 2007-01-31  Werner Koch  <wk@g10code.com>
488         * Makefile.am (symcryptrun_LDADD): Add LIBICONV.
489         (gpgkey2ssh_LDADD): Ditto.
491 2006-12-13  David Shaw  <dshaw@jabberwocky.com>
493         * Makefile.am (gpgsplit_LDADD): Link to LIBINTL if we're using the
494         built-in code.
496 2006-12-07  David Shaw  <dshaw@jabberwocky.com>
498         * Makefile.am: Link to iconv for jnlib dependency.
500 2006-11-23  Werner Koch  <wk@g10code.com>
502         * Makefile.am (gpg_connect_agent_LDADD): Add NETLIBS.
504 2006-11-21  Werner Koch  <wk@g10code.com>
506         * gpgconf-comp.c (list_one_option): Cast print size_t arg.
508 2006-11-17  Werner Koch  <wk@g10code.com>
510         * gpgconf-comp.c: Made disable-keypad a basic option.
512 2006-11-03  Werner Koch  <wk@g10code.com>
514         * symcryptrun.c: Include signal.h and include pth.h only if test
515         asserts that it exists.
517 2006-10-23  Werner Koch  <wk@g10code.com>
519         * gpgconf-comp.c <gpgsm>: Add --cipher-algo.
521 2006-10-20  Werner Koch  <wk@g10code.com>
523         * gpgsm-gencert.sh: Enhanced the main menu. 
525 2006-10-12  Werner Koch  <wk@g10code.com>
527         * Makefile.am (gpg-zip, gpgsplit): Do not install due to a
528         conflict with gpg1.
530 2006-10-11  Werner Koch  <wk@g10code.com>
532         * gpgsm-gencert.sh: Allow generation of card keys.
534 2006-10-08  Werner Koch  <wk@g10code.com>
536         * Makefile.am (gpgkey2ssh_LDADD): Add LIBINTL. Suggested by
537         Andreas Metzler.
539 2006-09-22  Werner Koch  <wk@g10code.com>
541         * no-libgcrypt.c: Changed license to a simple all permissive one.
543 2006-09-20  Werner Koch  <wk@g10code.com>
545         * Makefile.am: Changes to allow parallel make runs.
547 2006-09-12  Werner Koch  <wk@g10code.com>
549         Replaced all call gpg_error_from_errno(errno) by
550         gpg_error_from_syserror().
552         * gpg-connect-agent.c (read_and_print_response): With verbosity
553         level 2 also print comment lines.
555 2006-09-06  Werner Koch  <wk@g10code.com>
557         * gpg-connect-agent.c: Switch everything to new Assuan error code
558         style.
560         * no-libgcrypt.c (out_of_core): Reanmed to ...
561         (out_of_memory): .. this to avoid name clash with util.h.
563 2006-08-21  Werner Koch  <wk@g10code.com>
565         * gpgsplit.c: New. Taken from 1.4. Adjusted to GnuPG2.
567         * Makefile.am (noinst_PROGRAMS): New.
569 2006-06-09  Marcus Brinkmann  <marcus@g10code.de>
571         * Makefile.am (gpgconf_LDADD): Add $(GPG_ERROR_LIBS).
572         (gpgkey2ssh_LDADD): Add ../jnlib/libjnlib.a.
574 2006-05-23  Werner Koch  <wk@g10code.com>
576         * gpgparsemail.c: Include config.h if available
577         (stpcpy): Conditional include it.
579         * gpgconf-comp.c (hextobyte): Removed as it is now availble in
580         jnlib.
582 2005-12-20  Werner Koch  <wk@g10code.com>
584         * gpgconf-comp.c (gc_options_gpg): Add allow-pka-lookup.
586 2005-12-14  Werner Koch  <wk@g10code.com>
588         * Makefile.am (bin_PROGRAMS): Build gpgparsemail.
590         * gpgparsemail.c (pkcs7_begin): New.
591         (parse_message, message_cb): Add support of direct pkcs signatures.
593 2005-10-19  Werner Koch  <wk@g10code.com>
595         * gpgconf-comp.c (gc_options_scdaemon): New option --disable-keypad.
597 2005-09-22  Werner Koch  <wk@g10code.com>
599         * rfc822parse.c (parse_field): Tread Content-Disposition special.
601 2005-10-08  Marcus Brinkmann  <marcus@g10code.de>
603         * Makefile.am (watchgnupg_LDADD): New variable.
605         * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after
606         ../common/libcommon.a.
607         (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD):
608         Likewise.
610 2005-09-29  Marcus Brinkmann  <marcus@g10code.de>
612         * Makefile.am (AM_CFLAGS): Add $(LIBGCRYPT_CFLAGS).
614 2005-09-06  Werner Koch  <wk@g10code.com>
616         * rfc822parse.c, rfc822parse.h:  Changed license to LGPL.
618 2005-08-01  Werner Koch  <wk@g10code.com>
620         * gpgsm-gencert.sh: Allow entering a keygrip to generate a CSR from
621         an existing key.
623 2005-07-21  Werner Koch  <wk@g10code.com>
625         * gpgsm-gencert.sh: Reworked to allow for multiple email addresses
626         as well as DNsanmes and URi.  Present the parameter file before
627         creating the certificate.
629 2005-07-04  Marcus Brinkmann  <marcus@g10code.de>
631         * symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols,
632         use instead constants.
633         (hash_string): New function copied from simple-gettext.c.
634         (confucius_get_pass): Take new argument CACHEID.
635         (confucius_process): Calculate cacheid and pass it to
636         confucius_get_pass.  Clear passphrase from cache if necessary.
638 2005-06-16  Werner Koch  <wk@g10code.com>
640         * gpg-connect-agent.c (read_and_print_response): Made LINELEN a
641         size_t.
643 2005-06-04  Marcus Brinkmann  <marcus@g10code.de>
645         * symcryptrun.c (main): Allow any number of arguments, don't use
646         first argument as input file name.  Pass extra arguments to
647         confucius_main.
648         (confucius_main): Accept new arguments argc and argv and pass them
649         to confucius_process.
650         (confucius_process): Accept new arguments argc and argv and pass
651         them to the confucius process.
653 2005-06-01  Werner Koch  <wk@g10code.com>
655         * symcryptrun.c: Include mkdtemp.h. 
657 2005-05-31  Werner Koch  <wk@g10code.com>
659         * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines.
660         Noted by Ray Link.
662 2005-05-28  Moritz Schulte  <moritz@g10code.com>
664         * gpgkey2ssh.c: New file.
665         * Makefile.am (bin_PROGRAMS): Added gpgkey2ssh.
667 2005-05-20  Werner Koch  <wk@g10code.com>
669         * gpg-connect-agent.c (add_definq, show_definq, clear_definq)
670         (handle_inquire): New.
671         (read_and_print_response): Handle INQUIRE command.
672         (main): Implement control commands.
674 2005-04-21  Werner Koch  <wk@g10code.com>
676         * symcryptrun.c (main): Optionally allow the input file as command
677         line argument.
679         * gpgconf-comp.c: Add gpgsm option disable-trusted-cert-crl-check.
681 2005-04-20  Werner Koch  <wk@g10code.com>
683         * gpgconf-comp.c: Add gpg-agent:disable-scdaemon.
685 2005-04-19  Marcus Brinkmann  <marcus@g10code.de>
687         * symcryptrun.c: Add --input option.
689 2005-04-15  Marcus Brinkmann  <marcus@g10code.de>
691         * symcryptrun.c (TEMP_FAILURE_RETRY): Define if not defined.
693         * symcryptrun.c (remove_file): New function.
694         (confucius_copy_file): Accept new argument PLAIN and shred the
695         file if it is set on error.
697         * Makefile.am: Define symcryptrun make variable depending on
698         BUILD_SYMCRYPTUN.
699         (bin_PROGRAMS): Add ${symcryptrun} instead symcryptrun.
700         (symcryptrun_LDADD): Use $(LIBUTIL_LIBS) instead of -lutil.
702 2005-04-11  Werner Koch  <wk@g10code.com>
704         * symcryptrun.c (confucius_mktmpdir): Changed to use mkdtmp(3).
706 2005-04-11  Marcus Brinkmann  <marcus@g10code.de>
708         * symcryptrun.c: Implement config file parsing.
709         
710         * Makefile.am (bin_PROGRAMS): Add symcryptrun.
711         (symcryptrun_SOURCES, symcryptrun_LDADD): New variables.
712         * symcryptrun.c: New file.
714 2005-03-31  Werner Koch  <wk@g10code.com>
716         * gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'.
718 2005-03-09  Werner Koch  <wk@g10code.com>
720         * gpgconf-comp.c <dirmngr>: Add honor-http-proxy.
722 2005-02-25  Werner Koch  <wk@g10code.com>
724         * no-libgcrypt.c (gcry_strdup): New.
726 2005-02-24  Werner Koch  <wk@g10code.com>
728         * gpg-connect-agent.c: New.
729         * Makefile.am: Add it. 
731 2004-12-21  Werner Koch  <wk@g10code.com>
733         * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute
734         pathnames with a drive letter.
736 2004-12-15  Werner Koch  <wk@g10code.com>
738         * Makefile.am (bin_PROGRAMS) [W32]: Do not build watchgnupg.
740         * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: No way yet to
741         send a signal.  Disable.
742         (change_options_file, change_options_program) [W32]: No link(2),
743         so we disable it.
744         (gc_component_change_options): Use rename instead of link.
746 2004-12-13  Werner Koch  <wk@g10code.com>
748         * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
750 2004-11-24  Werner Koch  <wk@g10code.com>
752         * gpgconf-comp.c <dirmngr>: Add --ignore-http-dp, --ignore-ldap-dp
753         and --ignore-ocsp-service-url.
755 2004-11-23  Werner Koch  <wk@g10code.com>
757         * gpgconf-comp.c <dirmngr>: Add the proxy options.
758         <gpgsm>: Add --prefer-system-daemon.
760 2004-11-11  Werner Koch  <wk@g10code.com>
762         * watchgnupg.c (main): Fixed test for read error.
764 2004-10-22  Werner Koch  <wk@g10code.com>
766         * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh
768         * gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF.
770 2004-10-01  Werner Koch  <wk@g10code.com>
772         * gpgconf-comp.c: Made all strings for --log-file read the same.
773         
774 2004-10-01  Werner Koch  <wk@g10code.com>
776         * gpgconf-comp.c (my_dgettext): Also switch codeset and directory
777         for the other used domains (i.e. dirmngr).
779         * gpgconf.c (main): Fixed translation markers.
781 2004-09-30  Werner Koch  <wk@g10code.com>
783         * gpgconf.c (i18n_init): Always use LC_ALL.
785         * Makefile.am: Adjusted for gettext 0.14.
787 2004-09-29  Werner Koch  <wk@g10code.com>
789         * gpgconf-comp.c: Made the entries fro GROUPs translatable.
790         Include i18n.h.
791         (my_dgettext): Hack to use the gnupg2 domain.
793 2004-08-09  Moritz Schulte  <moritz@g10code.com>
795         * gpgsm-gencert.sh: New file.
797 2004-06-16  Werner Koch  <wk@gnupg.org>
799         * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.
801 2004-06-14  Werner Koch  <wk@gnupg.org>
803         * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New.
805         * gpgconf-comp.c (retrieve_options_from_program) 
806         (retrieve_options_from_file, change_options_file) 
807         (change_options_program, gc_component_change_options): Replaced
808         getline by read_line and test for allocation failure.
810 2004-05-21  Marcus Brinkmann  <marcus@g10code.de>
812         * gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its
813         only option "max-replies" into LDAP group.
814         (gc_component): Change description of dirmngr to "Directory
815         Manager".
817         * gpgconf-comp.c (gc_component_change_options): Move the
818         per-process backup file into a standard location.
820 2004-05-03  Werner Koch  <wk@gnupg.org>
822         * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.
824 2004-04-30  Werner Koch  <wk@gnupg.org>
826         * gpgconf-comp.c: Added more runtime flags for the gpg-agent
827         backend.
829 2004-04-29  Marcus Brinkmann  <marcus@g10code.de>
831         * gpgconf-comp.c (change_options_program): Turn on utf8-strings in
832         the gpgconf specific part of the config file for the GnuPG
833         backend.
835 2004-04-28  Werner Koch  <wk@gnupg.org>
837         * gpgconf-comp.c: Add --ocsp-signer for the dirmngr backend.
839 2004-04-20  Marcus Brinkmann  <marcus@g10code.de>
841         * gpgconf-comp.c (gc_options_gpg_agent): Change type of
842         ignore-cache-for-signing option to GC_ARG_TYPE_NONE.
844 2004-04-07  Werner Koch  <wk@gnupg.org>
846         * gpgconf-comp.c (my_dgettext): Switch the codeset once to utf-8.
847         Allow building with out NLS.
849 2004-03-23  Marcus Brinkmann  <marcus@g10code.de>
851         * gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for
852         "LDAP Server".
853         (change_options_file): Remove assertion that tests that this flag
854         is not present.  Handle an empty string in OPTION->new_value.
856         * gpgconf.c (main): Remove obsolete warning.
858 2004-03-23  Werner Koch  <wk@gnupg.org>
860         * gpgconf-comp.c (gc_options_gpg): New.
861         (gc_component_t, gc_component): Add GC_BACKEND_GPG.
862         (gc_options_dirmngr): Add allow-ocsp.
864 2004-03-23  Marcus Brinkmann  <marcus@g10code.de>
866         * gpgconf-comp.c (gc_flag): Add missing flags.
868         * gpgconf-comp.c: Include <signal.h>.
869         (gc_backend): Add new member runtime_change.
870         (gpg_agent_runtime_change): New function.
871         (gc_component_change_options): New variable runtime.  Initialize
872         it.  If an option is changed that has the GC_OPT_FLAG_RUNTIME bit
873         set, also set the corresponding runtime variable.  Finally, call
874         the runtime_change callback of the backend if needed.   
876 2004-03-16  Werner Koch  <wk@gnupg.org>
878         * gpgconf-comp.c (gc_options_gpg_agent): Implemented.
879         (gc_options_gpgsm, gc_options_scdaemon): Implemented.
880         (gc_backend_t): Add GC_BACKEND_SCDAEMON.
882 2004-03-12  Marcus Brinkmann  <marcus@g10code.de>
884         * gpgconf-comp.c (gc_component_change_options): Set the filenames
885         of the option's backend, not of the component.
886         Also use GC_BACKEND_NR, not GC_COMPONENT_NR.
888 2004-03-09  Werner Koch  <wk@gnupg.org>
890         * gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we
891         don't want to clutter our code with system dependent stuff.
893 2004-03-08  Marcus Brinkmann  <marcus@g10code.de>
895         * gpgconf-comp.c (retrieve_options_from_file): Quote each string
896         in the list, not only the first.
898 2004-02-26  Marcus Brinkmann  <marcus@g10code.de>
900         * gpgconf-comp.c (gc_component_list_options): Do not print empty
901         groups.
903         * gpgconf-comp.c (option_check_validity): Check if option is
904         active.
905         (change_options_file): Implement.
907         * gpgconf-comp.c (retrieve_options_from_program): Remove broken
908         string handling.
910         * gpgconf-comp.c (change_options_program): Support all types of
911         options, including list types.
913         * README.gpgconf: Fix description of arguments.
914         * gpgconf-comp.c (option_check_validity): Rewritten to properly
915         support optional arguments in lists.
917         * README.gpgconf: Add info about optional arg and arg type 0.
918         * gpgconf-comp.c (gc_component_change_options): Parse list of
919         arg type 0 options.
920         (option_check_validity): Add new argument NEW_VALUE_NR.  Perform
921         rigorous validity checks.
922         (change_options_program): Disable an option also if we have a new
923         value for it.
925 2004-02-25  Marcus Brinkmann  <marcus@g10code.de>
927         * gpgconf-comp.c (gc_component_list_options): Correct output for
928         lists of arg type none.
929         (struct gc_option): Add new member new_flags.
930         (option_check_validity): Check OPTION->new_flags beside
931         OPTION->new_value.  Add new argument FLAGS.
932         (gc_component_change_options): Support default flag correctly.
933         (change_options_program): Likewise.
935 2004-02-24  Marcus Brinkmann  <marcus@g10code.de>
937         * README.gpgconf: Revert last change.  Add new flags "default",
938         "default desc" and "no arg desc".  Add new field ARGDEF.  Add new
939         field FLAG to backend interface.
940         * gpgconf-comp.c (struct gc_option): Make flags of type unsigned
941         long.
942         (gc_component_list_options): Adjust type for flags.
943         Add default argument field.
944         (retrieve_options_from_program): Use "1" as value for non-option
945         arguments, not "Y".
946         (gc_component_change_options): Read in flags from input.
948 2004-02-23  Marcus Brinkmann  <marcus@g10code.de>
950         * README.gpgconf: Change meaning of type 0 options value if it is
951         the empty string or "0".
953         * gpgconf.h (struct): Add member runtime.
954         * gpgconf.c: Add new option oRuntime.
955         (main): Same here.
957         * gpgconf-comp.c (hextobyte): New function.
958         (percent_deescape): New function.
959         (get_config_pathname): Percent deescape pathname if taken from
960         option (default) value.  Use default value only if it exists and
961         is not empty.  Use empty string otherwise.  Don't include leading
962         quote in pathname.
963         (change_options_program): Percent deescape string before writing
964         it out.
965         
966         * gpgconf-comp.c (gc_component_list_options): Do not skip groups
967         on output.
969 2004-02-18  Werner Koch  <wk@gnupg.org>
971         * gpgconf-comp.c: Added empty components for gpgsm and scdaemon.
973 2004-02-12  Werner Koch  <wk@gnupg.org>
975         * watchgnupg.c (main): Implement option "--".
976         (print_version): New.
978         * Makefile.am: Include cmacros.am for common flags.
980 2004-02-03  Werner Koch  <wk@gnupg.org>
982         * addgnupghome: Try to use getent, so that it also works for NIS
983         setups.
985 2004-01-31  Marcus Brinkmann  <marcus@g10code.de>
987         * gpgconf-comp.c: Some bug fixes, parse only defaults from the
988         program, and read the current values from the configuration file
989         directly.
991 2004-01-30  Marcus Brinkmann  <marcus@g10code.de>
993         * gpgconf-comp.c (gc_error): New function, use it instead of
994         error() throughout.
996         * gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and
997         gnupg_get_time, fix error() invocation and use getline()
998         consistently.
999         
1000 2004-01-30  Werner Koch  <wk@gnupg.org>
1002         * addgnupghome: Also set the group of copied files. 
1004 2004-01-30  Werner Koch  <wk@gnupg.org>
1006         * Makefile.am (sbin_SCRIPTS): New, to install addgnupghome.
1007         (EXTRA_DIST): Added rfc822parse.c rfc822parse.h gpgparsemail.c
1008         which might be useful for debugging.
1010 2004-01-29  Werner Koch  <wk@gnupg.org>
1012         * addgnupghome: New.
1014 2004-01-29  Marcus Brinkmann  <marcus@g10code.de>
1016         * gpgconf-list.c: File removed.
1017         * README.gpgconf: New file.
1018         * gpgconf-comp.c: New file.
1019         * Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add
1020         gpgconf-comp.c.
1022 2004-01-16  Werner Koch  <wk@gnupg.org>
1024         * watchgnupg.c (main): Need to use FD_ISSET for the client
1025         descriptors too; aiiih.  Set the listening socket to non-blocking.
1027 2004-01-10  Werner Koch  <wk@gnupg.org>
1029         * Makefile.am: Use GPG_ERROR_CFLAGS
1030         
1031 2004-01-05  Werner Koch  <wk@gnupg.org>
1033         * Manifest: New.
1034         * gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now.
1035         * no-libgcrypt.c: New.
1036         * Makefile.am: Add above.
1038 2003-12-23  Werner Koch  <wk@gnupg.org>
1040         * Makefile.am: New.
1041         * watchgnupg.c: New.
1044  Copyright 2003, 2004, 2005, 2006, 2007, 2008,
1045            2009 Free Software Foundation, Inc.
1047  This file is free software; as a special exception the author gives
1048  unlimited permission to copy and/or distribute it, with or without
1049  modifications, as long as this notice is preserved.
1051  This file is distributed in the hope that it will be useful, but
1052  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1053  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.