From 2336b09779d313c1594acf6df3bd8a8486e90458 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 1 Dec 2011 10:51:36 +0100 Subject: Generate the ChangeLog from commit logs. * scripts/gitlog-to-changelog: New script. Taken from gnulib. * scripts/git-log-fix: New file. * scripts/git-log-footer: New file. * doc/HACKING: Describe the ChangeLog policy * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. Rename all ChangeLog files to ChangeLog-2011. --- tools/ChangeLog | 1273 ------------------------------------------------- tools/ChangeLog-2011 | 1284 ++++++++++++++++++++++++++++++++++++++++++++++++++ tools/Makefile.am | 2 +- 3 files changed, 1285 insertions(+), 1274 deletions(-) delete mode 100644 tools/ChangeLog create mode 100644 tools/ChangeLog-2011 (limited to 'tools') diff --git a/tools/ChangeLog b/tools/ChangeLog deleted file mode 100644 index 9ae75d186..000000000 --- a/tools/ChangeLog +++ /dev/null @@ -1,1273 +0,0 @@ -2011-08-26 Werner Koch - - * gpgconf-comp.c (gc_component): Mark for translation. Suggested - by Yuri Chornoivan. - -2011-03-08 Werner Koch - - * symcryptrun.c [HAVE_UTMP_H]: Include utmp.h. - -2011-02-23 Werner Koch - - * gpgconf.c: Add command --kill. - * gpgconf-comp.c (gc_component_kill): New. - (gpg_agent_runtime_change, scdaemon_runtime_change): Add kill flag. - -2011-02-03 Werner Koch - - * watchgnupg.c (print_version): Update copyright year. - -2010-12-14 Werner Koch - - * gpgconf-comp.c (gc_options_gpg_agent, gc_options_scdaemon) - (gc_options_gpg, gc_options_gpgsm, gc_options_dirmngr): Define to - NULL if corresponding BUILD_WITH_foo is not defined. - -2010-12-02 Werner Koch - - * no-libgcrypt.c (gcry_cipher_algo_name): New. - -2010-11-23 Werner Koch - - * Makefile.am (gpgconf_LDFLAGS): Add extra_bin_ldflags. - -2010-11-17 Marcus Brinkmann - - * gogconf.c: Revert accidental debug output commit. - -2010-10-27 Werner Koch - - * symcryptrun.c (confucius_mktmpdir): Use TMPDIR. - -2010-10-14 Werner Koch - - * gpg-connect-agent.c: Add option --agent-program. - - * gpg-connect-agent.c (start_agent): Rewrite using the - start_new_gpg_agent function. - - * gpgconf-comp.c (gpg_agent_runtime_change): Use gpg-connect-agent - on all platforms. - -2010-10-06 Werner Koch - - * watchgnupg.c (print_version): Add option --time-only. - -2010-10-05 Werner Koch - - * watchgnupg.c (main): Support TCP and local socket listening. - (main): Factor some code out to .. - (setup_client): this. - (err): New. - (client_list): New. - -2010-08-25 Werner Koch - - * gpgtar-extract.c (create_directory): Add .p7m as known - extension. - - * gpgtar.c: Add -t as short option for --list-archive. - * gpgtar-extract.c (gpgtar_extract): Use filename "-" for stdin. - Fix dirprefix setting. - * gpgtar-list.c (gpgtar_list): Ditto. - -2010-08-24 Werner Koch - - * gpgtar.c (opts): Fix --cms and --openpgp names. - -2010-08-23 Werner Koch - - * gpgconf-comp.c (GPGNAME) [W32CE]: s/gpg2/gpg/. - (get_config_filename) [W32CE]: Adjust absolute file name check. - - * gpgconf-comp.c (retrieve_options_from_program) - (retrieve_options_from_file, retrieve_options_from_program) - (copy_file, gc_process_gpgconf_conf): Do not use es_ferror after a - failed es_fclose. Note that the stream is in any case invalid - after calling es_fclose and that es_fclose does set ERRNO. - - * Makefile.am (maybe_commonpth_libs): New. - (gpgconf_LDADD): Use it. - -2010-08-20 Werner Koch - - * gpgconf-comp.c (collect_error_output): Remove extra CRs. - -2010-08-19 Werner Koch - - * gpgconf.c (main): Fix --check-options. - - * gpgconf-comp.c (gc_component_check_options): Replace - gnupg_spawn_process_fd by gnupg_spawn_process. - (retrieve_options_from_program): Ditto. - (collect_error_output): Change to use estream. - - * gpgconf-comp.c: Add new backend and component for PINENTRY. - (gc_component_check_options): Use --version to test the pinentry. - (gc_component_retrieve_options, gc_component_change_options): - Ignore the pinentry component. - -2010-08-16 Werner Koch - - * gpgconf.c (get_outfp): Change to use estream. - (main): Replace fprintf by es_fprintf. - * gpgconf-comp.c (gc_component_list_components) - (gc_check_programs, gc_component_list_options) - (gc_component_change_options, gc_component_check_options) - (list_one_option, gc_process_gpgconf_conf): Replace FILE* args by - estream_t. - -2010-08-13 Werner Koch - - * Makefile.am (gpgkey2ssh_LDADD): Add NETLIBS. - -2010-08-11 Werner Koch - - * gpgtar-create.c (gpgtar_create): Allow "-" for stdout in - opt.outfile. Switch es_stdout to binary mode. - -2010-08-09 Werner Koch - - * watchgnupg.c: Inlcude in.h and inet.h. - (main): Support tcp connections. - - * gpgtar.c (main): Add options -T and --null. - * gpgtar-create.c (gpgtar_create): Implement option --null. - -2010-07-16 Werner Koch - - * gpgtar-create.c: Rewrite to better support W32. - -2010-07-01 Werner Koch - - * gpgtar.c: Add option --set-filename. - -2010-06-24 Werner Koch - - * gpgconf-comp.c (gpg_agent_runtime_change) - (scdaemon_runtime_change, retrieve_options_from_program): Use HANG - option for gnupg_wait_progress. Fixes regression from 2010-06-09. - -2010-06-07 Werner Koch - - * gpgtar.c, gpgtar.h, gpgtar-list.c, gpgtar-create.c - * gpgtar-extract.c: New. - * Makefile.am (commonpth_libs): New. - (gpgtar_SOURCES, gpgtar_CFLAGS, gpgtar_LDADD): New. - (bin_PROGRAMS) [!W32CE]: Add gpgtar. - -2010-04-20 Marcus Brinkmann - - * gpgconf-comp.c (option_check_validity): Use dummy variables to - silence gcc warning. - -2010-04-14 Werner Koch - - * Makefile.am (bin_PROGRAMS) [W32CE]: Exclude gpgkey2ssh. - (noinst_PROGRAMS) [W32CE]: Don't build them. - (pwquery_libs) [W32CE]: Set to empty. - -2010-03-25 Werner Koch - - * Makefile.am (opt_libassuan_libs) [W32CE]: New. - (gpgconf_LDADD): Use it. - - * gpgconf-comp.c: Include signal.h only if available. Use - gpg_err_set_errno. - (key_matches_user_or_group) [W32CE]: Do not match any user. - -2010-03-15 Werner Koch - - * gpgconf-comp.c (my_dgettext): - s/gettext_select_utf8/gettext_use_utf8/. - -2010-03-10 Werner Koch - - * Makefile.am (common_libs): Remove libjnlib.a. - -2010-03-08 Werner Koch - - * no-libgcrypt.c (gcry_create_nonce): New. - -2010-02-26 Werner Koch - - * gpg-connect-agent.c (main): New option --tcp-socket. - -2010-01-10 Werner Koch - - * symcryptrun.c (utmp.h): Remove header; it is not used. - -2009-12-18 Werner Koch - - * applygnupgdefaults (errorfile): Use mktemp. Fixes bug#1146. - -2009-12-08 Marcus Brinkmann - - * gpg-connect-agent.c (main): Convert posix fd to assuan fd. - -2009-12-07 Werner Koch - - * no-libgcrypt.c (gcry_strdup): Actually copy the string. - -2009-11-23 Werner Koch - - * gpgconf-comp.c (gc_options_gpg): Add default_pubkey_algo. - -2009-11-05 Marcus Brinkmann - - * gpg-connect-agent.c (start_agent): Update use of - assuan_socket_connect and assuan_pipe_connect. - -2009-11-04 Werner Koch - - * gpg-connect-agent.c (read_and_print_response): Add arg WITHHASH. - (main): Pass true for WITHHASH for the HELP command. - -2009-09-23 Marcus Brinkmann - - * gpg-connect-agent.c (getinfo_pid_cb, read_and_print_response) - (main): Update to new Assuan API. - -2009-07-21 Werner Koch - - * gpgsplit.c (my_strusage): Remove i18n stuff. - -2009-07-07 Werner Koch - - * gpg-connect-agent.c (start_agent): Adjust for changed args of - send_pinentry_environment. - -2009-06-30 Werner Koch - - * ccidmon.c (parse_line_sniffusb): Take also TAB as delimiter. - -2009-06-29 Werner Koch - - * ccidmon.c (parse_line_sniffusb): New. - (main): Add option --sniffusb. - -2009-06-08 Werner Koch - - * gpgconf.c (main): Call gnupg_reopen_std. Should fix bug#1072. - -2009-05-19 Werner Koch - - * watchgnupg.c: Include jnlib/mischelp.h if required. - (main): Use SUN_LEN. - -2009-04-17 Werner Koch - - * ccidmon.c: New. - -2009-03-03 Werner Koch - - * gpgconf.c: New command --reload. - - * gpgconf-comp.c (gc_component_reload): New. - -2009-03-02 Werner Koch - - * gpgconf-comp.c (scdaemon_runtime_change): Killsc d only if it is - not running. - -2009-02-27 Werner Koch - - * gpgconf-comp.c (gpg_agent_runtime_change): Declare static. - (scdaemon_runtime_change): New. - (gc_backend_scdaemon): Register new function. - (gc_options_scdaemon): Make most options runtime changable. - -2009-01-20 Werner Koch - - * gpgconf.c (main): Print more directories. - -2008-12-09 Werner Koch - - * gpg-check-pattern.c (main): Call i18n_init before - init_common_subsystems. - * gpg-connect-agent.c (main): Ditto. - * gpgconf.c (main): Ditto. - * symcryptrun.c (main): Ditto. - -2008-12-08 Werner Koch - - * gpgkey2ssh.c (main): Change order of output for RSA. Change name - of DSA identifier. Reported by Daniel Kahn Gillmor. This is - bug#901. - -2008-12-05 Werner Koch - - * gpg-connect-agent.c (opts): Use ARGPARSE_ macros. - (start_agent) [W32]: Start agent if not running. - -2008-12-03 Werner Koch - - * gpgconf-comp.c : Add option --card-timeout. Remove - unused option --disable-opensc. - -2008-10-20 Werner Koch - - * gpgsplit.c (write_part): Remove unused arg FNAME. Change caller. - (do_split): Ditto. - - * no-libgcrypt.c (gcry_control): Mark unused arg. - * gpg-connect-agent.c (do_recvfd): Ditto. - * gpgparsemail.c (mime_signed_begin, mime_encrypted_begin): Ditto. - (pkcs7_begin): Ditto. - -2008-10-01 Werner Koch - - * gpg-connect-agent.c (main): New command datafile. - (read_and_print_response): Print to the defined datafile. - -2008-09-30 Werner Koch - - * gpgconf.c (main) : Print the bindir. - -2008-08-06 Marcus Brinkmann - - * gpgconf-comp.c (gc_options_gpgsm): Change type of keyserver - option to GC_ARG_TYPE_LDAP_SERVER. - - * gpgconf-comp.c (retrieve_options_from_file): Transfer the - NO_CHANGE flag from the file name option to the list option. - -2008-06-19 Werner Koch - - * gpgconf-comp.c (GC_ARG_TYPE_ALIAS_LIST): New. - (gc_arg_type): Add fallback type. - (gc_options_gpg): Add option "group". - -2008-06-12 Marcus Brinkmann - - * gpgconf-comp.c (gc_options_gpgsm): Add option keyserver. - -2008-05-26 Marcus Brinkmann - - * gpgconf-comp.c: Replace pathname by filename everywhere. - - * gpgconf.c (enum cmd_and_opt_values): Add aListDirs. - (opts): Add aListDirs option. - (main): Handle aListDirs. - * gpgconf.h (gc_percent_escape): New declaration. - * gpgconf-comp.c (my_percent_escape): Make non-static and rename - to ... - (gc_percent_escape): ... this. Change all callers. - -2008-05-26 Werner Koch - - * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: Issue - "reloadagent" command to gpg-agent. - - * gpg-connect-agent.c (main): Allow server command on the command - line. - -2008-05-20 Marcus Brinkmann - - * gpgconf.h (gc_component_check_programs): Rename to ... - (gc_check_programs): ... this. - (gc_component_change_options): Add argument OUT. - (gc_component_check_options): New function. - * gpgconf.c (enum cmd_and_opt_values): New option aCheckOptions. - (opts): Add new option aCheckOptions (aka --check-options). - (main): Handle new option aCheckOptions. - * gpgconf-comp.c (gc_component_check_programs): Rename to ... - (gc_check_programs): ... this. Refactor core of it to ... - (gc_component_check_options): ... this new function. - (gc_component_change_options): Add new argument OUT. Externally - verify all changes. Implement option --dry-run. - -2008-05-09 Werner Koch - - * gpgconf-comp.c (my_dgettext) [USE_SIMPLE_GETTEXT]: Hack to - parly support translations. - -2008-04-08 Werner Koch - - * gpgconf-comp.c (gc_options_gpg): Add --auto-key-locate. - -2008-03-26 Werner Koch - - * make-dns-cert.c: Include unistd.h. Use config.h if requested. - (cert_key): Protect read against EINTR. - (main): Print SVN revision for standalone version. - -2008-03-05 Werner Koch - - * gpg-connect-agent.c (arithmetic_op): Add logical not, or and and. - (get_var_ext): Add functions errcode, errsource and errstring. - (read_and_print_response): Store server reply in $? variable. - (main): Implement IF command. - -2008-02-27 Marcus Brinkmann - - * gpgconf-comp.c (option_check_validity): For now, error out on - empty strings. - (enum): Add GC_ARG_TYPE_PUB_KEY and GC_ARG_TYPE_SEC_KEY. - -2008-02-01 Marcus Brinkmann - - * gpgconf-comp.c (gc_component_list_options): Fix memcpy. - Reported by Marc Mutz. - -2008-01-22 Werner Koch - - * gpgconf-comp.c: Use gnupg domain for honor-http-proxy. Make - "LDAP server list" group title translatable. - -2008-01-17 Marcus Brinkmann - - * gpgconf-comp.c (change_options_program): Strip duplicated - utf8-strings entries for gnupg backend. Don't create them either. - -2007-12-10 Marcus Brinkmann - - * gpgconf-comp.c (gc_component_list_options): Fix up expert level - of group. - -2007-12-04 Marcus Brinkmann - - * gpgconf-comp.c (gc_component_list_components): Do not print a - trailing semi-colon to ensure forward compatibility, as this would - indicate another empty field. - (gc_process_gpgconf_conf): Likewise. - -2007-11-15 Werner Koch - - * gpg-connect-agent.c (start_agent): Adjust changed - send_pinentry_environment. - -2007-10-24 Werner Koch - - * gpg-connect-agent.c (substitute_line): Restore temporary nul - marker. - (main): Add /while command. - -2007-10-23 Werner Koch - - * gpgconf-comp.c (gc_process_gpgconf_conf): Add arg - LISTFP. Changed all callers. - * gpgconf.h: Add gc_error. - * gpgconf.c: Add command --list-config. - (get_outfp): New. - (main): Make --output work. - - * gpgconf-comp.c (gc_options_gpg_agent): Replace accidently used - GC_BACKEND_SCDAEMON. We should consider to create these tables - from plain files. - -2007-10-22 Werner Koch - - * gpgconf-comp.c (retrieve_options_from_program): Replace use of - popen by our gnupg_spawn_process_fd. This is required because - popen under Windows can't handle long filenames. - -2007-10-19 Werner Koch - - * symcryptrun.c (confucius_get_pass): Use utf8 switching functions. - - * gpg-connect-agent.c (get_var_ext): New. - (substitute_line): Use it. - (assign_variable): Implement /slet in terms of get_var_ext. - (main): New option -s/--subst. - (add_definq): Add arg IS_VAR. Change all callers. - (main): Add command /definq. - (handle_inquire): Implement new command. - (substitute_line_copy): New. - (unescape_string, unpercent_string): New. - * no-libgcrypt.c (gcry_set_outofcore_handler) - (gcry_set_fatalerror_handler, gcry_set_log_handler): New. - * Makefile.am (gpg_connect_agent_LDADD): Link to libreadline. - - * gpgconf-comp.c (retrieve_options_from_file): Don't call fclose - with NULL. Fixes bug 842. - -2007-10-12 Werner Koch - - * gpg-connect-agent.c (substitute_line): Allow ${foo} syntax. - -2007-10-11 Werner Koch - - * gpg-connect-agent.c (get_var): Expand environment variables. - Suggested by Marc Mutz. - (set_var): Return the value. - (assign_variable): Add arg syslet. - (main): New command /slet. - (gnu_getcwd): New. - (assign_variable): Add tag cwd, and *dir. - -2007-10-02 Werner Koch - - * no-libgcrypt.c (gcry_malloc_secure): New. - - * gpg-connect-agent.c (set_var, set_int_var, get_var) - (substitute_line, show_variables, assign_variable) - (do_open, do_close, do_showopen): New. - (main): Add new commands /nosubst, /subst, /let, /showvar, /open, - /close and /showopen. - (main): New commands /run and /bye. - -2007-10-01 Werner Koch - - * gpg-connect-agent.c (do_sendfd): Use INT2FD for assuan_sendfd. - -2007-09-26 Werner Koch - - * gpg-connect-agent.c (main): Print the first response from the - server. - -2007-09-14 Werner Koch - - * gpgconf-comp.c: Make a string translatable. - -2007-09-04 Moritz Schulte - - * gpgsm-gencert.sh: Use printf instead of echo. - -2007-09-04 Moritz Schulte - - * gpgkey2ssh.c: Include sysutils.h so that gnupg_tmpfile() is - declared. - -2007-08-31 Werner Koch - - * gpgparsemail.c: Support PGP/MIME signed messages. - - * gpgconf-comp.c (gc_component_list_components): List the programs - names. - -2007-08-29 Werner Koch - - * gpgconf.c: New command --check-programs. - * gpgconf-comp.c (gc_component_check_programs): New. - (gc_backend): Add member MODULE_NAME and add these module names. - (retrieve_options_from_program): Use module name so that we use an - absolute file name and don't rely on $PATH. - (collect_error_output): New. - * no-libgcrypt.c (gcry_control): New. - -2007-08-28 Werner Koch - - * gpgconf-comp.c : Add options --max-passphrase-days - and --enable-passphrase-history. - -2007-08-27 Werner Koch - - * gpg-check-pattern.c: New - * Makefile.am (libexec_PROGRAMS): Add unless DISABLE_REGEX. - -2007-08-24 Werner Koch - - * gpgconf-comp.c : Add options --check-passphrase-pattern, - --min-passphrase-nonalpha and --enforce-passphrase-constraints and - move them into a new "passphrase policy" group. - (gc_component) [W32]: Enable dirmngr. - -2007-08-21 Werner Koch - - * gpgkey2ssh.c (key_to_blob): Use gnupg_tmpfile(). - -2007-08-02 Werner Koch - - * gpgconf-comp.c: Factor the public GC_OPT_FLAG constants out and - include gc-opt-flags.h. - -2007-07-17 Werner Koch - - * gpgconf-comp.c: Add --encrypt-to and --default-key to gpg and - gpgsm. - -2007-07-16 Marcus Brinkmann - - * gpg-connect-agent.c (main): Bail out if write fails. - -2007-07-05 Marcus Brinkmann - - * symcryptrun.c (confucius_get_pass): Define orig_codeset if - [ENABLE_NLS], not [HAVE_LANGINFO_CODESET]. - -2007-06-26 Werner Koch - - * gpgconf-comp.c (key_matches_user_or_group) [W32]: Implement user - name matching. - (GPGNAME): New. Use it instead of "gpg". - (gc_component) [W32]: Disable dirmngr for now. - (gc_component_retrieve_options): Ignore components without options. - (gc_component_change_options): Ditto. - (gc_component_list_options): Ditto. - (gc_component_find, gc_component_list_components): Ditto. - -2007-06-19 Werner Koch - - * gpgconf-comp.c (percent_escape): Rename to my_percent_escape. - Changed all callers. - -2007-06-18 Marcus Brinkmann - - * gpgconf-comp.c (retrieve_options_from_file): Close LIST_FILE. - (copy_file): In error case, save/restore errno. Close SRC and DST. - (gc_component_change_options): Catch error from unlink(). Remove - target backup file before rename(). - -2007-06-15 Marcus Brinkmann - - * gpgconf-comp.c (copy_file) [HAVE_W32_SYSTEM]: New function. - (change_options_file, change_options_program) [HAVE_W32_SYSTEM]: - Copy backup file. - (gc_component_change_options) [HAVE_W32_SYSTEM]: Non-atomic replace. - (gc_process_gpgconf_conf): Rename fname to fname_arg and - fname_buffer to fname, initialize fname with fname_arg, discarding - const qualifier. - -2007-06-15 Werner Koch - - * Makefile.am (symcryptrun_LDADD): It is LIBICONV and not LIBINCONV. - (gpgconf_LDADD, symcryptrun_LDADD): Add W32SOCKLIBS. - -2007-06-14 Werner Koch - - * symcryptrun.c (main): Setup default socket name for - simple-pwquery. - (MAP_SPWQ_ERROR_IMPL): New. Use it for all spwq error returns. - -2007-06-12 Werner Koch - - * gpgconf-comp.c (gc_process_gpgconf_conf): Replace - GNUPG_SYSCONFDIR by a function call. - - * gpg-connect-agent.c (main): Replace some calls by - init_common_subsystems. - * gpgconf.c (main): Ditto. - * symcryptrun.c (main): Ditto. - -2007-06-11 Werner Koch - - * symcryptrun.c (main) [W32]: Call pth_init. - * gpgconf.c (main) [W32]: Call pth_init - * gpg-connect-agent.c (main) [W32]: Call pth_init. - -2007-06-06 Werner Koch - - * Makefile.am (bin_PROGRAMS) [W32]: Do not build gpgparsemail. - - * gpgconf-comp.c [W32]: Do not include pwd.h and grp.h. - (key_matches_user_or_group) [W32]: For now always return false. - - * symcryptrun.c (i18n_init): Remove. - * gpgconf.c (i18n_init): Remove. - * gpg-connect-agent.c (i18n_init): Remove. - -2007-05-19 Marcus Brinkmann - - * symcryptrun.c (confucius_get_pass): Free ORIG_CODESET on error. - -2007-05-08 Werner Koch - - * sockprox.c: New. It needs to be build manually. By Moritz - Schulte. - -2007-04-20 Werner Koch - - * symcryptrun.c (my_gcry_logger): Removed. - (main): Call setup_libgcrypt_logging. - -2007-04-03 Werner Koch - - * gpgconf-comp.c: Allow changing of --allow-mark-trusted. - - * gpg-connect-agent.c (main): New option --decode and commands - decode and undecode. - (read_and_print_response): Implement option. - -2007-03-20 Werner Koch - - * gpgconf-comp.c (gc_options_gpgsm): Add p12-charset. - -2007-03-07 Werner Koch - - * applygnupgdefaults: New. - * Makefile.am (sbin_SCRIPTS): Add it - -2007-03-06 Werner Koch - - * gpgconf-comp.c: Include pwd.h and grp.h. - (GC_OPT_FLAG_NO_CHANGE): New. - (gc_component_change_options): Implement it. - (gc_options_gpg_agent): Add options for all ttl values and - min-passphrase-length. Apply new flag to some of them. - (gc_process_gpgconf_conf, key_matches_user_or_group): New. - (gc_component_change_options): Factor some code out to .. - (change_one_value): .. new. - (gc_component_retrieve_options): Allow -1 for COMPONENT to iterate - over al components. - * gpgconf.c (main): New commands --check-config and - --apply-defaults. Call gc_process_gpgconf_conf. - -2007-01-31 Werner Koch - - * Makefile.am (symcryptrun_LDADD): Add LIBICONV. - (gpgkey2ssh_LDADD): Ditto. - -2006-12-13 David Shaw - - * Makefile.am (gpgsplit_LDADD): Link to LIBINTL if we're using the - built-in code. - -2006-12-07 David Shaw - - * Makefile.am: Link to iconv for jnlib dependency. - -2006-11-23 Werner Koch - - * Makefile.am (gpg_connect_agent_LDADD): Add NETLIBS. - -2006-11-21 Werner Koch - - * gpgconf-comp.c (list_one_option): Cast print size_t arg. - -2006-11-17 Werner Koch - - * gpgconf-comp.c: Made disable-keypad a basic option. - -2006-11-03 Werner Koch - - * symcryptrun.c: Include signal.h and include pth.h only if test - asserts that it exists. - -2006-10-23 Werner Koch - - * gpgconf-comp.c : Add --cipher-algo. - -2006-10-20 Werner Koch - - * gpgsm-gencert.sh: Enhanced the main menu. - -2006-10-12 Werner Koch - - * Makefile.am (gpg-zip, gpgsplit): Do not install due to a - conflict with gpg1. - -2006-10-11 Werner Koch - - * gpgsm-gencert.sh: Allow generation of card keys. - -2006-10-08 Werner Koch - - * Makefile.am (gpgkey2ssh_LDADD): Add LIBINTL. Suggested by - Andreas Metzler. - -2006-09-22 Werner Koch - - * no-libgcrypt.c: Changed license to a simple all permissive one. - -2006-09-20 Werner Koch - - * Makefile.am: Changes to allow parallel make runs. - -2006-09-12 Werner Koch - - Replaced all call gpg_error_from_errno(errno) by - gpg_error_from_syserror(). - - * gpg-connect-agent.c (read_and_print_response): With verbosity - level 2 also print comment lines. - -2006-09-06 Werner Koch - - * gpg-connect-agent.c: Switch everything to new Assuan error code - style. - - * no-libgcrypt.c (out_of_core): Reanmed to ... - (out_of_memory): .. this to avoid name clash with util.h. - -2006-08-21 Werner Koch - - * gpgsplit.c: New. Taken from 1.4. Adjusted to GnuPG2. - - * Makefile.am (noinst_PROGRAMS): New. - -2006-06-09 Marcus Brinkmann - - * Makefile.am (gpgconf_LDADD): Add $(GPG_ERROR_LIBS). - (gpgkey2ssh_LDADD): Add ../jnlib/libjnlib.a. - -2006-05-23 Werner Koch - - * gpgparsemail.c: Include config.h if available - (stpcpy): Conditional include it. - - * gpgconf-comp.c (hextobyte): Removed as it is now availble in - jnlib. - -2005-12-20 Werner Koch - - * gpgconf-comp.c (gc_options_gpg): Add allow-pka-lookup. - -2005-12-14 Werner Koch - - * Makefile.am (bin_PROGRAMS): Build gpgparsemail. - - * gpgparsemail.c (pkcs7_begin): New. - (parse_message, message_cb): Add support of direct pkcs signatures. - -2005-10-19 Werner Koch - - * gpgconf-comp.c (gc_options_scdaemon): New option --disable-keypad. - -2005-09-22 Werner Koch - - * rfc822parse.c (parse_field): Tread Content-Disposition special. - -2005-10-08 Marcus Brinkmann - - * Makefile.am (watchgnupg_LDADD): New variable. - - * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after - ../common/libcommon.a. - (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD): - Likewise. - -2005-09-29 Marcus Brinkmann - - * Makefile.am (AM_CFLAGS): Add $(LIBGCRYPT_CFLAGS). - -2005-09-06 Werner Koch - - * rfc822parse.c, rfc822parse.h: Changed license to LGPL. - -2005-08-01 Werner Koch - - * gpgsm-gencert.sh: Allow entering a keygrip to generate a CSR from - an existing key. - -2005-07-21 Werner Koch - - * gpgsm-gencert.sh: Reworked to allow for multiple email addresses - as well as DNsanmes and URi. Present the parameter file before - creating the certificate. - -2005-07-04 Marcus Brinkmann - - * symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols, - use instead constants. - (hash_string): New function copied from simple-gettext.c. - (confucius_get_pass): Take new argument CACHEID. - (confucius_process): Calculate cacheid and pass it to - confucius_get_pass. Clear passphrase from cache if necessary. - -2005-06-16 Werner Koch - - * gpg-connect-agent.c (read_and_print_response): Made LINELEN a - size_t. - -2005-06-04 Marcus Brinkmann - - * symcryptrun.c (main): Allow any number of arguments, don't use - first argument as input file name. Pass extra arguments to - confucius_main. - (confucius_main): Accept new arguments argc and argv and pass them - to confucius_process. - (confucius_process): Accept new arguments argc and argv and pass - them to the confucius process. - -2005-06-01 Werner Koch - - * symcryptrun.c: Include mkdtemp.h. - -2005-05-31 Werner Koch - - * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines. - Noted by Ray Link. - -2005-05-28 Moritz Schulte - - * gpgkey2ssh.c: New file. - * Makefile.am (bin_PROGRAMS): Added gpgkey2ssh. - -2005-05-20 Werner Koch - - * gpg-connect-agent.c (add_definq, show_definq, clear_definq) - (handle_inquire): New. - (read_and_print_response): Handle INQUIRE command. - (main): Implement control commands. - -2005-04-21 Werner Koch - - * symcryptrun.c (main): Optionally allow the input file as command - line argument. - - * gpgconf-comp.c: Add gpgsm option disable-trusted-cert-crl-check. - -2005-04-20 Werner Koch - - * gpgconf-comp.c: Add gpg-agent:disable-scdaemon. - -2005-04-19 Marcus Brinkmann - - * symcryptrun.c: Add --input option. - -2005-04-15 Marcus Brinkmann - - * symcryptrun.c (TEMP_FAILURE_RETRY): Define if not defined. - - * symcryptrun.c (remove_file): New function. - (confucius_copy_file): Accept new argument PLAIN and shred the - file if it is set on error. - - * Makefile.am: Define symcryptrun make variable depending on - BUILD_SYMCRYPTUN. - (bin_PROGRAMS): Add ${symcryptrun} instead symcryptrun. - (symcryptrun_LDADD): Use $(LIBUTIL_LIBS) instead of -lutil. - -2005-04-11 Werner Koch - - * symcryptrun.c (confucius_mktmpdir): Changed to use mkdtmp(3). - -2005-04-11 Marcus Brinkmann - - * symcryptrun.c: Implement config file parsing. - - * Makefile.am (bin_PROGRAMS): Add symcryptrun. - (symcryptrun_SOURCES, symcryptrun_LDADD): New variables. - * symcryptrun.c: New file. - -2005-03-31 Werner Koch - - * gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'. - -2005-03-09 Werner Koch - - * gpgconf-comp.c : Add honor-http-proxy. - -2005-02-25 Werner Koch - - * no-libgcrypt.c (gcry_strdup): New. - -2005-02-24 Werner Koch - - * gpg-connect-agent.c: New. - * Makefile.am: Add it. - -2004-12-21 Werner Koch - - * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute - pathnames with a drive letter. - -2004-12-15 Werner Koch - - * Makefile.am (bin_PROGRAMS) [W32]: Do not build watchgnupg. - - * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: No way yet to - send a signal. Disable. - (change_options_file, change_options_program) [W32]: No link(2), - so we disable it. - (gc_component_change_options): Use rename instead of link. - -2004-12-13 Werner Koch - - * gpgconf-comp.c : Fixed typo. - -2004-11-24 Werner Koch - - * gpgconf-comp.c : Add --ignore-http-dp, --ignore-ldap-dp - and --ignore-ocsp-service-url. - -2004-11-23 Werner Koch - - * gpgconf-comp.c : Add the proxy options. - : Add --prefer-system-daemon. - -2004-11-11 Werner Koch - - * watchgnupg.c (main): Fixed test for read error. - -2004-10-22 Werner Koch - - * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh - - * gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF. - -2004-10-01 Werner Koch - - * gpgconf-comp.c: Made all strings for --log-file read the same. - -2004-10-01 Werner Koch - - * gpgconf-comp.c (my_dgettext): Also switch codeset and directory - for the other used domains (i.e. dirmngr). - - * gpgconf.c (main): Fixed translation markers. - -2004-09-30 Werner Koch - - * gpgconf.c (i18n_init): Always use LC_ALL. - - * Makefile.am: Adjusted for gettext 0.14. - -2004-09-29 Werner Koch - - * gpgconf-comp.c: Made the entries fro GROUPs translatable. - Include i18n.h. - (my_dgettext): Hack to use the gnupg2 domain. - -2004-08-09 Moritz Schulte - - * gpgsm-gencert.sh: New file. - -2004-06-16 Werner Koch - - * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF. - -2004-06-14 Werner Koch - - * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. - - * gpgconf-comp.c (retrieve_options_from_program) - (retrieve_options_from_file, change_options_file) - (change_options_program, gc_component_change_options): Replaced - getline by read_line and test for allocation failure. - -2004-05-21 Marcus Brinkmann - - * gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its - only option "max-replies" into LDAP group. - (gc_component): Change description of dirmngr to "Directory - Manager". - - * gpgconf-comp.c (gc_component_change_options): Move the - per-process backup file into a standard location. - -2004-05-03 Werner Koch - - * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent. - -2004-04-30 Werner Koch - - * gpgconf-comp.c: Added more runtime flags for the gpg-agent - backend. - -2004-04-29 Marcus Brinkmann - - * gpgconf-comp.c (change_options_program): Turn on utf8-strings in - the gpgconf specific part of the config file for the GnuPG - backend. - -2004-04-28 Werner Koch - - * gpgconf-comp.c: Add --ocsp-signer for the dirmngr backend. - -2004-04-20 Marcus Brinkmann - - * gpgconf-comp.c (gc_options_gpg_agent): Change type of - ignore-cache-for-signing option to GC_ARG_TYPE_NONE. - -2004-04-07 Werner Koch - - * gpgconf-comp.c (my_dgettext): Switch the codeset once to utf-8. - Allow building with out NLS. - -2004-03-23 Marcus Brinkmann - - * gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for - "LDAP Server". - (change_options_file): Remove assertion that tests that this flag - is not present. Handle an empty string in OPTION->new_value. - - * gpgconf.c (main): Remove obsolete warning. - -2004-03-23 Werner Koch - - * gpgconf-comp.c (gc_options_gpg): New. - (gc_component_t, gc_component): Add GC_BACKEND_GPG. - (gc_options_dirmngr): Add allow-ocsp. - -2004-03-23 Marcus Brinkmann - - * gpgconf-comp.c (gc_flag): Add missing flags. - - * gpgconf-comp.c: Include . - (gc_backend): Add new member runtime_change. - (gpg_agent_runtime_change): New function. - (gc_component_change_options): New variable runtime. Initialize - it. If an option is changed that has the GC_OPT_FLAG_RUNTIME bit - set, also set the corresponding runtime variable. Finally, call - the runtime_change callback of the backend if needed. - -2004-03-16 Werner Koch - - * gpgconf-comp.c (gc_options_gpg_agent): Implemented. - (gc_options_gpgsm, gc_options_scdaemon): Implemented. - (gc_backend_t): Add GC_BACKEND_SCDAEMON. - -2004-03-12 Marcus Brinkmann - - * gpgconf-comp.c (gc_component_change_options): Set the filenames - of the option's backend, not of the component. - Also use GC_BACKEND_NR, not GC_COMPONENT_NR. - -2004-03-09 Werner Koch - - * gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we - don't want to clutter our code with system dependent stuff. - -2004-03-08 Marcus Brinkmann - - * gpgconf-comp.c (retrieve_options_from_file): Quote each string - in the list, not only the first. - -2004-02-26 Marcus Brinkmann - - * gpgconf-comp.c (gc_component_list_options): Do not print empty - groups. - - * gpgconf-comp.c (option_check_validity): Check if option is - active. - (change_options_file): Implement. - - * gpgconf-comp.c (retrieve_options_from_program): Remove broken - string handling. - - * gpgconf-comp.c (change_options_program): Support all types of - options, including list types. - - * README.gpgconf: Fix description of arguments. - * gpgconf-comp.c (option_check_validity): Rewritten to properly - support optional arguments in lists. - - * README.gpgconf: Add info about optional arg and arg type 0. - * gpgconf-comp.c (gc_component_change_options): Parse list of - arg type 0 options. - (option_check_validity): Add new argument NEW_VALUE_NR. Perform - rigorous validity checks. - (change_options_program): Disable an option also if we have a new - value for it. - -2004-02-25 Marcus Brinkmann - - * gpgconf-comp.c (gc_component_list_options): Correct output for - lists of arg type none. - (struct gc_option): Add new member new_flags. - (option_check_validity): Check OPTION->new_flags beside - OPTION->new_value. Add new argument FLAGS. - (gc_component_change_options): Support default flag correctly. - (change_options_program): Likewise. - -2004-02-24 Marcus Brinkmann - - * README.gpgconf: Revert last change. Add new flags "default", - "default desc" and "no arg desc". Add new field ARGDEF. Add new - field FLAG to backend interface. - * gpgconf-comp.c (struct gc_option): Make flags of type unsigned - long. - (gc_component_list_options): Adjust type for flags. - Add default argument field. - (retrieve_options_from_program): Use "1" as value for non-option - arguments, not "Y". - (gc_component_change_options): Read in flags from input. - -2004-02-23 Marcus Brinkmann - - * README.gpgconf: Change meaning of type 0 options value if it is - the empty string or "0". - - * gpgconf.h (struct): Add member runtime. - * gpgconf.c: Add new option oRuntime. - (main): Same here. - - * gpgconf-comp.c (hextobyte): New function. - (percent_deescape): New function. - (get_config_pathname): Percent deescape pathname if taken from - option (default) value. Use default value only if it exists and - is not empty. Use empty string otherwise. Don't include leading - quote in pathname. - (change_options_program): Percent deescape string before writing - it out. - - * gpgconf-comp.c (gc_component_list_options): Do not skip groups - on output. - -2004-02-18 Werner Koch - - * gpgconf-comp.c: Added empty components for gpgsm and scdaemon. - -2004-02-12 Werner Koch - - * watchgnupg.c (main): Implement option "--". - (print_version): New. - - * Makefile.am: Include cmacros.am for common flags. - -2004-02-03 Werner Koch - - * addgnupghome: Try to use getent, so that it also works for NIS - setups. - -2004-01-31 Marcus Brinkmann - - * gpgconf-comp.c: Some bug fixes, parse only defaults from the - program, and read the current values from the configuration file - directly. - -2004-01-30 Marcus Brinkmann - - * gpgconf-comp.c (gc_error): New function, use it instead of - error() throughout. - - * gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and - gnupg_get_time, fix error() invocation and use getline() - consistently. - -2004-01-30 Werner Koch - - * addgnupghome: Also set the group of copied files. - -2004-01-30 Werner Koch - - * Makefile.am (sbin_SCRIPTS): New, to install addgnupghome. - (EXTRA_DIST): Added rfc822parse.c rfc822parse.h gpgparsemail.c - which might be useful for debugging. - -2004-01-29 Werner Koch - - * addgnupghome: New. - -2004-01-29 Marcus Brinkmann - - * gpgconf-list.c: File removed. - * README.gpgconf: New file. - * gpgconf-comp.c: New file. - * Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add - gpgconf-comp.c. - -2004-01-16 Werner Koch - - * watchgnupg.c (main): Need to use FD_ISSET for the client - descriptors too; aiiih. Set the listening socket to non-blocking. - -2004-01-10 Werner Koch - - * Makefile.am: Use GPG_ERROR_CFLAGS - -2004-01-05 Werner Koch - - * Manifest: New. - * gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now. - * no-libgcrypt.c: New. - * Makefile.am: Add above. - -2003-12-23 Werner Koch - - * Makefile.am: New. - * watchgnupg.c: New. - - - Copyright 2003, 2004, 2005, 2006, 2007, 2008, - 2009, 2010, 2011 Free Software Foundation, Inc. - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/tools/ChangeLog-2011 b/tools/ChangeLog-2011 new file mode 100644 index 000000000..6821a8782 --- /dev/null +++ b/tools/ChangeLog-2011 @@ -0,0 +1,1284 @@ +2011-12-01 Werner Koch + + NB: ChangeLog files are no longer manually maintained. Starting + on December 1st, 2011 we put change information only in the GIT + commit log, and generate a top-level ChangeLog file from logs at + "make dist". See doc/HACKING for details. + +2011-08-26 Werner Koch + + * gpgconf-comp.c (gc_component): Mark for translation. Suggested + by Yuri Chornoivan. + +2011-03-08 Werner Koch + + * symcryptrun.c [HAVE_UTMP_H]: Include utmp.h. + +2011-02-23 Werner Koch + + * gpgconf.c: Add command --kill. + * gpgconf-comp.c (gc_component_kill): New. + (gpg_agent_runtime_change, scdaemon_runtime_change): Add kill flag. + +2011-02-03 Werner Koch + + * watchgnupg.c (print_version): Update copyright year. + +2010-12-14 Werner Koch + + * gpgconf-comp.c (gc_options_gpg_agent, gc_options_scdaemon) + (gc_options_gpg, gc_options_gpgsm, gc_options_dirmngr): Define to + NULL if corresponding BUILD_WITH_foo is not defined. + +2010-12-02 Werner Koch + + * no-libgcrypt.c (gcry_cipher_algo_name): New. + +2010-11-23 Werner Koch + + * Makefile.am (gpgconf_LDFLAGS): Add extra_bin_ldflags. + +2010-11-17 Marcus Brinkmann + + * gogconf.c: Revert accidental debug output commit. + +2010-10-27 Werner Koch + + * symcryptrun.c (confucius_mktmpdir): Use TMPDIR. + +2010-10-14 Werner Koch + + * gpg-connect-agent.c: Add option --agent-program. + + * gpg-connect-agent.c (start_agent): Rewrite using the + start_new_gpg_agent function. + + * gpgconf-comp.c (gpg_agent_runtime_change): Use gpg-connect-agent + on all platforms. + +2010-10-06 Werner Koch + + * watchgnupg.c (print_version): Add option --time-only. + +2010-10-05 Werner Koch + + * watchgnupg.c (main): Support TCP and local socket listening. + (main): Factor some code out to .. + (setup_client): this. + (err): New. + (client_list): New. + +2010-08-25 Werner Koch + + * gpgtar-extract.c (create_directory): Add .p7m as known + extension. + + * gpgtar.c: Add -t as short option for --list-archive. + * gpgtar-extract.c (gpgtar_extract): Use filename "-" for stdin. + Fix dirprefix setting. + * gpgtar-list.c (gpgtar_list): Ditto. + +2010-08-24 Werner Koch + + * gpgtar.c (opts): Fix --cms and --openpgp names. + +2010-08-23 Werner Koch + + * gpgconf-comp.c (GPGNAME) [W32CE]: s/gpg2/gpg/. + (get_config_filename) [W32CE]: Adjust absolute file name check. + + * gpgconf-comp.c (retrieve_options_from_program) + (retrieve_options_from_file, retrieve_options_from_program) + (copy_file, gc_process_gpgconf_conf): Do not use es_ferror after a + failed es_fclose. Note that the stream is in any case invalid + after calling es_fclose and that es_fclose does set ERRNO. + + * Makefile.am (maybe_commonpth_libs): New. + (gpgconf_LDADD): Use it. + +2010-08-20 Werner Koch + + * gpgconf-comp.c (collect_error_output): Remove extra CRs. + +2010-08-19 Werner Koch + + * gpgconf.c (main): Fix --check-options. + + * gpgconf-comp.c (gc_component_check_options): Replace + gnupg_spawn_process_fd by gnupg_spawn_process. + (retrieve_options_from_program): Ditto. + (collect_error_output): Change to use estream. + + * gpgconf-comp.c: Add new backend and component for PINENTRY. + (gc_component_check_options): Use --version to test the pinentry. + (gc_component_retrieve_options, gc_component_change_options): + Ignore the pinentry component. + +2010-08-16 Werner Koch + + * gpgconf.c (get_outfp): Change to use estream. + (main): Replace fprintf by es_fprintf. + * gpgconf-comp.c (gc_component_list_components) + (gc_check_programs, gc_component_list_options) + (gc_component_change_options, gc_component_check_options) + (list_one_option, gc_process_gpgconf_conf): Replace FILE* args by + estream_t. + +2010-08-13 Werner Koch + + * Makefile.am (gpgkey2ssh_LDADD): Add NETLIBS. + +2010-08-11 Werner Koch + + * gpgtar-create.c (gpgtar_create): Allow "-" for stdout in + opt.outfile. Switch es_stdout to binary mode. + +2010-08-09 Werner Koch + + * watchgnupg.c: Inlcude in.h and inet.h. + (main): Support tcp connections. + + * gpgtar.c (main): Add options -T and --null. + * gpgtar-create.c (gpgtar_create): Implement option --null. + +2010-07-16 Werner Koch + + * gpgtar-create.c: Rewrite to better support W32. + +2010-07-01 Werner Koch + + * gpgtar.c: Add option --set-filename. + +2010-06-24 Werner Koch + + * gpgconf-comp.c (gpg_agent_runtime_change) + (scdaemon_runtime_change, retrieve_options_from_program): Use HANG + option for gnupg_wait_progress. Fixes regression from 2010-06-09. + +2010-06-07 Werner Koch + + * gpgtar.c, gpgtar.h, gpgtar-list.c, gpgtar-create.c + * gpgtar-extract.c: New. + * Makefile.am (commonpth_libs): New. + (gpgtar_SOURCES, gpgtar_CFLAGS, gpgtar_LDADD): New. + (bin_PROGRAMS) [!W32CE]: Add gpgtar. + +2010-04-20 Marcus Brinkmann + + * gpgconf-comp.c (option_check_validity): Use dummy variables to + silence gcc warning. + +2010-04-14 Werner Koch + + * Makefile.am (bin_PROGRAMS) [W32CE]: Exclude gpgkey2ssh. + (noinst_PROGRAMS) [W32CE]: Don't build them. + (pwquery_libs) [W32CE]: Set to empty. + +2010-03-25 Werner Koch + + * Makefile.am (opt_libassuan_libs) [W32CE]: New. + (gpgconf_LDADD): Use it. + + * gpgconf-comp.c: Include signal.h only if available. Use + gpg_err_set_errno. + (key_matches_user_or_group) [W32CE]: Do not match any user. + +2010-03-15 Werner Koch + + * gpgconf-comp.c (my_dgettext): + s/gettext_select_utf8/gettext_use_utf8/. + +2010-03-10 Werner Koch + + * Makefile.am (common_libs): Remove libjnlib.a. + +2010-03-08 Werner Koch + + * no-libgcrypt.c (gcry_create_nonce): New. + +2010-02-26 Werner Koch + + * gpg-connect-agent.c (main): New option --tcp-socket. + +2010-01-10 Werner Koch + + * symcryptrun.c (utmp.h): Remove header; it is not used. + +2009-12-18 Werner Koch + + * applygnupgdefaults (errorfile): Use mktemp. Fixes bug#1146. + +2009-12-08 Marcus Brinkmann + + * gpg-connect-agent.c (main): Convert posix fd to assuan fd. + +2009-12-07 Werner Koch + + * no-libgcrypt.c (gcry_strdup): Actually copy the string. + +2009-11-23 Werner Koch + + * gpgconf-comp.c (gc_options_gpg): Add default_pubkey_algo. + +2009-11-05 Marcus Brinkmann + + * gpg-connect-agent.c (start_agent): Update use of + assuan_socket_connect and assuan_pipe_connect. + +2009-11-04 Werner Koch + + * gpg-connect-agent.c (read_and_print_response): Add arg WITHHASH. + (main): Pass true for WITHHASH for the HELP command. + +2009-09-23 Marcus Brinkmann + + * gpg-connect-agent.c (getinfo_pid_cb, read_and_print_response) + (main): Update to new Assuan API. + +2009-07-21 Werner Koch + + * gpgsplit.c (my_strusage): Remove i18n stuff. + +2009-07-07 Werner Koch + + * gpg-connect-agent.c (start_agent): Adjust for changed args of + send_pinentry_environment. + +2009-06-30 Werner Koch + + * ccidmon.c (parse_line_sniffusb): Take also TAB as delimiter. + +2009-06-29 Werner Koch + + * ccidmon.c (parse_line_sniffusb): New. + (main): Add option --sniffusb. + +2009-06-08 Werner Koch + + * gpgconf.c (main): Call gnupg_reopen_std. Should fix bug#1072. + +2009-05-19 Werner Koch + + * watchgnupg.c: Include jnlib/mischelp.h if required. + (main): Use SUN_LEN. + +2009-04-17 Werner Koch + + * ccidmon.c: New. + +2009-03-03 Werner Koch + + * gpgconf.c: New command --reload. + + * gpgconf-comp.c (gc_component_reload): New. + +2009-03-02 Werner Koch + + * gpgconf-comp.c (scdaemon_runtime_change): Killsc d only if it is + not running. + +2009-02-27 Werner Koch + + * gpgconf-comp.c (gpg_agent_runtime_change): Declare static. + (scdaemon_runtime_change): New. + (gc_backend_scdaemon): Register new function. + (gc_options_scdaemon): Make most options runtime changable. + +2009-01-20 Werner Koch + + * gpgconf.c (main): Print more directories. + +2008-12-09 Werner Koch + + * gpg-check-pattern.c (main): Call i18n_init before + init_common_subsystems. + * gpg-connect-agent.c (main): Ditto. + * gpgconf.c (main): Ditto. + * symcryptrun.c (main): Ditto. + +2008-12-08 Werner Koch + + * gpgkey2ssh.c (main): Change order of output for RSA. Change name + of DSA identifier. Reported by Daniel Kahn Gillmor. This is + bug#901. + +2008-12-05 Werner Koch + + * gpg-connect-agent.c (opts): Use ARGPARSE_ macros. + (start_agent) [W32]: Start agent if not running. + +2008-12-03 Werner Koch + + * gpgconf-comp.c : Add option --card-timeout. Remove + unused option --disable-opensc. + +2008-10-20 Werner Koch + + * gpgsplit.c (write_part): Remove unused arg FNAME. Change caller. + (do_split): Ditto. + + * no-libgcrypt.c (gcry_control): Mark unused arg. + * gpg-connect-agent.c (do_recvfd): Ditto. + * gpgparsemail.c (mime_signed_begin, mime_encrypted_begin): Ditto. + (pkcs7_begin): Ditto. + +2008-10-01 Werner Koch + + * gpg-connect-agent.c (main): New command datafile. + (read_and_print_response): Print to the defined datafile. + +2008-09-30 Werner Koch + + * gpgconf.c (main) : Print the bindir. + +2008-08-06 Marcus Brinkmann + + * gpgconf-comp.c (gc_options_gpgsm): Change type of keyserver + option to GC_ARG_TYPE_LDAP_SERVER. + + * gpgconf-comp.c (retrieve_options_from_file): Transfer the + NO_CHANGE flag from the file name option to the list option. + +2008-06-19 Werner Koch + + * gpgconf-comp.c (GC_ARG_TYPE_ALIAS_LIST): New. + (gc_arg_type): Add fallback type. + (gc_options_gpg): Add option "group". + +2008-06-12 Marcus Brinkmann + + * gpgconf-comp.c (gc_options_gpgsm): Add option keyserver. + +2008-05-26 Marcus Brinkmann + + * gpgconf-comp.c: Replace pathname by filename everywhere. + + * gpgconf.c (enum cmd_and_opt_values): Add aListDirs. + (opts): Add aListDirs option. + (main): Handle aListDirs. + * gpgconf.h (gc_percent_escape): New declaration. + * gpgconf-comp.c (my_percent_escape): Make non-static and rename + to ... + (gc_percent_escape): ... this. Change all callers. + +2008-05-26 Werner Koch + + * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: Issue + "reloadagent" command to gpg-agent. + + * gpg-connect-agent.c (main): Allow server command on the command + line. + +2008-05-20 Marcus Brinkmann + + * gpgconf.h (gc_component_check_programs): Rename to ... + (gc_check_programs): ... this. + (gc_component_change_options): Add argument OUT. + (gc_component_check_options): New function. + * gpgconf.c (enum cmd_and_opt_values): New option aCheckOptions. + (opts): Add new option aCheckOptions (aka --check-options). + (main): Handle new option aCheckOptions. + * gpgconf-comp.c (gc_component_check_programs): Rename to ... + (gc_check_programs): ... this. Refactor core of it to ... + (gc_component_check_options): ... this new function. + (gc_component_change_options): Add new argument OUT. Externally + verify all changes. Implement option --dry-run. + +2008-05-09 Werner Koch + + * gpgconf-comp.c (my_dgettext) [USE_SIMPLE_GETTEXT]: Hack to + parly support translations. + +2008-04-08 Werner Koch + + * gpgconf-comp.c (gc_options_gpg): Add --auto-key-locate. + +2008-03-26 Werner Koch + + * make-dns-cert.c: Include unistd.h. Use config.h if requested. + (cert_key): Protect read against EINTR. + (main): Print SVN revision for standalone version. + +2008-03-05 Werner Koch + + * gpg-connect-agent.c (arithmetic_op): Add logical not, or and and. + (get_var_ext): Add functions errcode, errsource and errstring. + (read_and_print_response): Store server reply in $? variable. + (main): Implement IF command. + +2008-02-27 Marcus Brinkmann + + * gpgconf-comp.c (option_check_validity): For now, error out on + empty strings. + (enum): Add GC_ARG_TYPE_PUB_KEY and GC_ARG_TYPE_SEC_KEY. + +2008-02-01 Marcus Brinkmann + + * gpgconf-comp.c (gc_component_list_options): Fix memcpy. + Reported by Marc Mutz. + +2008-01-22 Werner Koch + + * gpgconf-comp.c: Use gnupg domain for honor-http-proxy. Make + "LDAP server list" group title translatable. + +2008-01-17 Marcus Brinkmann + + * gpgconf-comp.c (change_options_program): Strip duplicated + utf8-strings entries for gnupg backend. Don't create them either. + +2007-12-10 Marcus Brinkmann + + * gpgconf-comp.c (gc_component_list_options): Fix up expert level + of group. + +2007-12-04 Marcus Brinkmann + + * gpgconf-comp.c (gc_component_list_components): Do not print a + trailing semi-colon to ensure forward compatibility, as this would + indicate another empty field. + (gc_process_gpgconf_conf): Likewise. + +2007-11-15 Werner Koch + + * gpg-connect-agent.c (start_agent): Adjust changed + send_pinentry_environment. + +2007-10-24 Werner Koch + + * gpg-connect-agent.c (substitute_line): Restore temporary nul + marker. + (main): Add /while command. + +2007-10-23 Werner Koch + + * gpgconf-comp.c (gc_process_gpgconf_conf): Add arg + LISTFP. Changed all callers. + * gpgconf.h: Add gc_error. + * gpgconf.c: Add command --list-config. + (get_outfp): New. + (main): Make --output work. + + * gpgconf-comp.c (gc_options_gpg_agent): Replace accidently used + GC_BACKEND_SCDAEMON. We should consider to create these tables + from plain files. + +2007-10-22 Werner Koch + + * gpgconf-comp.c (retrieve_options_from_program): Replace use of + popen by our gnupg_spawn_process_fd. This is required because + popen under Windows can't handle long filenames. + +2007-10-19 Werner Koch + + * symcryptrun.c (confucius_get_pass): Use utf8 switching functions. + + * gpg-connect-agent.c (get_var_ext): New. + (substitute_line): Use it. + (assign_variable): Implement /slet in terms of get_var_ext. + (main): New option -s/--subst. + (add_definq): Add arg IS_VAR. Change all callers. + (main): Add command /definq. + (handle_inquire): Implement new command. + (substitute_line_copy): New. + (unescape_string, unpercent_string): New. + * no-libgcrypt.c (gcry_set_outofcore_handler) + (gcry_set_fatalerror_handler, gcry_set_log_handler): New. + * Makefile.am (gpg_connect_agent_LDADD): Link to libreadline. + + * gpgconf-comp.c (retrieve_options_from_file): Don't call fclose + with NULL. Fixes bug 842. + +2007-10-12 Werner Koch + + * gpg-connect-agent.c (substitute_line): Allow ${foo} syntax. + +2007-10-11 Werner Koch + + * gpg-connect-agent.c (get_var): Expand environment variables. + Suggested by Marc Mutz. + (set_var): Return the value. + (assign_variable): Add arg syslet. + (main): New command /slet. + (gnu_getcwd): New. + (assign_variable): Add tag cwd, and *dir. + +2007-10-02 Werner Koch + + * no-libgcrypt.c (gcry_malloc_secure): New. + + * gpg-connect-agent.c (set_var, set_int_var, get_var) + (substitute_line, show_variables, assign_variable) + (do_open, do_close, do_showopen): New. + (main): Add new commands /nosubst, /subst, /let, /showvar, /open, + /close and /showopen. + (main): New commands /run and /bye. + +2007-10-01 Werner Koch + + * gpg-connect-agent.c (do_sendfd): Use INT2FD for assuan_sendfd. + +2007-09-26 Werner Koch + + * gpg-connect-agent.c (main): Print the first response from the + server. + +2007-09-14 Werner Koch + + * gpgconf-comp.c: Make a string translatable. + +2007-09-04 Moritz Schulte + + * gpgsm-gencert.sh: Use printf instead of echo. + +2007-09-04 Moritz Schulte + + * gpgkey2ssh.c: Include sysutils.h so that gnupg_tmpfile() is + declared. + +2007-08-31 Werner Koch + + * gpgparsemail.c: Support PGP/MIME signed messages. + + * gpgconf-comp.c (gc_component_list_components): List the programs + names. + +2007-08-29 Werner Koch + + * gpgconf.c: New command --check-programs. + * gpgconf-comp.c (gc_component_check_programs): New. + (gc_backend): Add member MODULE_NAME and add these module names. + (retrieve_options_from_program): Use module name so that we use an + absolute file name and don't rely on $PATH. + (collect_error_output): New. + * no-libgcrypt.c (gcry_control): New. + +2007-08-28 Werner Koch + + * gpgconf-comp.c : Add options --max-passphrase-days + and --enable-passphrase-history. + +2007-08-27 Werner Koch + + * gpg-check-pattern.c: New + * Makefile.am (libexec_PROGRAMS): Add unless DISABLE_REGEX. + +2007-08-24 Werner Koch + + * gpgconf-comp.c : Add options --check-passphrase-pattern, + --min-passphrase-nonalpha and --enforce-passphrase-constraints and + move them into a new "passphrase policy" group. + (gc_component) [W32]: Enable dirmngr. + +2007-08-21 Werner Koch + + * gpgkey2ssh.c (key_to_blob): Use gnupg_tmpfile(). + +2007-08-02 Werner Koch + + * gpgconf-comp.c: Factor the public GC_OPT_FLAG constants out and + include gc-opt-flags.h. + +2007-07-17 Werner Koch + + * gpgconf-comp.c: Add --encrypt-to and --default-key to gpg and + gpgsm. + +2007-07-16 Marcus Brinkmann + + * gpg-connect-agent.c (main): Bail out if write fails. + +2007-07-05 Marcus Brinkmann + + * symcryptrun.c (confucius_get_pass): Define orig_codeset if + [ENABLE_NLS], not [HAVE_LANGINFO_CODESET]. + +2007-06-26 Werner Koch + + * gpgconf-comp.c (key_matches_user_or_group) [W32]: Implement user + name matching. + (GPGNAME): New. Use it instead of "gpg". + (gc_component) [W32]: Disable dirmngr for now. + (gc_component_retrieve_options): Ignore components without options. + (gc_component_change_options): Ditto. + (gc_component_list_options): Ditto. + (gc_component_find, gc_component_list_components): Ditto. + +2007-06-19 Werner Koch + + * gpgconf-comp.c (percent_escape): Rename to my_percent_escape. + Changed all callers. + +2007-06-18 Marcus Brinkmann + + * gpgconf-comp.c (retrieve_options_from_file): Close LIST_FILE. + (copy_file): In error case, save/restore errno. Close SRC and DST. + (gc_component_change_options): Catch error from unlink(). Remove + target backup file before rename(). + +2007-06-15 Marcus Brinkmann + + * gpgconf-comp.c (copy_file) [HAVE_W32_SYSTEM]: New function. + (change_options_file, change_options_program) [HAVE_W32_SYSTEM]: + Copy backup file. + (gc_component_change_options) [HAVE_W32_SYSTEM]: Non-atomic replace. + (gc_process_gpgconf_conf): Rename fname to fname_arg and + fname_buffer to fname, initialize fname with fname_arg, discarding + const qualifier. + +2007-06-15 Werner Koch + + * Makefile.am (symcryptrun_LDADD): It is LIBICONV and not LIBINCONV. + (gpgconf_LDADD, symcryptrun_LDADD): Add W32SOCKLIBS. + +2007-06-14 Werner Koch + + * symcryptrun.c (main): Setup default socket name for + simple-pwquery. + (MAP_SPWQ_ERROR_IMPL): New. Use it for all spwq error returns. + +2007-06-12 Werner Koch + + * gpgconf-comp.c (gc_process_gpgconf_conf): Replace + GNUPG_SYSCONFDIR by a function call. + + * gpg-connect-agent.c (main): Replace some calls by + init_common_subsystems. + * gpgconf.c (main): Ditto. + * symcryptrun.c (main): Ditto. + +2007-06-11 Werner Koch + + * symcryptrun.c (main) [W32]: Call pth_init. + * gpgconf.c (main) [W32]: Call pth_init + * gpg-connect-agent.c (main) [W32]: Call pth_init. + +2007-06-06 Werner Koch + + * Makefile.am (bin_PROGRAMS) [W32]: Do not build gpgparsemail. + + * gpgconf-comp.c [W32]: Do not include pwd.h and grp.h. + (key_matches_user_or_group) [W32]: For now always return false. + + * symcryptrun.c (i18n_init): Remove. + * gpgconf.c (i18n_init): Remove. + * gpg-connect-agent.c (i18n_init): Remove. + +2007-05-19 Marcus Brinkmann + + * symcryptrun.c (confucius_get_pass): Free ORIG_CODESET on error. + +2007-05-08 Werner Koch + + * sockprox.c: New. It needs to be build manually. By Moritz + Schulte. + +2007-04-20 Werner Koch + + * symcryptrun.c (my_gcry_logger): Removed. + (main): Call setup_libgcrypt_logging. + +2007-04-03 Werner Koch + + * gpgconf-comp.c: Allow changing of --allow-mark-trusted. + + * gpg-connect-agent.c (main): New option --decode and commands + decode and undecode. + (read_and_print_response): Implement option. + +2007-03-20 Werner Koch + + * gpgconf-comp.c (gc_options_gpgsm): Add p12-charset. + +2007-03-07 Werner Koch + + * applygnupgdefaults: New. + * Makefile.am (sbin_SCRIPTS): Add it + +2007-03-06 Werner Koch + + * gpgconf-comp.c: Include pwd.h and grp.h. + (GC_OPT_FLAG_NO_CHANGE): New. + (gc_component_change_options): Implement it. + (gc_options_gpg_agent): Add options for all ttl values and + min-passphrase-length. Apply new flag to some of them. + (gc_process_gpgconf_conf, key_matches_user_or_group): New. + (gc_component_change_options): Factor some code out to .. + (change_one_value): .. new. + (gc_component_retrieve_options): Allow -1 for COMPONENT to iterate + over al components. + * gpgconf.c (main): New commands --check-config and + --apply-defaults. Call gc_process_gpgconf_conf. + +2007-01-31 Werner Koch + + * Makefile.am (symcryptrun_LDADD): Add LIBICONV. + (gpgkey2ssh_LDADD): Ditto. + +2006-12-13 David Shaw + + * Makefile.am (gpgsplit_LDADD): Link to LIBINTL if we're using the + built-in code. + +2006-12-07 David Shaw + + * Makefile.am: Link to iconv for jnlib dependency. + +2006-11-23 Werner Koch + + * Makefile.am (gpg_connect_agent_LDADD): Add NETLIBS. + +2006-11-21 Werner Koch + + * gpgconf-comp.c (list_one_option): Cast print size_t arg. + +2006-11-17 Werner Koch + + * gpgconf-comp.c: Made disable-keypad a basic option. + +2006-11-03 Werner Koch + + * symcryptrun.c: Include signal.h and include pth.h only if test + asserts that it exists. + +2006-10-23 Werner Koch + + * gpgconf-comp.c : Add --cipher-algo. + +2006-10-20 Werner Koch + + * gpgsm-gencert.sh: Enhanced the main menu. + +2006-10-12 Werner Koch + + * Makefile.am (gpg-zip, gpgsplit): Do not install due to a + conflict with gpg1. + +2006-10-11 Werner Koch + + * gpgsm-gencert.sh: Allow generation of card keys. + +2006-10-08 Werner Koch + + * Makefile.am (gpgkey2ssh_LDADD): Add LIBINTL. Suggested by + Andreas Metzler. + +2006-09-22 Werner Koch + + * no-libgcrypt.c: Changed license to a simple all permissive one. + +2006-09-20 Werner Koch + + * Makefile.am: Changes to allow parallel make runs. + +2006-09-12 Werner Koch + + Replaced all call gpg_error_from_errno(errno) by + gpg_error_from_syserror(). + + * gpg-connect-agent.c (read_and_print_response): With verbosity + level 2 also print comment lines. + +2006-09-06 Werner Koch + + * gpg-connect-agent.c: Switch everything to new Assuan error code + style. + + * no-libgcrypt.c (out_of_core): Reanmed to ... + (out_of_memory): .. this to avoid name clash with util.h. + +2006-08-21 Werner Koch + + * gpgsplit.c: New. Taken from 1.4. Adjusted to GnuPG2. + + * Makefile.am (noinst_PROGRAMS): New. + +2006-06-09 Marcus Brinkmann + + * Makefile.am (gpgconf_LDADD): Add $(GPG_ERROR_LIBS). + (gpgkey2ssh_LDADD): Add ../jnlib/libjnlib.a. + +2006-05-23 Werner Koch + + * gpgparsemail.c: Include config.h if available + (stpcpy): Conditional include it. + + * gpgconf-comp.c (hextobyte): Removed as it is now availble in + jnlib. + +2005-12-20 Werner Koch + + * gpgconf-comp.c (gc_options_gpg): Add allow-pka-lookup. + +2005-12-14 Werner Koch + + * Makefile.am (bin_PROGRAMS): Build gpgparsemail. + + * gpgparsemail.c (pkcs7_begin): New. + (parse_message, message_cb): Add support of direct pkcs signatures. + +2005-10-19 Werner Koch + + * gpgconf-comp.c (gc_options_scdaemon): New option --disable-keypad. + +2005-09-22 Werner Koch + + * rfc822parse.c (parse_field): Tread Content-Disposition special. + +2005-10-08 Marcus Brinkmann + + * Makefile.am (watchgnupg_LDADD): New variable. + + * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after + ../common/libcommon.a. + (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD): + Likewise. + +2005-09-29 Marcus Brinkmann + + * Makefile.am (AM_CFLAGS): Add $(LIBGCRYPT_CFLAGS). + +2005-09-06 Werner Koch + + * rfc822parse.c, rfc822parse.h: Changed license to LGPL. + +2005-08-01 Werner Koch + + * gpgsm-gencert.sh: Allow entering a keygrip to generate a CSR from + an existing key. + +2005-07-21 Werner Koch + + * gpgsm-gencert.sh: Reworked to allow for multiple email addresses + as well as DNsanmes and URi. Present the parameter file before + creating the certificate. + +2005-07-04 Marcus Brinkmann + + * symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols, + use instead constants. + (hash_string): New function copied from simple-gettext.c. + (confucius_get_pass): Take new argument CACHEID. + (confucius_process): Calculate cacheid and pass it to + confucius_get_pass. Clear passphrase from cache if necessary. + +2005-06-16 Werner Koch + + * gpg-connect-agent.c (read_and_print_response): Made LINELEN a + size_t. + +2005-06-04 Marcus Brinkmann + + * symcryptrun.c (main): Allow any number of arguments, don't use + first argument as input file name. Pass extra arguments to + confucius_main. + (confucius_main): Accept new arguments argc and argv and pass them + to confucius_process. + (confucius_process): Accept new arguments argc and argv and pass + them to the confucius process. + +2005-06-01 Werner Koch + + * symcryptrun.c: Include mkdtemp.h. + +2005-05-31 Werner Koch + + * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines. + Noted by Ray Link. + +2005-05-28 Moritz Schulte + + * gpgkey2ssh.c: New file. + * Makefile.am (bin_PROGRAMS): Added gpgkey2ssh. + +2005-05-20 Werner Koch + + * gpg-connect-agent.c (add_definq, show_definq, clear_definq) + (handle_inquire): New. + (read_and_print_response): Handle INQUIRE command. + (main): Implement control commands. + +2005-04-21 Werner Koch + + * symcryptrun.c (main): Optionally allow the input file as command + line argument. + + * gpgconf-comp.c: Add gpgsm option disable-trusted-cert-crl-check. + +2005-04-20 Werner Koch + + * gpgconf-comp.c: Add gpg-agent:disable-scdaemon. + +2005-04-19 Marcus Brinkmann + + * symcryptrun.c: Add --input option. + +2005-04-15 Marcus Brinkmann + + * symcryptrun.c (TEMP_FAILURE_RETRY): Define if not defined. + + * symcryptrun.c (remove_file): New function. + (confucius_copy_file): Accept new argument PLAIN and shred the + file if it is set on error. + + * Makefile.am: Define symcryptrun make variable depending on + BUILD_SYMCRYPTUN. + (bin_PROGRAMS): Add ${symcryptrun} instead symcryptrun. + (symcryptrun_LDADD): Use $(LIBUTIL_LIBS) instead of -lutil. + +2005-04-11 Werner Koch + + * symcryptrun.c (confucius_mktmpdir): Changed to use mkdtmp(3). + +2005-04-11 Marcus Brinkmann + + * symcryptrun.c: Implement config file parsing. + + * Makefile.am (bin_PROGRAMS): Add symcryptrun. + (symcryptrun_SOURCES, symcryptrun_LDADD): New variables. + * symcryptrun.c: New file. + +2005-03-31 Werner Koch + + * gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'. + +2005-03-09 Werner Koch + + * gpgconf-comp.c : Add honor-http-proxy. + +2005-02-25 Werner Koch + + * no-libgcrypt.c (gcry_strdup): New. + +2005-02-24 Werner Koch + + * gpg-connect-agent.c: New. + * Makefile.am: Add it. + +2004-12-21 Werner Koch + + * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute + pathnames with a drive letter. + +2004-12-15 Werner Koch + + * Makefile.am (bin_PROGRAMS) [W32]: Do not build watchgnupg. + + * gpgconf-comp.c (gpg_agent_runtime_change) [W32]: No way yet to + send a signal. Disable. + (change_options_file, change_options_program) [W32]: No link(2), + so we disable it. + (gc_component_change_options): Use rename instead of link. + +2004-12-13 Werner Koch + + * gpgconf-comp.c : Fixed typo. + +2004-11-24 Werner Koch + + * gpgconf-comp.c : Add --ignore-http-dp, --ignore-ldap-dp + and --ignore-ocsp-service-url. + +2004-11-23 Werner Koch + + * gpgconf-comp.c : Add the proxy options. + : Add --prefer-system-daemon. + +2004-11-11 Werner Koch + + * watchgnupg.c (main): Fixed test for read error. + +2004-10-22 Werner Koch + + * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh + + * gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF. + +2004-10-01 Werner Koch + + * gpgconf-comp.c: Made all strings for --log-file read the same. + +2004-10-01 Werner Koch + + * gpgconf-comp.c (my_dgettext): Also switch codeset and directory + for the other used domains (i.e. dirmngr). + + * gpgconf.c (main): Fixed translation markers. + +2004-09-30 Werner Koch + + * gpgconf.c (i18n_init): Always use LC_ALL. + + * Makefile.am: Adjusted for gettext 0.14. + +2004-09-29 Werner Koch + + * gpgconf-comp.c: Made the entries fro GROUPs translatable. + Include i18n.h. + (my_dgettext): Hack to use the gnupg2 domain. + +2004-08-09 Moritz Schulte + + * gpgsm-gencert.sh: New file. + +2004-06-16 Werner Koch + + * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF. + +2004-06-14 Werner Koch + + * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. + + * gpgconf-comp.c (retrieve_options_from_program) + (retrieve_options_from_file, change_options_file) + (change_options_program, gc_component_change_options): Replaced + getline by read_line and test for allocation failure. + +2004-05-21 Marcus Brinkmann + + * gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its + only option "max-replies" into LDAP group. + (gc_component): Change description of dirmngr to "Directory + Manager". + + * gpgconf-comp.c (gc_component_change_options): Move the + per-process backup file into a standard location. + +2004-05-03 Werner Koch + + * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent. + +2004-04-30 Werner Koch + + * gpgconf-comp.c: Added more runtime flags for the gpg-agent + backend. + +2004-04-29 Marcus Brinkmann + + * gpgconf-comp.c (change_options_program): Turn on utf8-strings in + the gpgconf specific part of the config file for the GnuPG + backend. + +2004-04-28 Werner Koch + + * gpgconf-comp.c: Add --ocsp-signer for the dirmngr backend. + +2004-04-20 Marcus Brinkmann + + * gpgconf-comp.c (gc_options_gpg_agent): Change type of + ignore-cache-for-signing option to GC_ARG_TYPE_NONE. + +2004-04-07 Werner Koch + + * gpgconf-comp.c (my_dgettext): Switch the codeset once to utf-8. + Allow building with out NLS. + +2004-03-23 Marcus Brinkmann + + * gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for + "LDAP Server". + (change_options_file): Remove assertion that tests that this flag + is not present. Handle an empty string in OPTION->new_value. + + * gpgconf.c (main): Remove obsolete warning. + +2004-03-23 Werner Koch + + * gpgconf-comp.c (gc_options_gpg): New. + (gc_component_t, gc_component): Add GC_BACKEND_GPG. + (gc_options_dirmngr): Add allow-ocsp. + +2004-03-23 Marcus Brinkmann + + * gpgconf-comp.c (gc_flag): Add missing flags. + + * gpgconf-comp.c: Include . + (gc_backend): Add new member runtime_change. + (gpg_agent_runtime_change): New function. + (gc_component_change_options): New variable runtime. Initialize + it. If an option is changed that has the GC_OPT_FLAG_RUNTIME bit + set, also set the corresponding runtime variable. Finally, call + the runtime_change callback of the backend if needed. + +2004-03-16 Werner Koch + + * gpgconf-comp.c (gc_options_gpg_agent): Implemented. + (gc_options_gpgsm, gc_options_scdaemon): Implemented. + (gc_backend_t): Add GC_BACKEND_SCDAEMON. + +2004-03-12 Marcus Brinkmann + + * gpgconf-comp.c (gc_component_change_options): Set the filenames + of the option's backend, not of the component. + Also use GC_BACKEND_NR, not GC_COMPONENT_NR. + +2004-03-09 Werner Koch + + * gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we + don't want to clutter our code with system dependent stuff. + +2004-03-08 Marcus Brinkmann + + * gpgconf-comp.c (retrieve_options_from_file): Quote each string + in the list, not only the first. + +2004-02-26 Marcus Brinkmann + + * gpgconf-comp.c (gc_component_list_options): Do not print empty + groups. + + * gpgconf-comp.c (option_check_validity): Check if option is + active. + (change_options_file): Implement. + + * gpgconf-comp.c (retrieve_options_from_program): Remove broken + string handling. + + * gpgconf-comp.c (change_options_program): Support all types of + options, including list types. + + * README.gpgconf: Fix description of arguments. + * gpgconf-comp.c (option_check_validity): Rewritten to properly + support optional arguments in lists. + + * README.gpgconf: Add info about optional arg and arg type 0. + * gpgconf-comp.c (gc_component_change_options): Parse list of + arg type 0 options. + (option_check_validity): Add new argument NEW_VALUE_NR. Perform + rigorous validity checks. + (change_options_program): Disable an option also if we have a new + value for it. + +2004-02-25 Marcus Brinkmann + + * gpgconf-comp.c (gc_component_list_options): Correct output for + lists of arg type none. + (struct gc_option): Add new member new_flags. + (option_check_validity): Check OPTION->new_flags beside + OPTION->new_value. Add new argument FLAGS. + (gc_component_change_options): Support default flag correctly. + (change_options_program): Likewise. + +2004-02-24 Marcus Brinkmann + + * README.gpgconf: Revert last change. Add new flags "default", + "default desc" and "no arg desc". Add new field ARGDEF. Add new + field FLAG to backend interface. + * gpgconf-comp.c (struct gc_option): Make flags of type unsigned + long. + (gc_component_list_options): Adjust type for flags. + Add default argument field. + (retrieve_options_from_program): Use "1" as value for non-option + arguments, not "Y". + (gc_component_change_options): Read in flags from input. + +2004-02-23 Marcus Brinkmann + + * README.gpgconf: Change meaning of type 0 options value if it is + the empty string or "0". + + * gpgconf.h (struct): Add member runtime. + * gpgconf.c: Add new option oRuntime. + (main): Same here. + + * gpgconf-comp.c (hextobyte): New function. + (percent_deescape): New function. + (get_config_pathname): Percent deescape pathname if taken from + option (default) value. Use default value only if it exists and + is not empty. Use empty string otherwise. Don't include leading + quote in pathname. + (change_options_program): Percent deescape string before writing + it out. + + * gpgconf-comp.c (gc_component_list_options): Do not skip groups + on output. + +2004-02-18 Werner Koch + + * gpgconf-comp.c: Added empty components for gpgsm and scdaemon. + +2004-02-12 Werner Koch + + * watchgnupg.c (main): Implement option "--". + (print_version): New. + + * Makefile.am: Include cmacros.am for common flags. + +2004-02-03 Werner Koch + + * addgnupghome: Try to use getent, so that it also works for NIS + setups. + +2004-01-31 Marcus Brinkmann + + * gpgconf-comp.c: Some bug fixes, parse only defaults from the + program, and read the current values from the configuration file + directly. + +2004-01-30 Marcus Brinkmann + + * gpgconf-comp.c (gc_error): New function, use it instead of + error() throughout. + + * gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and + gnupg_get_time, fix error() invocation and use getline() + consistently. + +2004-01-30 Werner Koch + + * addgnupghome: Also set the group of copied files. + +2004-01-30 Werner Koch + + * Makefile.am (sbin_SCRIPTS): New, to install addgnupghome. + (EXTRA_DIST): Added rfc822parse.c rfc822parse.h gpgparsemail.c + which might be useful for debugging. + +2004-01-29 Werner Koch + + * addgnupghome: New. + +2004-01-29 Marcus Brinkmann + + * gpgconf-list.c: File removed. + * README.gpgconf: New file. + * gpgconf-comp.c: New file. + * Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add + gpgconf-comp.c. + +2004-01-16 Werner Koch + + * watchgnupg.c (main): Need to use FD_ISSET for the client + descriptors too; aiiih. Set the listening socket to non-blocking. + +2004-01-10 Werner Koch + + * Makefile.am: Use GPG_ERROR_CFLAGS + +2004-01-05 Werner Koch + + * Manifest: New. + * gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now. + * no-libgcrypt.c: New. + * Makefile.am: Add above. + +2003-12-23 Werner Koch + + * Makefile.am: New. + * watchgnupg.c: New. + + + Copyright 2003, 2004, 2005, 2006, 2007, 2008, + 2009, 2010, 2011 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +Local Variables: +buffer-read-only: t +End: diff --git a/tools/Makefile.am b/tools/Makefile.am index 584967040..66be272aa 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -20,7 +20,7 @@ EXTRA_DIST = \ Manifest watchgnupg.c \ addgnupghome applygnupgdefaults gpgsm-gencert.sh \ lspgpot mail-signed-keys convert-from-106 sockprox.c \ - ccidmon.c + ccidmon.c ChangeLog-2011 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/common -- cgit v1.2.3 From 45cf9de341405a228e331bd3893cbcd6b72306be Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 14 Dec 2011 15:42:28 +0100 Subject: agent: Pass comment lines from scd verbatim thru gpg-agent. * agent/call-scd.c (pass_status_thru): Pass comment lines verbatim. * tools/gpg-connect-agent.c (help_cmd_p): New. (main): Treat an "SCD HELP" the same as "HELP". --- tools/gpg-connect-agent.c | 156 +++++++++++++++++++++++++--------------------- 1 file changed, 85 insertions(+), 71 deletions(-) (limited to 'tools') diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c index 8de67bbf0..117f3380c 100644 --- a/tools/gpg-connect-agent.c +++ b/tools/gpg-connect-agent.c @@ -67,25 +67,25 @@ enum cmd_and_opt_values /* The list of commands and options. */ static ARGPARSE_OPTS opts[] = { ARGPARSE_group (301, N_("@\nOptions:\n ")), - + ARGPARSE_s_n (oVerbose, "verbose", N_("verbose")), ARGPARSE_s_n (oQuiet, "quiet", N_("quiet")), ARGPARSE_s_n (oHex, "hex", N_("print data out hex encoded")), ARGPARSE_s_n (oDecode,"decode", N_("decode received data lines")), - ARGPARSE_s_s (oRawSocket, "raw-socket", + ARGPARSE_s_s (oRawSocket, "raw-socket", N_("|NAME|connect to Assuan socket NAME")), - ARGPARSE_s_s (oTcpSocket, "tcp-socket", + ARGPARSE_s_s (oTcpSocket, "tcp-socket", N_("|ADDR|connect to Assuan server at ADDR")), - ARGPARSE_s_n (oExec, "exec", + ARGPARSE_s_n (oExec, "exec", N_("run the Assuan server given on the command line")), ARGPARSE_s_n (oNoExtConnect, "no-ext-connect", N_("do not use extended connect mode")), - ARGPARSE_s_s (oRun, "run", + ARGPARSE_s_s (oRun, "run", N_("|FILE|run commands from FILE on startup")), - ARGPARSE_s_n (oSubst, "subst", N_("run /subst on startup")), + ARGPARSE_s_n (oSubst, "subst", N_("run /subst on startup")), ARGPARSE_s_n (oNoVerbose, "no-verbose", "@"), - ARGPARSE_s_s (oHomedir, "homedir", "@" ), + ARGPARSE_s_s (oHomedir, "homedir", "@" ), ARGPARSE_s_s (oAgentProgram, "agent-program", "@"), ARGPARSE_end () @@ -216,7 +216,7 @@ gnu_getcwd (void) #ifdef HAVE_W32CE_SYSTEM strcpy (buffer, "/"); return buffer; -#else +#else if (getcwd (buffer, size) == buffer) return buffer; xfree (buffer); @@ -246,22 +246,22 @@ unescape_string (const char *string) { switch (*s) { - case 'b': - case 't': - case 'v': - case 'n': - case 'f': - case 'r': - case '"': - case '\'': + case 'b': + case 't': + case 'v': + case 'n': + case 'f': + case 'r': + case '"': + case '\'': case '\\': n++; break; - case 'x': + case 'x': if (s[1] && s[2] && hexdigitp (s+1) && hexdigitp (s+2)) n++; break; default: - if (s[1] && s[2] + if (s[1] && s[2] && octdigitp (s) && octdigitp (s+1) && octdigitp (s+2)) n++; break; @@ -272,7 +272,7 @@ unescape_string (const char *string) esc = 1; else n++; - } + } buffer = xmalloc (n+1); d = (unsigned char*)buffer; @@ -291,7 +291,7 @@ unescape_string (const char *string) case '"': *d++ = '\"'; break; case '\'': *d++ = '\''; break; case '\\': *d++ = '\\'; break; - case 'x': + case 'x': if (s[1] && s[2] && hexdigitp (s+1) && hexdigitp (s+2)) { s++; @@ -301,7 +301,7 @@ unescape_string (const char *string) break; default: - if (s[1] && s[2] + if (s[1] && s[2] && octdigitp (s) && octdigitp (s+1) && octdigitp (s+2)) { *d++ = (atoi_1 (s)*64) + (atoi_1 (s+1)*8) + atoi_1 (s+2); @@ -315,7 +315,7 @@ unescape_string (const char *string) esc = 1; else *d++ = *s; - } + } *d = 0; return buffer; } @@ -334,7 +334,7 @@ unpercent_string (const char *string, int with_plus) for (s=(const unsigned char *)string; *s; s++) { if (*s == '%' && s[1] && s[2]) - { + { s++; n++; s++; @@ -350,7 +350,7 @@ unpercent_string (const char *string, int with_plus) for (s=(const unsigned char *)string; *s; s++) { if (*s == '%' && s[1] && s[2]) - { + { s++; *p++ = xtoi_2 (s); s++; @@ -387,7 +387,7 @@ set_var (const char *name, const char *value) xfree (var->value); var->value = value? xstrdup (value) : NULL; return var->value; -} +} static void @@ -455,12 +455,12 @@ arithmetic_op (int operator, const char *operands) case '+': result += value; break; case '-': result -= value; break; case '*': result *= value; break; - case '/': + case '/': if (!value) return NULL; result /= value; break; - case '%': + case '%': if (!value) return NULL; result %= value; @@ -480,10 +480,10 @@ arithmetic_op (int operator, const char *operands) /* Extended version of get_var. This returns a malloced string and - understand the function syntax: "func args". + understand the function syntax: "func args". Defined functions are - + get - Return a value described by the next argument: cwd - The current working directory. homedir - The gnupg homedir. @@ -525,7 +525,7 @@ arithmetic_op (int operator, const char *operands) Example: get_var_ext ("get sysconfdir") -> "/etc/gnupg" - + */ static char * get_var_ext (const char *name) @@ -630,7 +630,7 @@ get_var_ext (const char *name) { s++; intvalue = (int)strtol (s, NULL, 0); - result = xasprintf ("%s <%s>", + result = xasprintf ("%s <%s>", gpg_strerror (intvalue), gpg_strsource (intvalue)); } else if ( (s - name) == 1 && strchr ("+-*/%!|&", *name)) @@ -642,7 +642,7 @@ get_var_ext (const char *name) log_error ("unknown variable function `%.*s'\n", (int)(s-name), name); result = NULL; } - + xfree (free_me); recursion_count--; return result; @@ -667,7 +667,7 @@ substitute_line (char *buffer) p = strchr (line, '$'); if (!p) return result; /* No more variables. */ - + if (p[1] == '$') /* Escaped dollar sign. */ { memmove (p, p+1, strlen (p+1)+1); @@ -751,7 +751,7 @@ static char * substitute_line_copy (const char *buffer) { char *result, *p; - + p = xstrdup (buffer?buffer:""); result = substitute_line (p); if (!result) @@ -777,7 +777,7 @@ assign_variable (char *line, int syslet) p++; if (!*p) - set_var (name, NULL); /* Remove variable. */ + set_var (name, NULL); /* Remove variable. */ else if (syslet) { free_me = opt.enable_varsubst? substitute_line_copy (p) : NULL; @@ -791,7 +791,7 @@ assign_variable (char *line, int syslet) xfree (tmp); xfree (free_me); } - else + else { tmp = opt.enable_varsubst? substitute_line_copy (p) : NULL; if (tmp) @@ -857,11 +857,11 @@ show_definq (void) for (d=definq_list; d; d = d->next) if (d->name) - printf ("%-20s %c %s\n", + printf ("%-20s %c %s\n", d->name, d->is_var? 'v' : d->is_prog? 'p':'f', d->file); for (d=definq_list; d; d = d->next) if (!d->name) - printf ("%-20s %c %s\n", "*", + printf ("%-20s %c %s\n", "*", d->is_var? 'v': d->is_prog? 'p':'f', d->file); } @@ -871,14 +871,14 @@ static void clear_definq (void) { while (definq_list) - { + { definq_t tmp = definq_list->next; xfree (definq_list->name); xfree (definq_list); definq_list = tmp; } definq_list_tail = &definq_list; -} +} static void @@ -1005,7 +1005,7 @@ do_open (char *line) HANDLE prochandle, handle, newhandle; handle = (void*)_get_osfhandle (fd); - + prochandle = OpenProcess (PROCESS_DUP_HANDLE, FALSE, server_pid); if (!prochandle) { @@ -1030,7 +1030,7 @@ do_open (char *line) log_info ("file `%s' opened in \"%s\" mode, fd=%d (libc=%d)\n", name, mode, (int)open_fd_table[fd].handle, fd); set_int_var (varname, (int)open_fd_table[fd].handle); -#else +#else if (opt.verbose) log_info ("file `%s' opened in \"%s\" mode, fd=%d\n", name, mode, fd); @@ -1117,14 +1117,14 @@ do_serverpid (assuan_context_t ctx) int rc; membuf_t mb; char *buffer; - + init_membuf (&mb, 100); rc = assuan_transact (ctx, "GETINFO pid", getinfo_pid_cb, &mb, NULL, NULL, NULL, NULL); put_membuf (&mb, "", 1); buffer = get_membuf (&mb, NULL); if (rc || !buffer) - log_error ("command \"%s\" failed: %s\n", + log_error ("command \"%s\" failed: %s\n", "GETINFO pid", gpg_strerror (rc)); else { @@ -1136,6 +1136,22 @@ do_serverpid (assuan_context_t ctx) } +/* Return true if the command is either "HELP" or "SCD HELP". */ +static int +help_cmd_p (const char *line) +{ + if (!ascii_strncasecmp (line, "SCD", 3) + && (spacep (line+3) || !line[3])) + { + for (line += 3; spacep (line); line++) + ; + } + + return (!ascii_strncasecmp (line, "HELP", 4) + && (spacep (line+4) || !line[4])); +} + + /* gpg-connect-agent's entry point. */ int main (int argc, char **argv) @@ -1156,7 +1172,7 @@ main (int argc, char **argv) loopline_t head; loopline_t *tail; loopline_t current; - unsigned int nestlevel; + unsigned int nestlevel; int oneshot; char *condition; } loopstack[20]; @@ -1197,7 +1213,7 @@ main (int argc, char **argv) case oExec: opt.exec = 1; break; case oNoExtConnect: opt.connect_flags &= ~(1); break; case oRun: opt_run = pargs.r.ret_str; break; - case oSubst: + case oSubst: opt.enable_varsubst = 1; opt.trim_leading_spaces = 1; break; @@ -1339,7 +1355,7 @@ main (int argc, char **argv) log_info (_("receiving line failed: %s\n"), gpg_strerror (rc) ); } - + for (loopidx=0; loopidx < DIM (loopstack); loopidx++) loopstack[loopidx].collecting = 0; loopidx = -1; @@ -1396,7 +1412,7 @@ main (int argc, char **argv) linesize = 0; keep_line = 1; } - n = read_line (script_fp? script_fp:stdin, + n = read_line (script_fp? script_fp:stdin, &line, &linesize, &maxlength); } if (n < 0) @@ -1422,7 +1438,7 @@ main (int argc, char **argv) log_info ("end of script\n"); continue; } - break; + break; } if (!maxlength) { @@ -1433,11 +1449,11 @@ main (int argc, char **argv) log_info (_("line shortened due to embedded Nul character\n")); if (line[n-1] == '\n') line[n-1] = 0; - + if (opt.trim_leading_spaces) { const char *s = line; - + while (spacep (s)) s++; if (s != line) @@ -1463,7 +1479,7 @@ main (int argc, char **argv) loopstack[loopidx+1].nestlevel--; else if (!strncmp (line, "/while", 6) && (!line[6]||spacep(line+6))) loopstack[loopidx+1].nestlevel++; - + if (loopstack[loopidx+1].nestlevel) continue; /* We reached the corresponding /end. */ @@ -1546,7 +1562,7 @@ main (int argc, char **argv) { current_datasink = fopen (fname, "wb"); if (!current_datasink) - log_error ("can't open `%s': %s\n", + log_error ("can't open `%s': %s\n", fname, strerror (errno)); } xfree (tmpline); @@ -1783,7 +1799,7 @@ main (int argc, char **argv) "/cleardef Delete all definitions.\n" "/sendfd FILE MODE Open FILE and pass descriptor to server.\n" "/recvfd Receive FD from server and print.\n" -"/open VAR FILE MODE Open FILE and assign the file descriptor to VAR.\n" +"/open VAR FILE MODE Open FILE and assign the file descriptor to VAR.\n" "/close FD Close file with descriptor FD.\n" "/showopen Show descriptors of all open files.\n" "/serverpid Retrieve the pid of the server.\n" @@ -1799,7 +1815,7 @@ main (int argc, char **argv) } else log_error (_("unknown command `%s'\n"), cmd ); - + continue; } @@ -1822,9 +1838,7 @@ main (int argc, char **argv) if (*line == '#' || !*line) continue; /* Don't expect a response for a comment line. */ - rc = read_and_print_response (ctx, (!ascii_strncasecmp (line, "HELP", 4) - && (spacep (line+4) || !line[4])), - &cmderr); + rc = read_and_print_response (ctx, help_cmd_p (line), &cmderr); if (rc) log_info (_("receiving line failed: %s\n"), gpg_strerror (rc) ); if ((rc || cmderr) && script_fp) @@ -1833,7 +1847,7 @@ main (int argc, char **argv) fclose (script_fp); script_fp = NULL; } - + /* FIXME: If the last command was BYE or the server died for some other reason, we won't notice until we get the next @@ -1844,8 +1858,8 @@ main (int argc, char **argv) if (opt.verbose) log_info ("closing connection to agent\n"); - - return 0; + + return 0; } @@ -1911,7 +1925,7 @@ handle_inquire (assuan_context_t ctx, char *line) log_error ("error executing `%s': %s\n", d->file, strerror (errno)); else if (opt.verbose) - log_error ("handling inquiry `%s' by running `%s'\n", + log_error ("handling inquiry `%s' by running `%s'\n", name, d->file); } else @@ -1974,7 +1988,7 @@ read_and_print_response (assuan_context_t ctx, int withhash, int *r_goterr) *r_goterr = 0; for (;;) { - do + do { rc = assuan_read_line (ctx, &line, &linelen); if (rc) @@ -1985,7 +1999,7 @@ read_and_print_response (assuan_context_t ctx, int withhash, int *r_goterr) fwrite (line, linelen, 1, stdout); putchar ('\n'); } - } + } while (*line == '#' || !linelen); if (linelen >= 1 @@ -1999,7 +2013,7 @@ read_and_print_response (assuan_context_t ctx, int withhash, int *r_goterr) for (j=2, s=(unsigned char*)line+2; j < linelen; j++, s++ ) { if (*s == '%' && j+2 < linelen) - { + { s++; j++; c = xtoi_2 ( s ); s++; j++; @@ -2054,7 +2068,7 @@ read_and_print_response (assuan_context_t ctx, int withhash, int *r_goterr) need_d = 0; } if (*s == '%' && j+2 < linelen) - { + { s++; j++; c = xtoi_2 ( s ); s++; j++; @@ -2073,7 +2087,7 @@ read_and_print_response (assuan_context_t ctx, int withhash, int *r_goterr) putchar ('\n'); } } - else + else { if (need_lf) { @@ -2083,7 +2097,7 @@ read_and_print_response (assuan_context_t ctx, int withhash, int *r_goterr) } if (linelen >= 1 - && line[0] == 'S' + && line[0] == 'S' && (line[1] == '\0' || line[1] == ' ')) { if (!current_datasink || current_datasink != stdout) @@ -2091,7 +2105,7 @@ read_and_print_response (assuan_context_t ctx, int withhash, int *r_goterr) fwrite (line, linelen, 1, stdout); putchar ('\n'); } - } + } else if (linelen >= 2 && line[0] == 'O' && line[1] == 'K' && (line[2] == '\0' || line[2] == ' ')) @@ -2121,11 +2135,11 @@ read_and_print_response (assuan_context_t ctx, int withhash, int *r_goterr) } *r_goterr = 1; return 0; - } + } else if (linelen >= 7 && line[0] == 'I' && line[1] == 'N' && line[2] == 'Q' && line[3] == 'U' && line[4] == 'I' && line[5] == 'R' - && line[6] == 'E' + && line[6] == 'E' && (line[7] == '\0' || line[7] == ' ')) { if (!current_datasink || current_datasink != stdout) -- cgit v1.2.3