Impleemned gpgsm's IMPORT --re-import feature.
[gnupg.git] / tools / ChangeLog
blobfceb649f96776947a3f6fba2f2fdc7e5218796aa
1 2009-07-07  Werner Koch  <wk@g10code.com>
3         * gpg-connect-agent.c (start_agent): Adjust for changed args of
4         send_pinentry_environment.
6 2009-06-30  Werner Koch  <wk@g10code.com>
8         * ccidmon.c (parse_line_sniffusb): Take also TAB as delimiter.
10 2009-06-29  Werner Koch  <wk@g10code.com>
12         * ccidmon.c (parse_line_sniffusb): New.
13         (main): Add option --sniffusb.
15 2009-06-08  Werner Koch  <wk@g10code.com>
17         * gpgconf.c (main): Call gnupg_reopen_std.  Should fix bug#1072.
19 2009-05-19  Werner Koch  <wk@g10code.com>
21         * watchgnupg.c: Include jnlib/mischelp.h if required.
22         (main): Use SUN_LEN.
24 2009-04-17  Werner Koch  <wk@g10code.com>
26         * ccidmon.c: New.
28 2009-03-03  Werner Koch  <wk@g10code.com>
30         * gpgconf.c: New command --reload.
32         * gpgconf-comp.c (gc_component_reload): New.
34 2009-03-02  Werner Koch  <wk@g10code.com>
36         * gpgconf-comp.c (scdaemon_runtime_change): Killsc d only if it is
37         not running.
39 2009-02-27  Werner Koch  <wk@g10code.com>
41         * gpgconf-comp.c (gpg_agent_runtime_change): Declare static.
42         (scdaemon_runtime_change): New.
43         (gc_backend_scdaemon): Register new function.
44         (gc_options_scdaemon): Make most options runtime changable.
46 2009-01-20  Werner Koch  <wk@g10code.com>
48         * gpgconf.c (main): Print more directories.
50 2008-12-09  Werner Koch  <wk@g10code.com>
52         * gpg-check-pattern.c (main): Call i18n_init before
53         init_common_subsystems.
54         * gpg-connect-agent.c (main): Ditto.
55         * gpgconf.c (main): Ditto.
56         * symcryptrun.c (main): Ditto.
58 2008-12-08  Werner Koch  <wk@g10code.com>
60         * gpgkey2ssh.c (main): Change order of output for RSA. Change name
61         of DSA identifier.  Reported by Daniel Kahn Gillmor.  This is
62         bug#901.
64 2008-12-05  Werner Koch  <wk@g10code.com>
66         * gpg-connect-agent.c (opts): Use ARGPARSE_ macros.
67         (start_agent) [W32]: Start agent if not running.
69 2008-12-03  Werner Koch  <wk@g10code.com>
71         * gpgconf-comp.c <scdaemon>: Add option --card-timeout.  Remove
72         unused option --disable-opensc.
74 2008-10-20  Werner Koch  <wk@g10code.com>
76         * gpgsplit.c (write_part): Remove unused arg FNAME.  Change caller.
77         (do_split): Ditto.
79         * no-libgcrypt.c (gcry_control): Mark unused arg.
80         * gpg-connect-agent.c (do_recvfd): Ditto.
81         * gpgparsemail.c (mime_signed_begin, mime_encrypted_begin): Ditto.
82         (pkcs7_begin): Ditto.
84 2008-10-01  Werner Koch  <wk@g10code.com>
86         * gpg-connect-agent.c (main): New command datafile.
87         (read_and_print_response): Print to the defined datafile.
89 2008-09-30  Werner Koch  <wk@g10code.com>
91         * gpgconf.c (main) <aListDirs>: Print the bindir.
93 2008-08-06  Marcus Brinkmann  <marcus@g10code.de>
95         * gpgconf-comp.c (gc_options_gpgsm): Change type of keyserver
96         option to GC_ARG_TYPE_LDAP_SERVER.
98         * gpgconf-comp.c (retrieve_options_from_file): Transfer the
99         NO_CHANGE flag from the file name option to the list option.
101 2008-06-19  Werner Koch  <wk@g10code.com>
103         * gpgconf-comp.c (GC_ARG_TYPE_ALIAS_LIST): New.
104         (gc_arg_type): Add fallback type.
105         (gc_options_gpg): Add option "group".
107 2008-06-12  Marcus Brinkmann  <marcus@g10code.de>
109         * gpgconf-comp.c (gc_options_gpgsm): Add option keyserver.
111 2008-05-26  Marcus Brinkmann  <marcus@g10code.de>
113         * gpgconf-comp.c: Replace pathname by filename everywhere.
115         * gpgconf.c (enum cmd_and_opt_values): Add aListDirs.
116         (opts): Add aListDirs option.
117         (main): Handle aListDirs.
118         * gpgconf.h (gc_percent_escape): New declaration.
119         * gpgconf-comp.c (my_percent_escape): Make non-static and rename
120         to ...
121         (gc_percent_escape): ... this.  Change all callers.
122         
123 2008-05-26  Werner Koch  <wk@g10code.com>
125         * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: Issue
126         "reloadagent" command to gpg-agent.
128         * gpg-connect-agent.c (main): Allow server command on the command
129         line.
131 2008-05-20  Marcus Brinkmann  <marcus@g10code.de>
133         * gpgconf.h (gc_component_check_programs): Rename to ...
134         (gc_check_programs): ... this.
135         (gc_component_change_options): Add argument OUT.
136         (gc_component_check_options): New function.
137         * gpgconf.c (enum cmd_and_opt_values): New option aCheckOptions.
138         (opts): Add new option aCheckOptions (aka --check-options).
139         (main): Handle new option aCheckOptions.
140         * gpgconf-comp.c (gc_component_check_programs): Rename to ...
141         (gc_check_programs): ... this.  Refactor core of it to ...
142         (gc_component_check_options): ... this new function.
143         (gc_component_change_options): Add new argument OUT.  Externally
144         verify all changes.  Implement option --dry-run.
146 2008-05-09  Werner Koch  <wk@g10code.com>
148         * gpgconf-comp.c (my_dgettext) [USE_SIMPLE_GETTEXT]:  Hack to
149         parly support translations.
151 2008-04-08  Werner Koch  <wk@g10code.com>
153         * gpgconf-comp.c (gc_options_gpg): Add --auto-key-locate.
155 2008-03-26  Werner Koch  <wk@g10code.com>
157         * make-dns-cert.c: Include unistd.h.  Use config.h if requested.
158         (cert_key): Protect read against EINTR.
159         (main): Print SVN revision for standalone version.
161 2008-03-05  Werner Koch  <wk@g10code.com>
163         * gpg-connect-agent.c (arithmetic_op): Add logical not, or and and.
164         (get_var_ext): Add functions errcode, errsource and errstring.
165         (read_and_print_response): Store server reply in $? variable.
166         (main): Implement IF command.
168 2008-02-27  Marcus Brinkmann  <marcus@g10code.de>
170         * gpgconf-comp.c (option_check_validity): For now, error out on
171         empty strings.
172         (enum): Add GC_ARG_TYPE_PUB_KEY and GC_ARG_TYPE_SEC_KEY.
174 2008-02-01  Marcus Brinkmann  <marcus@g10code.de>
176         * gpgconf-comp.c (gc_component_list_options): Fix memcpy.
177         Reported by Marc Mutz.
179 2008-01-22  Werner Koch  <wk@g10code.com>
181         * gpgconf-comp.c: Use gnupg domain for honor-http-proxy.  Make
182         "LDAP server list" group title translatable.
184 2008-01-17  Marcus Brinkmann  <marcus@g10code.de>
186         * gpgconf-comp.c (change_options_program): Strip duplicated
187         utf8-strings entries for gnupg backend.  Don't create them either.
189 2007-12-10  Marcus Brinkmann  <marcus@g10code.de>
191         * gpgconf-comp.c (gc_component_list_options): Fix up expert level
192         of group.
194 2007-12-04  Marcus Brinkmann  <marcus@g10code.de>
196         * gpgconf-comp.c (gc_component_list_components): Do not print a
197         trailing semi-colon to ensure forward compatibility, as this would
198         indicate another empty field.
199         (gc_process_gpgconf_conf): Likewise.
201 2007-11-15  Werner Koch  <wk@g10code.com>
203         * gpg-connect-agent.c (start_agent): Adjust changed
204         send_pinentry_environment.
206 2007-10-24  Werner Koch  <wk@g10code.com>
208         * gpg-connect-agent.c (substitute_line): Restore temporary nul
209         marker.
210         (main): Add /while command.
212 2007-10-23  Werner Koch  <wk@g10code.com>
214         * gpgconf-comp.c (gc_process_gpgconf_conf): Add arg
215         LISTFP.  Changed all callers.
216         * gpgconf.h: Add gc_error.
217         * gpgconf.c: Add command --list-config.
218         (get_outfp): New.
219         (main): Make --output work.
221         * gpgconf-comp.c (gc_options_gpg_agent): Replace accidently used
222         GC_BACKEND_SCDAEMON.  We should consider to create these tables
223         from plain files.
225 2007-10-22  Werner Koch  <wk@g10code.com>
227         * gpgconf-comp.c (retrieve_options_from_program): Replace use of
228         popen by our gnupg_spawn_process_fd.  This is required because
229         popen under Windows can't handle long filenames.
231 2007-10-19  Werner Koch  <wk@g10code.com>
233         * symcryptrun.c (confucius_get_pass): Use utf8 switching functions.
235         * gpg-connect-agent.c (get_var_ext): New.
236         (substitute_line): Use it.
237         (assign_variable): Implement /slet in terms of get_var_ext.
238         (main): New option -s/--subst.
239         (add_definq): Add arg IS_VAR.  Change all callers.
240         (main): Add command /definq.
241         (handle_inquire): Implement new command.
242         (substitute_line_copy): New.
243         (unescape_string, unpercent_string): New.
244         * no-libgcrypt.c (gcry_set_outofcore_handler) 
245         (gcry_set_fatalerror_handler, gcry_set_log_handler): New.
246         * Makefile.am (gpg_connect_agent_LDADD): Link to libreadline.
248         * gpgconf-comp.c (retrieve_options_from_file): Don't call fclose
249         with NULL.  Fixes bug 842.
251 2007-10-12  Werner Koch  <wk@g10code.com>
253         * gpg-connect-agent.c (substitute_line): Allow ${foo} syntax.
255 2007-10-11  Werner Koch  <wk@g10code.com>
257         * gpg-connect-agent.c (get_var): Expand environment variables.
258         Suggested by Marc Mutz.
259         (set_var): Return the value.
260         (assign_variable): Add arg syslet.
261         (main): New command /slet.
262         (gnu_getcwd): New.
263         (assign_variable): Add tag cwd, and *dir.
265 2007-10-02  Werner Koch  <wk@g10code.com>
267         * no-libgcrypt.c (gcry_malloc_secure): New.
269         * gpg-connect-agent.c (set_var, set_int_var, get_var)
270         (substitute_line, show_variables, assign_variable)
271         (do_open, do_close, do_showopen): New.
272         (main): Add new commands /nosubst, /subst, /let, /showvar, /open,
273         /close and /showopen.
274         (main): New commands /run and /bye.
276 2007-10-01  Werner Koch  <wk@g10code.com>
278         * gpg-connect-agent.c (do_sendfd): Use INT2FD for assuan_sendfd.
280 2007-09-26  Werner Koch  <wk@g10code.com>
282         * gpg-connect-agent.c (main): Print the first response from the
283         server.
285 2007-09-14  Werner Koch  <wk@g10code.com>
287         * gpgconf-comp.c: Make a string translatable.
289 2007-09-04  Moritz Schulte  <moritz@g10code.com>
291         * gpgsm-gencert.sh: Use printf instead of echo.
293 2007-09-04  Moritz Schulte  <moritz@g10code.com>
295         * gpgkey2ssh.c: Include sysutils.h so that gnupg_tmpfile() is
296         declared.
298 2007-08-31  Werner Koch  <wk@g10code.com>
300         * gpgparsemail.c: Support PGP/MIME signed messages.
302         * gpgconf-comp.c (gc_component_list_components): List the programs
303         names.
305 2007-08-29  Werner Koch  <wk@g10code.com>
307         * gpgconf.c: New command --check-programs.
308         * gpgconf-comp.c (gc_component_check_programs): New.
309         (gc_backend): Add member MODULE_NAME and add these module names.
310         (retrieve_options_from_program): Use module name so that we use an
311         absolute file name and don't rely on $PATH.
312         (collect_error_output): New.
313         * no-libgcrypt.c (gcry_control): New.
315 2007-08-28  Werner Koch  <wk@g10code.com>
317         * gpgconf-comp.c <gpg-agent>: Add options --max-passphrase-days
318         and --enable-passphrase-history.
320 2007-08-27  Werner Koch  <wk@g10code.com>
322         * gpg-check-pattern.c: New
323         * Makefile.am (libexec_PROGRAMS): Add unless DISABLE_REGEX.
325 2007-08-24  Werner Koch  <wk@g10code.com>
327         * gpgconf-comp.c <gpg-agent>: Add options --check-passphrase-pattern,
328         --min-passphrase-nonalpha and --enforce-passphrase-constraints and
329         move them into a new "passphrase policy" group.
330         (gc_component) [W32]: Enable dirmngr.
332 2007-08-21  Werner Koch  <wk@g10code.com>
334         * gpgkey2ssh.c (key_to_blob): Use gnupg_tmpfile().
336 2007-08-02  Werner Koch  <wk@g10code.com>
338         * gpgconf-comp.c: Factor the public GC_OPT_FLAG constants out and
339         include gc-opt-flags.h.
341 2007-07-17  Werner Koch  <wk@g10code.com>
343         * gpgconf-comp.c: Add --encrypt-to and --default-key to gpg and
344         gpgsm.
346 2007-07-16  Marcus Brinkmann  <marcus@g10code.de>
348         * gpg-connect-agent.c (main): Bail out if write fails.
350 2007-07-05  Marcus Brinkmann  <marcus@g10code.de>
352         * symcryptrun.c (confucius_get_pass): Define orig_codeset if
353         [ENABLE_NLS], not [HAVE_LANGINFO_CODESET].
355 2007-06-26  Werner Koch  <wk@g10code.com>
357         * gpgconf-comp.c (key_matches_user_or_group) [W32]: Implement user
358         name matching.
359         (GPGNAME): New.  Use it instead of "gpg".
360         (gc_component) [W32]:  Disable dirmngr for now.
361         (gc_component_retrieve_options): Ignore components without options.
362         (gc_component_change_options): Ditto.
363         (gc_component_list_options): Ditto.
364         (gc_component_find, gc_component_list_components): Ditto.
366 2007-06-19  Werner Koch  <wk@g10code.com>
368         * gpgconf-comp.c (percent_escape): Rename to my_percent_escape.
369         Changed all callers.
371 2007-06-18  Marcus Brinkmann  <marcus@g10code.de>
373         * gpgconf-comp.c (retrieve_options_from_file): Close LIST_FILE.
374         (copy_file): In error case, save/restore errno.  Close SRC and DST.
375         (gc_component_change_options): Catch error from unlink().  Remove
376         target backup file before rename().
378 2007-06-15  Marcus Brinkmann  <marcus@g10code.de>
380         * gpgconf-comp.c (copy_file) [HAVE_W32_SYSTEM]: New function.
381         (change_options_file, change_options_program) [HAVE_W32_SYSTEM]:
382         Copy backup file.
383         (gc_component_change_options) [HAVE_W32_SYSTEM]: Non-atomic replace.
384         (gc_process_gpgconf_conf): Rename fname to fname_arg and
385         fname_buffer to fname, initialize fname with fname_arg, discarding
386         const qualifier.
388 2007-06-15  Werner Koch  <wk@g10code.com>
390         * Makefile.am (symcryptrun_LDADD): It is LIBICONV and not LIBINCONV.
391         (gpgconf_LDADD, symcryptrun_LDADD): Add W32SOCKLIBS.
393 2007-06-14  Werner Koch  <wk@g10code.com>
395         * symcryptrun.c (main): Setup default socket name for
396         simple-pwquery.
397         (MAP_SPWQ_ERROR_IMPL): New.  Use it for all spwq error returns.
399 2007-06-12  Werner Koch  <wk@g10code.com>
401         * gpgconf-comp.c (gc_process_gpgconf_conf): Replace
402         GNUPG_SYSCONFDIR by a function call.
404         * gpg-connect-agent.c (main): Replace some calls by
405         init_common_subsystems.
406         * gpgconf.c (main): Ditto.
407         * symcryptrun.c (main): Ditto.
409 2007-06-11  Werner Koch  <wk@g10code.com>
411         * symcryptrun.c (main) [W32]: Call pth_init.
412         * gpgconf.c (main) [W32]: Call pth_init
413         * gpg-connect-agent.c (main) [W32]: Call pth_init.
415 2007-06-06  Werner Koch  <wk@g10code.com>
417         * Makefile.am (bin_PROGRAMS) [W32]: Do not build gpgparsemail.
419         * gpgconf-comp.c [W32]: Do not include pwd.h and grp.h.
420         (key_matches_user_or_group) [W32]: For now always return false.
422         * symcryptrun.c (i18n_init): Remove.
423         * gpgconf.c (i18n_init): Remove.
424         * gpg-connect-agent.c (i18n_init): Remove.
426 2007-05-19  Marcus Brinkmann  <marcus@g10code.de>
428         * symcryptrun.c (confucius_get_pass): Free ORIG_CODESET on error.
430 2007-05-08  Werner Koch  <wk@g10code.com>
432         * sockprox.c: New.  It needs to be build manually. By Moritz
433         Schulte.
435 2007-04-20  Werner Koch  <wk@g10code.com>
437         * symcryptrun.c (my_gcry_logger): Removed.
438         (main): Call setup_libgcrypt_logging.
440 2007-04-03  Werner Koch  <wk@g10code.com>
442         * gpgconf-comp.c: Allow changing of --allow-mark-trusted.
444         * gpg-connect-agent.c (main): New option --decode and commands
445         decode and undecode.
446         (read_and_print_response): Implement option.
448 2007-03-20  Werner Koch  <wk@g10code.com>
450         * gpgconf-comp.c (gc_options_gpgsm): Add p12-charset.
452 2007-03-07  Werner Koch  <wk@g10code.com>
454         * applygnupgdefaults: New.
455         * Makefile.am (sbin_SCRIPTS): Add it
457 2007-03-06  Werner Koch  <wk@g10code.com>
459         * gpgconf-comp.c: Include pwd.h and grp.h.
460         (GC_OPT_FLAG_NO_CHANGE): New.
461         (gc_component_change_options): Implement it.
462         (gc_options_gpg_agent): Add options for all ttl values and
463         min-passphrase-length.  Apply new flag to some of them.
464         (gc_process_gpgconf_conf, key_matches_user_or_group): New.
465         (gc_component_change_options): Factor some code out to ..
466         (change_one_value): .. new. 
467         (gc_component_retrieve_options): Allow -1 for COMPONENT to iterate
468         over al components.
469         * gpgconf.c (main): New commands --check-config and
470         --apply-defaults.  Call gc_process_gpgconf_conf.
472 2007-01-31  Werner Koch  <wk@g10code.com>
474         * Makefile.am (symcryptrun_LDADD): Add LIBICONV.
475         (gpgkey2ssh_LDADD): Ditto.
477 2006-12-13  David Shaw  <dshaw@jabberwocky.com>
479         * Makefile.am (gpgsplit_LDADD): Link to LIBINTL if we're using the
480         built-in code.
482 2006-12-07  David Shaw  <dshaw@jabberwocky.com>
484         * Makefile.am: Link to iconv for jnlib dependency.
486 2006-11-23  Werner Koch  <wk@g10code.com>
488         * Makefile.am (gpg_connect_agent_LDADD): Add NETLIBS.
490 2006-11-21  Werner Koch  <wk@g10code.com>
492         * gpgconf-comp.c (list_one_option): Cast print size_t arg.
494 2006-11-17  Werner Koch  <wk@g10code.com>
496         * gpgconf-comp.c: Made disable-keypad a basic option.
498 2006-11-03  Werner Koch  <wk@g10code.com>
500         * symcryptrun.c: Include signal.h and include pth.h only if test
501         asserts that it exists.
503 2006-10-23  Werner Koch  <wk@g10code.com>
505         * gpgconf-comp.c <gpgsm>: Add --cipher-algo.
507 2006-10-20  Werner Koch  <wk@g10code.com>
509         * gpgsm-gencert.sh: Enhanced the main menu. 
511 2006-10-12  Werner Koch  <wk@g10code.com>
513         * Makefile.am (gpg-zip, gpgsplit): Do not install due to a
514         conflict with gpg1.
516 2006-10-11  Werner Koch  <wk@g10code.com>
518         * gpgsm-gencert.sh: Allow generation of card keys.
520 2006-10-08  Werner Koch  <wk@g10code.com>
522         * Makefile.am (gpgkey2ssh_LDADD): Add LIBINTL. Suggested by
523         Andreas Metzler.
525 2006-09-22  Werner Koch  <wk@g10code.com>
527         * no-libgcrypt.c: Changed license to a simple all permissive one.
529 2006-09-20  Werner Koch  <wk@g10code.com>
531         * Makefile.am: Changes to allow parallel make runs.
533 2006-09-12  Werner Koch  <wk@g10code.com>
535         Replaced all call gpg_error_from_errno(errno) by
536         gpg_error_from_syserror().
538         * gpg-connect-agent.c (read_and_print_response): With verbosity
539         level 2 also print comment lines.
541 2006-09-06  Werner Koch  <wk@g10code.com>
543         * gpg-connect-agent.c: Switch everything to new Assuan error code
544         style.
546         * no-libgcrypt.c (out_of_core): Reanmed to ...
547         (out_of_memory): .. this to avoid name clash with util.h.
549 2006-08-21  Werner Koch  <wk@g10code.com>
551         * gpgsplit.c: New. Taken from 1.4. Adjusted to GnuPG2.
553         * Makefile.am (noinst_PROGRAMS): New.
555 2006-06-09  Marcus Brinkmann  <marcus@g10code.de>
557         * Makefile.am (gpgconf_LDADD): Add $(GPG_ERROR_LIBS).
558         (gpgkey2ssh_LDADD): Add ../jnlib/libjnlib.a.
560 2006-05-23  Werner Koch  <wk@g10code.com>
562         * gpgparsemail.c: Include config.h if available
563         (stpcpy): Conditional include it.
565         * gpgconf-comp.c (hextobyte): Removed as it is now availble in
566         jnlib.
568 2005-12-20  Werner Koch  <wk@g10code.com>
570         * gpgconf-comp.c (gc_options_gpg): Add allow-pka-lookup.
572 2005-12-14  Werner Koch  <wk@g10code.com>
574         * Makefile.am (bin_PROGRAMS): Build gpgparsemail.
576         * gpgparsemail.c (pkcs7_begin): New.
577         (parse_message, message_cb): Add support of direct pkcs signatures.
579 2005-10-19  Werner Koch  <wk@g10code.com>
581         * gpgconf-comp.c (gc_options_scdaemon): New option --disable-keypad.
583 2005-09-22  Werner Koch  <wk@g10code.com>
585         * rfc822parse.c (parse_field): Tread Content-Disposition special.
587 2005-10-08  Marcus Brinkmann  <marcus@g10code.de>
589         * Makefile.am (watchgnupg_LDADD): New variable.
591         * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after
592         ../common/libcommon.a.
593         (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD):
594         Likewise.
596 2005-09-29  Marcus Brinkmann  <marcus@g10code.de>
598         * Makefile.am (AM_CFLAGS): Add $(LIBGCRYPT_CFLAGS).
600 2005-09-06  Werner Koch  <wk@g10code.com>
602         * rfc822parse.c, rfc822parse.h:  Changed license to LGPL.
604 2005-08-01  Werner Koch  <wk@g10code.com>
606         * gpgsm-gencert.sh: Allow entering a keygrip to generate a CSR from
607         an existing key.
609 2005-07-21  Werner Koch  <wk@g10code.com>
611         * gpgsm-gencert.sh: Reworked to allow for multiple email addresses
612         as well as DNsanmes and URi.  Present the parameter file before
613         creating the certificate.
615 2005-07-04  Marcus Brinkmann  <marcus@g10code.de>
617         * symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols,
618         use instead constants.
619         (hash_string): New function copied from simple-gettext.c.
620         (confucius_get_pass): Take new argument CACHEID.
621         (confucius_process): Calculate cacheid and pass it to
622         confucius_get_pass.  Clear passphrase from cache if necessary.
624 2005-06-16  Werner Koch  <wk@g10code.com>
626         * gpg-connect-agent.c (read_and_print_response): Made LINELEN a
627         size_t.
629 2005-06-04  Marcus Brinkmann  <marcus@g10code.de>
631         * symcryptrun.c (main): Allow any number of arguments, don't use
632         first argument as input file name.  Pass extra arguments to
633         confucius_main.
634         (confucius_main): Accept new arguments argc and argv and pass them
635         to confucius_process.
636         (confucius_process): Accept new arguments argc and argv and pass
637         them to the confucius process.
639 2005-06-01  Werner Koch  <wk@g10code.com>
641         * symcryptrun.c: Include mkdtemp.h. 
643 2005-05-31  Werner Koch  <wk@g10code.com>
645         * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines.
646         Noted by Ray Link.
648 2005-05-28  Moritz Schulte  <moritz@g10code.com>
650         * gpgkey2ssh.c: New file.
651         * Makefile.am (bin_PROGRAMS): Added gpgkey2ssh.
653 2005-05-20  Werner Koch  <wk@g10code.com>
655         * gpg-connect-agent.c (add_definq, show_definq, clear_definq)
656         (handle_inquire): New.
657         (read_and_print_response): Handle INQUIRE command.
658         (main): Implement control commands.
660 2005-04-21  Werner Koch  <wk@g10code.com>
662         * symcryptrun.c (main): Optionally allow the input file as command
663         line argument.
665         * gpgconf-comp.c: Add gpgsm option disable-trusted-cert-crl-check.
667 2005-04-20  Werner Koch  <wk@g10code.com>
669         * gpgconf-comp.c: Add gpg-agent:disable-scdaemon.
671 2005-04-19  Marcus Brinkmann  <marcus@g10code.de>
673         * symcryptrun.c: Add --input option.
675 2005-04-15  Marcus Brinkmann  <marcus@g10code.de>
677         * symcryptrun.c (TEMP_FAILURE_RETRY): Define if not defined.
679         * symcryptrun.c (remove_file): New function.
680         (confucius_copy_file): Accept new argument PLAIN and shred the
681         file if it is set on error.
683         * Makefile.am: Define symcryptrun make variable depending on
684         BUILD_SYMCRYPTUN.
685         (bin_PROGRAMS): Add ${symcryptrun} instead symcryptrun.
686         (symcryptrun_LDADD): Use $(LIBUTIL_LIBS) instead of -lutil.
688 2005-04-11  Werner Koch  <wk@g10code.com>
690         * symcryptrun.c (confucius_mktmpdir): Changed to use mkdtmp(3).
692 2005-04-11  Marcus Brinkmann  <marcus@g10code.de>
694         * symcryptrun.c: Implement config file parsing.
695         
696         * Makefile.am (bin_PROGRAMS): Add symcryptrun.
697         (symcryptrun_SOURCES, symcryptrun_LDADD): New variables.
698         * symcryptrun.c: New file.
700 2005-03-31  Werner Koch  <wk@g10code.com>
702         * gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'.
704 2005-03-09  Werner Koch  <wk@g10code.com>
706         * gpgconf-comp.c <dirmngr>: Add honor-http-proxy.
708 2005-02-25  Werner Koch  <wk@g10code.com>
710         * no-libgcrypt.c (gcry_strdup): New.
712 2005-02-24  Werner Koch  <wk@g10code.com>
714         * gpg-connect-agent.c: New.
715         * Makefile.am: Add it. 
717 2004-12-21  Werner Koch  <wk@g10code.com>
719         * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute
720         pathnames with a drive letter.
722 2004-12-15  Werner Koch  <wk@g10code.com>
724         * Makefile.am (bin_PROGRAMS) [W32]: Do not build watchgnupg.
726         * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: No way yet to
727         send a signal.  Disable.
728         (change_options_file, change_options_program) [W32]: No link(2),
729         so we disable it.
730         (gc_component_change_options): Use rename instead of link.
732 2004-12-13  Werner Koch  <wk@g10code.com>
734         * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
736 2004-11-24  Werner Koch  <wk@g10code.com>
738         * gpgconf-comp.c <dirmngr>: Add --ignore-http-dp, --ignore-ldap-dp
739         and --ignore-ocsp-service-url.
741 2004-11-23  Werner Koch  <wk@g10code.com>
743         * gpgconf-comp.c <dirmngr>: Add the proxy options.
744         <gpgsm>: Add --prefer-system-daemon.
746 2004-11-11  Werner Koch  <wk@g10code.com>
748         * watchgnupg.c (main): Fixed test for read error.
750 2004-10-22  Werner Koch  <wk@g10code.com>
752         * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh
754         * gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF.
756 2004-10-01  Werner Koch  <wk@g10code.com>
758         * gpgconf-comp.c: Made all strings for --log-file read the same.
759         
760 2004-10-01  Werner Koch  <wk@g10code.com>
762         * gpgconf-comp.c (my_dgettext): Also switch codeset and directory
763         for the other used domains (i.e. dirmngr).
765         * gpgconf.c (main): Fixed translation markers.
767 2004-09-30  Werner Koch  <wk@g10code.com>
769         * gpgconf.c (i18n_init): Always use LC_ALL.
771         * Makefile.am: Adjusted for gettext 0.14.
773 2004-09-29  Werner Koch  <wk@g10code.com>
775         * gpgconf-comp.c: Made the entries fro GROUPs translatable.
776         Include i18n.h.
777         (my_dgettext): Hack to use the gnupg2 domain.
779 2004-08-09  Moritz Schulte  <moritz@g10code.com>
781         * gpgsm-gencert.sh: New file.
783 2004-06-16  Werner Koch  <wk@gnupg.org>
785         * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.
787 2004-06-14  Werner Koch  <wk@gnupg.org>
789         * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New.
791         * gpgconf-comp.c (retrieve_options_from_program) 
792         (retrieve_options_from_file, change_options_file) 
793         (change_options_program, gc_component_change_options): Replaced
794         getline by read_line and test for allocation failure.
796 2004-05-21  Marcus Brinkmann  <marcus@g10code.de>
798         * gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its
799         only option "max-replies" into LDAP group.
800         (gc_component): Change description of dirmngr to "Directory
801         Manager".
803         * gpgconf-comp.c (gc_component_change_options): Move the
804         per-process backup file into a standard location.
806 2004-05-03  Werner Koch  <wk@gnupg.org>
808         * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.
810 2004-04-30  Werner Koch  <wk@gnupg.org>
812         * gpgconf-comp.c: Added more runtime flags for the gpg-agent
813         backend.
815 2004-04-29  Marcus Brinkmann  <marcus@g10code.de>
817         * gpgconf-comp.c (change_options_program): Turn on utf8-strings in
818         the gpgconf specific part of the config file for the GnuPG
819         backend.
821 2004-04-28  Werner Koch  <wk@gnupg.org>
823         * gpgconf-comp.c: Add --ocsp-signer for the dirmngr backend.
825 2004-04-20  Marcus Brinkmann  <marcus@g10code.de>
827         * gpgconf-comp.c (gc_options_gpg_agent): Change type of
828         ignore-cache-for-signing option to GC_ARG_TYPE_NONE.
830 2004-04-07  Werner Koch  <wk@gnupg.org>
832         * gpgconf-comp.c (my_dgettext): Switch the codeset once to utf-8.
833         Allow building with out NLS.
835 2004-03-23  Marcus Brinkmann  <marcus@g10code.de>
837         * gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for
838         "LDAP Server".
839         (change_options_file): Remove assertion that tests that this flag
840         is not present.  Handle an empty string in OPTION->new_value.
842         * gpgconf.c (main): Remove obsolete warning.
844 2004-03-23  Werner Koch  <wk@gnupg.org>
846         * gpgconf-comp.c (gc_options_gpg): New.
847         (gc_component_t, gc_component): Add GC_BACKEND_GPG.
848         (gc_options_dirmngr): Add allow-ocsp.
850 2004-03-23  Marcus Brinkmann  <marcus@g10code.de>
852         * gpgconf-comp.c (gc_flag): Add missing flags.
854         * gpgconf-comp.c: Include <signal.h>.
855         (gc_backend): Add new member runtime_change.
856         (gpg_agent_runtime_change): New function.
857         (gc_component_change_options): New variable runtime.  Initialize
858         it.  If an option is changed that has the GC_OPT_FLAG_RUNTIME bit
859         set, also set the corresponding runtime variable.  Finally, call
860         the runtime_change callback of the backend if needed.   
862 2004-03-16  Werner Koch  <wk@gnupg.org>
864         * gpgconf-comp.c (gc_options_gpg_agent): Implemented.
865         (gc_options_gpgsm, gc_options_scdaemon): Implemented.
866         (gc_backend_t): Add GC_BACKEND_SCDAEMON.
868 2004-03-12  Marcus Brinkmann  <marcus@g10code.de>
870         * gpgconf-comp.c (gc_component_change_options): Set the filenames
871         of the option's backend, not of the component.
872         Also use GC_BACKEND_NR, not GC_COMPONENT_NR.
874 2004-03-09  Werner Koch  <wk@gnupg.org>
876         * gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we
877         don't want to clutter our code with system dependent stuff.
879 2004-03-08  Marcus Brinkmann  <marcus@g10code.de>
881         * gpgconf-comp.c (retrieve_options_from_file): Quote each string
882         in the list, not only the first.
884 2004-02-26  Marcus Brinkmann  <marcus@g10code.de>
886         * gpgconf-comp.c (gc_component_list_options): Do not print empty
887         groups.
889         * gpgconf-comp.c (option_check_validity): Check if option is
890         active.
891         (change_options_file): Implement.
893         * gpgconf-comp.c (retrieve_options_from_program): Remove broken
894         string handling.
896         * gpgconf-comp.c (change_options_program): Support all types of
897         options, including list types.
899         * README.gpgconf: Fix description of arguments.
900         * gpgconf-comp.c (option_check_validity): Rewritten to properly
901         support optional arguments in lists.
903         * README.gpgconf: Add info about optional arg and arg type 0.
904         * gpgconf-comp.c (gc_component_change_options): Parse list of
905         arg type 0 options.
906         (option_check_validity): Add new argument NEW_VALUE_NR.  Perform
907         rigorous validity checks.
908         (change_options_program): Disable an option also if we have a new
909         value for it.
911 2004-02-25  Marcus Brinkmann  <marcus@g10code.de>
913         * gpgconf-comp.c (gc_component_list_options): Correct output for
914         lists of arg type none.
915         (struct gc_option): Add new member new_flags.
916         (option_check_validity): Check OPTION->new_flags beside
917         OPTION->new_value.  Add new argument FLAGS.
918         (gc_component_change_options): Support default flag correctly.
919         (change_options_program): Likewise.
921 2004-02-24  Marcus Brinkmann  <marcus@g10code.de>
923         * README.gpgconf: Revert last change.  Add new flags "default",
924         "default desc" and "no arg desc".  Add new field ARGDEF.  Add new
925         field FLAG to backend interface.
926         * gpgconf-comp.c (struct gc_option): Make flags of type unsigned
927         long.
928         (gc_component_list_options): Adjust type for flags.
929         Add default argument field.
930         (retrieve_options_from_program): Use "1" as value for non-option
931         arguments, not "Y".
932         (gc_component_change_options): Read in flags from input.
934 2004-02-23  Marcus Brinkmann  <marcus@g10code.de>
936         * README.gpgconf: Change meaning of type 0 options value if it is
937         the empty string or "0".
939         * gpgconf.h (struct): Add member runtime.
940         * gpgconf.c: Add new option oRuntime.
941         (main): Same here.
943         * gpgconf-comp.c (hextobyte): New function.
944         (percent_deescape): New function.
945         (get_config_pathname): Percent deescape pathname if taken from
946         option (default) value.  Use default value only if it exists and
947         is not empty.  Use empty string otherwise.  Don't include leading
948         quote in pathname.
949         (change_options_program): Percent deescape string before writing
950         it out.
951         
952         * gpgconf-comp.c (gc_component_list_options): Do not skip groups
953         on output.
955 2004-02-18  Werner Koch  <wk@gnupg.org>
957         * gpgconf-comp.c: Added empty components for gpgsm and scdaemon.
959 2004-02-12  Werner Koch  <wk@gnupg.org>
961         * watchgnupg.c (main): Implement option "--".
962         (print_version): New.
964         * Makefile.am: Include cmacros.am for common flags.
966 2004-02-03  Werner Koch  <wk@gnupg.org>
968         * addgnupghome: Try to use getent, so that it also works for NIS
969         setups.
971 2004-01-31  Marcus Brinkmann  <marcus@g10code.de>
973         * gpgconf-comp.c: Some bug fixes, parse only defaults from the
974         program, and read the current values from the configuration file
975         directly.
977 2004-01-30  Marcus Brinkmann  <marcus@g10code.de>
979         * gpgconf-comp.c (gc_error): New function, use it instead of
980         error() throughout.
982         * gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and
983         gnupg_get_time, fix error() invocation and use getline()
984         consistently.
985         
986 2004-01-30  Werner Koch  <wk@gnupg.org>
988         * addgnupghome: Also set the group of copied files. 
990 2004-01-30  Werner Koch  <wk@gnupg.org>
992         * Makefile.am (sbin_SCRIPTS): New, to install addgnupghome.
993         (EXTRA_DIST): Added rfc822parse.c rfc822parse.h gpgparsemail.c
994         which might be useful for debugging.
996 2004-01-29  Werner Koch  <wk@gnupg.org>
998         * addgnupghome: New.
1000 2004-01-29  Marcus Brinkmann  <marcus@g10code.de>
1002         * gpgconf-list.c: File removed.
1003         * README.gpgconf: New file.
1004         * gpgconf-comp.c: New file.
1005         * Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add
1006         gpgconf-comp.c.
1008 2004-01-16  Werner Koch  <wk@gnupg.org>
1010         * watchgnupg.c (main): Need to use FD_ISSET for the client
1011         descriptors too; aiiih.  Set the listening socket to non-blocking.
1013 2004-01-10  Werner Koch  <wk@gnupg.org>
1015         * Makefile.am: Use GPG_ERROR_CFLAGS
1016         
1017 2004-01-05  Werner Koch  <wk@gnupg.org>
1019         * Manifest: New.
1020         * gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now.
1021         * no-libgcrypt.c: New.
1022         * Makefile.am: Add above.
1024 2003-12-23  Werner Koch  <wk@gnupg.org>
1026         * Makefile.am: New.
1027         * watchgnupg.c: New.
1030  Copyright 2003, 2004, 2005, 2006, 2007, 2008,
1031            2009 Free Software Foundation, Inc.
1033  This file is free software; as a special exception the author gives
1034  unlimited permission to copy and/or distribute it, with or without
1035  modifications, as long as this notice is preserved.
1037  This file is distributed in the hope that it will be useful, but
1038  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1039  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.