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 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.