gnupg.git
15 years ago* protect-tool.c: New option --enable-status-msg.
Werner Koch [Fri, 30 Apr 2004 15:24:33 +0000 (15:24 +0000)]
* protect-tool.c: New option --enable-status-msg.
(store_private_key): Print status messages for imported keys.
(read_and_unprotect): Ditto for bad passphrase.

* import.c (check_and_store): Do not update the stats for hidden
imports of issuer certs.
(popen_protect_tool): Request statusmessages from the protect-tool.
(parse_p12): Detect status messages. Add new arg STATS and update them.
(print_imported_summary): Include secret key stats.

15 years agoAllow changing --log-file
Werner Koch [Fri, 30 Apr 2004 03:58:43 +0000 (03:58 +0000)]
Allow changing --log-file

15 years ago* gpg-agent.c (parse_rereadable_options): New arg REREAD. Allow
Werner Koch [Fri, 30 Apr 2004 03:58:21 +0000 (03:58 +0000)]
* gpg-agent.c (parse_rereadable_options): New arg REREAD.  Allow
changing oLogFile.
(current_logfile): New.

* logging.c (log_set_file): Make sure the log stream will be
closed even if the stderr fileno will be assigned to a new socket.

15 years ago(check_and_store): Do not update the stats for hidden
Werner Koch [Fri, 30 Apr 2004 03:27:10 +0000 (03:27 +0000)]
(check_and_store): Do not update the stats for hidden
imports of issuer certs.

15 years agoAdded more runtime flags for the gpg-agent
Werner Koch [Fri, 30 Apr 2004 03:03:34 +0000 (03:03 +0000)]
Added more runtime flags for the gpg-agent
backend.

15 years ago2004-04-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 29 Apr 2004 19:00:37 +0000 (19:00 +0000)]
2004-04-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (change_options_program): Turn on utf8-strings in
the gpgconf specific part of the config file for the GnuPG
backend.

15 years agopost release version bump
Werner Koch [Thu, 29 Apr 2004 18:16:44 +0000 (18:16 +0000)]
post release version bump

15 years agoautoupdated V1-9-8
Werner Koch [Thu, 29 Apr 2004 17:38:20 +0000 (17:38 +0000)]
autoupdated

15 years agoAdded
Werner Koch [Thu, 29 Apr 2004 17:35:47 +0000 (17:35 +0000)]
Added

15 years agoAbout to release 1.9.8
Werner Koch [Thu, 29 Apr 2004 17:32:02 +0000 (17:32 +0000)]
About to release 1.9.8

15 years agotypo fix
Werner Koch [Thu, 29 Apr 2004 17:26:14 +0000 (17:26 +0000)]
typo fix

15 years ago* app-openpgp.c (do_setattr): Sync FORCE_CHV1.
Werner Koch [Thu, 29 Apr 2004 17:25:57 +0000 (17:25 +0000)]
* app-openpgp.c (do_setattr): Sync FORCE_CHV1.

15 years ago* card-util.c (card_edit): Remove PIN verification.
Werner Koch [Thu, 29 Apr 2004 17:25:38 +0000 (17:25 +0000)]
* card-util.c (card_edit): Remove PIN verification.
(generate_card_keys): New arg SERIALNO.  Do PIN verification here
after resetting forced_chv1.

15 years agoAdd --ocsp-signer for the dirmngr backend.
Werner Koch [Wed, 28 Apr 2004 09:04:03 +0000 (09:04 +0000)]
Add --ocsp-signer for the dirmngr backend.

15 years ago* app-common.h: Do not include ksba.h for gnupg 1.
Werner Koch [Wed, 28 Apr 2004 09:00:05 +0000 (09:00 +0000)]
* app-common.h: Do not include ksba.h for gnupg 1.

15 years ago* gpgsm.c: New command --keydb-clear-some-cert-flags.
Werner Koch [Wed, 28 Apr 2004 08:59:34 +0000 (08:59 +0000)]
* gpgsm.c: New command --keydb-clear-some-cert-flags.
* keydb.c (keydb_clear_some_cert_flags): New.
(keydb_update_keyblock, keydb_set_flags): Change error code
CONFLICT to NOT_LOCKED.

15 years ago* app-common.h: New members FNC.DEINIT and APP_LOCAL.
Werner Koch [Mon, 26 Apr 2004 18:28:06 +0000 (18:28 +0000)]
* app-common.h: New members FNC.DEINIT and APP_LOCAL.
* app.c (release_application): Call new deconstructor.
* app-openpgp.c (do_deinit): New.
(get_cached_data, flush_cache_item, flush_cache_after_error)
(flush_cache): New.
(get_one_do): Replaced arg SLOT by APP.  Make used of cached data.
(verify_chv2, verify_chv3): Flush some cache item after error.
(do_change_pin): Ditto.
(do_sign): Ditto.
(do_setattr): Flush cache item.
(do_genkey): Flush the entire cache.
(compare_fingerprint): Use cached data.

15 years ago(change_name): Check that the NAME is not too long.
Werner Koch [Mon, 26 Apr 2004 18:26:54 +0000 (18:26 +0000)]
(change_name): Check that the NAME is not too long.
(change_url): Likewise.
(change_login): Likewise.

15 years ago(start_scd): Do not register an event signal if we
Werner Koch [Mon, 26 Apr 2004 18:26:41 +0000 (18:26 +0000)]
(start_scd): Do not register an event signal if we
are running as a pipe server.

15 years ago* scdaemon.c (main): Do the last change the usual way. This is so
Werner Koch [Mon, 26 Apr 2004 13:46:36 +0000 (13:46 +0000)]
* scdaemon.c (main): Do the last change the usual way. This is so
that we can easily test for versioned config files above.

* gpgsm.c (main) <gpgconf>: Do not use /dev/null as default config
filename.

15 years ago* call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)
Werner Koch [Mon, 26 Apr 2004 13:29:09 +0000 (13:29 +0000)]
* call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)
(gpgsm_agent_genkey, gpgsm_agent_istrusted)
(gpgsm_agent_marktrusted, gpgsm_agent_havekey)
(gpgsm_agent_passwd): Add new arg CTRL and changed all callers.
(start_agent): New arg CTRL.  Send progress item when starting a
new agent.
* sign.c (gpgsm_get_default_cert, get_default_signer): New arg
CTRL to be passed down to the agent function.
* decrypt.c (prepare_decryption): Ditto.
* certreqgen.c (proc_parameters, read_parameters): Ditto.
* certcheck.c (gpgsm_create_cms_signature): Ditto.

15 years ago2004-04-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 26 Apr 2004 13:07:08 +0000 (13:07 +0000)]
2004-04-26  Marcus Brinkmann  <marcus@g10code.de>

* scdaemon.c (main): For now, always print default filename for
--gpgconf-list, and never /dev/null.

15 years agoThe keybox gets now compressed after 3 hours and ephemeral
Werner Koch [Mon, 26 Apr 2004 08:09:25 +0000 (08:09 +0000)]
The keybox gets now compressed after 3 hours and ephemeral
stored certificates are deleted after about a day.

15 years ago(oidtranstbl): New. OIDs collected from several sources.
Werner Koch [Fri, 23 Apr 2004 10:34:25 +0000 (10:34 +0000)]
(oidtranstbl): New.  OIDs collected from several sources.
(print_name_raw, print_names_raw, list_cert_raw): New.
(gpgsm_list_keys): Check the dump mode and pass it down as
necessary.

15 years ago(main): New commands --dump-keys, --dump-external-keys,
Werner Koch [Thu, 22 Apr 2004 13:03:44 +0000 (13:03 +0000)]
(main): New commands --dump-keys, --dump-external-keys,
--dump-secret-keys.

15 years ago* command.c (scd_update_reader_status_file): Send a signal back to
Werner Koch [Wed, 21 Apr 2004 14:44:09 +0000 (14:44 +0000)]
* command.c (scd_update_reader_status_file): Send a signal back to
the client.
(option_handler): Parse the new event-signal option.

* scdaemon.c (handle_signal): Do not use SIGUSR{1,2} anymore for
changing the verbosity.

15 years ago* call-scd.c (start_scd): Send event-signal option. Always check
Werner Koch [Wed, 21 Apr 2004 14:43:51 +0000 (14:43 +0000)]
* call-scd.c (start_scd): Send event-signal option. Always check
that the scdaemon is still running.

* gpg-agent.c (handle_signal): Do not use SIGUSR{1,2} anymore for
changing the verbosity.

15 years ago* command.c (scd_update_reader_status_file): Write status files.
Werner Koch [Tue, 20 Apr 2004 16:42:55 +0000 (16:42 +0000)]
* command.c (scd_update_reader_status_file): Write status files.

* app-help.c (app_help_read_length_of_cert): Fixed calculation of
R_CERTOFF.

* pcsc-wrapper.c: New.
* Makefile.am (pkglib_PROGRAMS): Install it here.
* apdu.c (writen, readn): New.
(open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the
pcsc-wrapper if we are using Pth.
(apdu_send_le): Reinitialize RESULTLEN.  Handle SW_EOF_REACHED
like SW_SUCCESS.

15 years ago2004-04-20 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 20 Apr 2004 16:02:30 +0000 (16:02 +0000)]
2004-04-20  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_options_gpg_agent): Change type of
ignore-cache-for-signing option to GC_ARG_TYPE_NONE.

15 years ago* pcsc-wrapper.c: New.
Werner Koch [Tue, 20 Apr 2004 14:17:10 +0000 (14:17 +0000)]
* pcsc-wrapper.c: New.
* Makefile.am (pkglib_PROGRAMS): Install it here.
* apdu.c (writen, readn): New.
(open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the
pcsc-wrapper if we are using Pth.

15 years agoInclude jnlib/types.h and remove our own
Werner Koch [Tue, 20 Apr 2004 14:16:55 +0000 (14:16 +0000)]
Include jnlib/types.h and remove our own
definitions for byte.u16 and u32.

15 years agoRemove the fopencookie test. We don't need the
Werner Koch [Tue, 20 Apr 2004 14:16:44 +0000 (14:16 +0000)]
Remove the fopencookie test.  We don't need the
dummy function because we conditionally use fopencookie,
fpencookie or a replacement at place.

15 years ago* configure.ac: Remove the fopencookie test. We don't need the
Werner Koch [Tue, 20 Apr 2004 14:16:26 +0000 (14:16 +0000)]
* configure.ac: Remove the fopencookie test.  We don't need the
dummy function because we conditionally use fopencookie,
fpencookie or a replacement at place.

15 years agoRemoved this file from the CVS.
Werner Koch [Tue, 20 Apr 2004 06:50:55 +0000 (06:50 +0000)]
Removed this file from the CVS.

15 years ago2004-04-02 Thomas Schwinge <schwinge@nic-nac-project.de>
Marcus Brinkmann [Mon, 19 Apr 2004 14:17:30 +0000 (14:17 +0000)]
2004-04-02  Thomas Schwinge  <schwinge@nic-nac-project.de>

* autogen.sh: Added ACLOCAL_FLAGS.

15 years ago* gpg-agent.c (main): Tell the logging code taht we are runnign
Werner Koch [Fri, 16 Apr 2004 09:46:54 +0000 (09:46 +0000)]
* gpg-agent.c (main): Tell the logging code taht we are runnign
detached.

* logging.h (JNLIB_LOG_WITH_PREFIX): Add constants for the flag
values.
* logging.c (log_set_prefix): New flag DETACHED.
(fun_writer): Take care of this flag.
(log_test_fd): New.

15 years ago* misc.c (setup_pinentry_env): New.
Werner Koch [Tue, 13 Apr 2004 09:45:35 +0000 (09:45 +0000)]
* misc.c (setup_pinentry_env): New.
* import.c (popen_protect_tool): Call it.
* export.c (popen_protect_tool): Call it.

15 years ago(copy_and_escape): Relaxed quoting.
Werner Koch [Tue, 13 Apr 2004 09:45:23 +0000 (09:45 +0000)]
(copy_and_escape): Relaxed quoting.

15 years ago(gpgsm_decrypt): Return GPG_ERR_NO_DATA if it is not a
Werner Koch [Thu, 8 Apr 2004 09:53:32 +0000 (09:53 +0000)]
(gpgsm_decrypt): Return GPG_ERR_NO_DATA if it is not a
encrypted message.

15 years agoDocumented --force-crl-refresh
Werner Koch [Wed, 7 Apr 2004 18:02:56 +0000 (18:02 +0000)]
Documented --force-crl-refresh

15 years ago* gpgsm.c: New option --force-crl-refresh.
Werner Koch [Wed, 7 Apr 2004 17:59:18 +0000 (17:59 +0000)]
* gpgsm.c: New option --force-crl-refresh.
* call-dirmngr.c (gpgsm_dirmngr_isvalid): Pass option to dirmngr.

15 years ago(my_dgettext): Switch the codeset once to utf-8.
Werner Koch [Wed, 7 Apr 2004 16:53:55 +0000 (16:53 +0000)]
(my_dgettext): Switch the codeset once to utf-8.
Allow building with out NLS.

15 years agopost release re-versioning
Werner Koch [Tue, 6 Apr 2004 14:15:47 +0000 (14:15 +0000)]
post release re-versioning

15 years agoAbout to release 1.9.7 V1-9-7
Werner Koch [Tue, 6 Apr 2004 11:40:28 +0000 (11:40 +0000)]
About to release 1.9.7

15 years ago* configure.ac: Require libgcrypt 1.1.94.
Werner Koch [Tue, 6 Apr 2004 10:01:04 +0000 (10:01 +0000)]
* configure.ac: Require libgcrypt 1.1.94.
Introduce PACKAGE_GT and set it to gnupg2.

* gpg-agent.c (main): Use new libgcrypt thread library register
scheme.

* Makevars (DOMAIN): Init from PACKAGE_GT

15 years agoAdd STATUS_NEWSIG
Werner Koch [Tue, 6 Apr 2004 07:37:52 +0000 (07:37 +0000)]
Add STATUS_NEWSIG

15 years ago(main): Use new libgcrypt thread library register
Werner Koch [Tue, 6 Apr 2004 07:36:44 +0000 (07:36 +0000)]
(main): Use new libgcrypt thread library register
scheme.

15 years agoRequire libgcrypt 1.1.94.
Werner Koch [Tue, 6 Apr 2004 07:36:25 +0000 (07:36 +0000)]
Require libgcrypt 1.1.94.

15 years agoTypo fix
Werner Koch [Mon, 5 Apr 2004 17:25:43 +0000 (17:25 +0000)]
Typo fix

15 years ago* verify.c (gpgsm_verify): Print STATUS_NEWSIG for each signature.
Werner Koch [Mon, 5 Apr 2004 17:25:21 +0000 (17:25 +0000)]
* verify.c (gpgsm_verify): Print STATUS_NEWSIG for each signature.

* certchain.c (gpgsm_validate_chain) <gpgsm_cert_use_cer_p>: Do
not just warn if a cert is not suitable; bail out immediately.

* call-dirmngr.c (isvalid_status_cb): New.
(unhexify_fpr): New. Taken from ../g10/call-agent.c
(gpgsm_dirmngr_isvalid): Add new arg CTRL, changed caller to pass
it thru.  Detect need to check the respondert cert and do that.
* certchain.c (gpgsm_validate_chain): Add new arg FLAGS.  Changed
all callers.

15 years ago(STATUS_NEWSIG): New.
Werner Koch [Mon, 5 Apr 2004 17:24:27 +0000 (17:24 +0000)]
(STATUS_NEWSIG): New.

15 years ago(gpgsm_sign): Include a short list of capabilities.
Werner Koch [Wed, 24 Mar 2004 14:28:18 +0000 (14:28 +0000)]
(gpgsm_sign): Include a short list of capabilities.

15 years agoAdd dirmngr:allow-ocsp
Werner Koch [Tue, 23 Mar 2004 18:43:25 +0000 (18:43 +0000)]
Add dirmngr:allow-ocsp

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 18:27:37 +0000 (18:27 +0000)]
2004-03-23  Marcus Brinkmann  <marcus@g10code.de>

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

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 15:40:54 +0000 (15:40 +0000)]
2004-03-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf.c (main): Remove obsolete warning.

15 years agoMake it work
Werner Koch [Tue, 23 Mar 2004 13:48:46 +0000 (13:48 +0000)]
Make it work

15 years agoadd missing comma
Werner Koch [Tue, 23 Mar 2004 13:11:10 +0000 (13:11 +0000)]
add missing comma

15 years ago(gc_options_gpg): New.
Werner Koch [Tue, 23 Mar 2004 13:04:34 +0000 (13:04 +0000)]
(gc_options_gpg): New.
(gc_component_t, gc_component): Add GC_BACKEND_GPG.

15 years ago* configure.ac: Define SAFE_VERSION_DASH and SAFE_VERSION_DOT>
Werner Koch [Tue, 23 Mar 2004 13:03:09 +0000 (13:03 +0000)]
* configure.ac: Define SAFE_VERSION_DASH and SAFE_VERSION_DOT>

* g10.c: New options --gpgconf-list, --debug-level and --log-file
(set_debug): Add arg DEBUG_LEVEL.
(main): Look at less and less version specific config files.  From
gnupg 1.3.

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 12:33:59 +0000 (12:33 +0000)]
2004-03-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_flag): Add missing flags.

15 years ago(main) <gpgconf_list>: Fixed output for pcsc_driver.
Werner Koch [Tue, 23 Mar 2004 12:33:20 +0000 (12:33 +0000)]
(main) <gpgconf_list>: Fixed output for pcsc_driver.

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 12:21:48 +0000 (12:21 +0000)]
2004-03-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c: Include <signal.h>.
(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.

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 12:21:29 +0000 (12:21 +0000)]
2004-03-23  Marcus Brinkmann  <marcus@g10code.de>

* gpg-agent.c (main): For now, always print the default config
file name for --gpgconf-list.

15 years ago* gpg-agent.c (main) <gpgconf>: Fixed default value quoting.
Werner Koch [Wed, 17 Mar 2004 13:01:16 +0000 (13:01 +0000)]
* gpg-agent.c (main) <gpgconf>: Fixed default value quoting.
* scdaemon.c (main) <gpgconf>: Fixed default value quoting.
* gpgsm.c (main) <gpgconf>: Fixed default value quoting.

15 years ago(gc_options_gpg_agent): Implemented.
Werner Koch [Tue, 16 Mar 2004 19:00:25 +0000 (19:00 +0000)]
(gc_options_gpg_agent): Implemented.
(gc_options_gpgsm, gc_options_scdaemon): Implemented.
(gc_backend_t): Add GC_BACKEND_SCDAEMON.

15 years ago*** empty log message ***
Werner Koch [Tue, 16 Mar 2004 19:00:00 +0000 (19:00 +0000)]
*** empty log message ***

15 years ago(parse_rereadable_options): Use the new
Werner Koch [Tue, 16 Mar 2004 18:59:35 +0000 (18:59 +0000)]
(parse_rereadable_options): Use the new
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.

15 years ago* app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c
Werner Koch [Tue, 16 Mar 2004 18:59:21 +0000 (18:59 +0000)]
* app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c
* app-nks.c (get_length_of_cert): Removed.
* app-help.c: New.
(app_help_read_length_of_cert): New.  Code taken from above.  New
optional arg R_CERTOFF.

* card-dinsig.c: Removed.
* card.c (card_get_serial_and_stamp): Do not bind to the old and
never finsiged card-dinsig.c.

* iso7816.c (iso7816_read_binary): Allow for an NMAX > 254.

15 years ago(main): Implemented --gpgconf-list.
Werner Koch [Tue, 16 Mar 2004 18:59:09 +0000 (18:59 +0000)]
(main): Implemented --gpgconf-list.

15 years ago*** empty log message ***
Werner Koch [Tue, 16 Mar 2004 10:49:37 +0000 (10:49 +0000)]
*** empty log message ***

15 years ago* configure.ac (NEED_GPG_ERROR_VERSION): Set to 0.7.
Werner Koch [Tue, 16 Mar 2004 10:49:00 +0000 (10:49 +0000)]
* configure.ac (NEED_GPG_ERROR_VERSION): Set to 0.7.

15 years ago(parse_rereadable_options): Use the new
Werner Koch [Tue, 16 Mar 2004 10:48:42 +0000 (10:48 +0000)]
(parse_rereadable_options): Use the new
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.

15 years ago(gc_options_gpg_agent): Implemented.
Werner Koch [Tue, 16 Mar 2004 10:48:13 +0000 (10:48 +0000)]
(gc_options_gpg_agent): Implemented.

15 years ago* dynload.h [__MINGW32__]: Define RTLD_LAZY.
Werner Koch [Tue, 16 Mar 2004 10:47:08 +0000 (10:47 +0000)]
* dynload.h [__MINGW32__]: Define RTLD_LAZY.

15 years ago(list_cert_colon): Hack to set the expired flag.
Werner Koch [Mon, 15 Mar 2004 08:39:48 +0000 (08:39 +0000)]
(list_cert_colon): Hack to set the expired flag.

15 years ago2004-03-12 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 12 Mar 2004 14:42:31 +0000 (14:42 +0000)]
2004-03-12  Marcus Brinkmann  <marcus@g10code.de>

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

15 years ago2004-03-12 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 12 Mar 2004 14:29:40 +0000 (14:29 +0000)]
2004-03-12  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_component_change_options): Set the filenames
of the option's backend, not of the component.

15 years agoRemoved special code for RISC OS; we
Werner Koch [Tue, 9 Mar 2004 14:34:12 +0000 (14:34 +0000)]
Removed special code for RISC OS; we
don't want to clutter our code with system dependent stuff.

15 years ago2004-03-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 8 Mar 2004 17:59:24 +0000 (17:59 +0000)]
2004-03-08  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (retrieve_options_from_file): Quote each string
in the list, not only the first.

15 years agoFix buglet.
Marcus Brinkmann [Mon, 8 Mar 2004 14:28:54 +0000 (14:28 +0000)]
Fix buglet.

15 years agopost release development preparations
Werner Koch [Sat, 6 Mar 2004 20:42:14 +0000 (20:42 +0000)]
post release development preparations

15 years agostill preparing for a release V1-9-6
Werner Koch [Sat, 6 Mar 2004 20:15:17 +0000 (20:15 +0000)]
still preparing for a release

15 years agoPreparing for a release
Werner Koch [Sat, 6 Mar 2004 20:11:19 +0000 (20:11 +0000)]
Preparing for a release

15 years ago(gpgsm_export): Make sure that we don't export more
Werner Koch [Wed, 3 Mar 2004 08:55:50 +0000 (08:55 +0000)]
(gpgsm_export): Make sure that we don't export more
than one certificate.

15 years ago(create_duptable, destroy_duptable)
Werner Koch [Tue, 2 Mar 2004 08:02:47 +0000 (08:02 +0000)]
(create_duptable, destroy_duptable)
(insert_duptable): New.
(gpgsm_export): Avoid duplicates.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 22:45:19 +0000 (22:45 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_component_list_options): Do not print empty
groups.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 22:18:36 +0000 (22:18 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (option_check_validity): Check if option is
active.
(change_options_file): Implement.

15 years ago(compare_certs): New.
Werner Koch [Thu, 26 Feb 2004 22:08:58 +0000 (22:08 +0000)]
(compare_certs): New.
(gpgsm_validate_chain): Fixed infinite certificate checks after
bad signatures.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 18:54:46 +0000 (18:54 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (retrieve_options_from_program): Remove broken
string handling.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 18:39:34 +0000 (18:39 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (change_options_program): Support all types of
options, including list types.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 18:22:02 +0000 (18:22 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* README.gpgconf: Fix description of arguments.
* gpgconf-comp.c (option_check_validity): Rewritten to properly
support optional arguments in lists.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 16:28:27 +0000 (16:28 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* README.gpgconf (NAME): 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.

15 years ago2004-02-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 25 Feb 2004 20:24:53 +0000 (20:24 +0000)]
2004-02-25  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (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.

15 years ago2004-02-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 25 Feb 2004 19:35:36 +0000 (19:35 +0000)]
2004-02-25  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_component_list_options): Correct output for
lists of arg type none.

15 years agoNew option --disable-threads to inhibit
Werner Koch [Wed, 25 Feb 2004 08:58:46 +0000 (08:58 +0000)]
New option --disable-threads to inhibit
unintentional builds without Pth.

15 years ago2004-02-24 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 24 Feb 2004 14:31:59 +0000 (14:31 +0000)]
2004-02-24  Marcus Brinkmann  <marcus@g10code.de>

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

15 years ago(list_cert_colon): Print the fingerprint as the
Werner Koch [Tue, 24 Feb 2004 14:15:43 +0000 (14:15 +0000)]
(list_cert_colon): Print the fingerprint as the
cert-id for root certificates.

15 years ago2004-02-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 23 Feb 2004 20:59:18 +0000 (20:59 +0000)]
2004-02-23  Marcus Brinkmann  <marcus@g10code.de>

* README.gpgconf: Change meaning of type 0 options value if it is
the empty string or "0".

15 years ago2004-02-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 23 Feb 2004 20:31:35 +0000 (20:31 +0000)]
2004-02-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf.h (struct): Add member runtime.
* gpgconf.c: Add new option oRuntime.
(main): Same here.

15 years ago2004-02-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 23 Feb 2004 19:37:04 +0000 (19:37 +0000)]
2004-02-23  Marcus Brinkmann  <marcus@g10code.de>

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