gnupg.git
15 years ago* debugging.texi: New.
Werner Koch [Fri, 18 Jun 2004 11:18:27 +0000 (11:18 +0000)]
* debugging.texi: New.
* gnupg.texi: Include it.

15 years ago* keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.
Werner Koch [Fri, 18 Jun 2004 09:53:56 +0000 (09:53 +0000)]
* keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.
(update_stats): New.
* kbxutil.c (main): New command --stats.

15 years ago(osc_get_status): Fixed type in function name. Noted by
Werner Koch [Wed, 16 Jun 2004 12:38:01 +0000 (12:38 +0000)]
(osc_get_status): Fixed type in function name. Noted by
Axel Thimm.  Yes, I didn't tested it with OpenSC :-(.

15 years ago* xreadline.c: New. Based on the iobuf_read_line function.
Werner Koch [Mon, 14 Jun 2004 08:32:07 +0000 (08:32 +0000)]
* xreadline.c: New.  Based on the iobuf_read_line function.

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

15 years agopost release version bump
Werner Koch [Tue, 8 Jun 2004 19:25:06 +0000 (19:25 +0000)]
post release version bump

15 years agoabout to release 1.9.9 V1-9-9
Werner Koch [Tue, 8 Jun 2004 19:10:32 +0000 (19:10 +0000)]
about to release 1.9.9

15 years ago* configure.ac: Require libksba 0.9.7.
Werner Koch [Sun, 6 Jun 2004 13:00:59 +0000 (13:00 +0000)]
* configure.ac: Require libksba 0.9.7.

* certreqgen.c (get_parameter_uint, create_request): Create
an extension for key usage when requested.

* gpgsm.c (main): Install emergency_cleanup also as an atexit
handler.

* verify.c (gpgsm_verify): Removed the separate error code
handling for KSBA.  We use shared error codes anyway.

* export.c (export_p12): Removed debugging code.

* encrypt.c (gpgsm_encrypt): Put the session key in to secure memory.

15 years ago* util.h (xtrycalloc_secure,xtrymalloc_secure): New.
Werner Koch [Sun, 6 Jun 2004 12:59:02 +0000 (12:59 +0000)]
* util.h (xtrycalloc_secure,xtrymalloc_secure): New.

15 years ago2004-05-21 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 21 May 2004 13:55:43 +0000 (13:55 +0000)]
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

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

15 years ago2004-05-21 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 21 May 2004 13:46:13 +0000 (13:46 +0000)]
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_component_change_options): Move the
per-process backup file into a standard location.

15 years ago* gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.
Werner Koch [Tue, 11 May 2004 19:11:53 +0000 (19:11 +0000)]
* gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.
(start_connection_thread): Hack to simulate a ticker.
* trustlist.c (agent_trustlist_housekeeping)
(agent_reload_trustlist): New.  Protected all global functions
here with a simple counter which is sufficient for Pth.

* fingerprint.c (gpgsm_get_key_algo_info): New.
* sign.c (gpgsm_sign): Don't assume RSA in the status line.
* keylist.c (list_cert_colon): Really print the algorithm and key
length.
(list_cert_raw, list_cert_std): Ditto.
(list_cert_colon): Reorganized to be able to tell whether a root
certificate is trusted.

15 years ago* sign.c (gpgsm_sign): Include the error source in the final error
Werner Koch [Tue, 11 May 2004 15:36:48 +0000 (15:36 +0000)]
* sign.c (gpgsm_sign): Include the error source in the final error
message.
* decrypt.c (gpgsm_decrypt): Ditto.

* fingerprint.c (gpgsm_get_key_algo_info): New.
* sign.c (gpgsm_sign): Don't assume RSA in the status line.
* keylist.c (list_cert_colon): Really print the algorithm and key
length.
(list_cert_raw, list_cert_std): Ditto.

* gpgsm.h (opt): Add member CONFIG_FILENAME.
* gpgsm.c (main): Use it here instead of the local var.

15 years ago* sysutils.c (disable_core_dumps): Only set the current limit.
Werner Koch [Tue, 11 May 2004 09:54:52 +0000 (09:54 +0000)]
* sysutils.c (disable_core_dumps): Only set the current limit.
(enable_core_dumps): New.

* gpgsm.texi (Esoteric Options): Add --debug-allow-core-dump.

* gpgsm.c: New option --debug-allow-core-dump.

* gpgsm.h (opt): Add member CONFIG_FILENAME.
* gpgsm.c (main): Use it here instead of the local var.

* server.c (gpgsm_server): Print some additional information with
the hello in verbose mode.

15 years agoAlso print agent and dirmngr info.
Werner Koch [Tue, 11 May 2004 09:24:09 +0000 (09:24 +0000)]
Also print agent and dirmngr info.

15 years ago* gpgsm.h (opt): Add member CONFIG_FILENAME.
Werner Koch [Tue, 11 May 2004 09:15:56 +0000 (09:15 +0000)]
* gpgsm.h (opt): Add member CONFIG_FILENAME.
* gpgsm.c (main): Use it here instead of the local var.
* server.c (gpgsm_server): Print some additional information with
the hello in verbose mode.

15 years ago(log_set_file): Oops, don't close if LOGSTREAM is NULL.
Werner Koch [Wed, 5 May 2004 19:33:56 +0000 (19:33 +0000)]
(log_set_file): Oops, don't close if LOGSTREAM is NULL.

15 years ago* gpg-agent.c: Remove help texts for options lile --lc-ctype.
Werner Koch [Mon, 3 May 2004 13:37:38 +0000 (13:37 +0000)]
* gpg-agent.c: Remove help texts for options lile --lc-ctype.
(main): New option --allow-mark-trusted.
* trustlist.c (agent_marktrusted): Use it here.

* gpg-agent.texi (Agent Options): Add --allow-mark-trusted.

* gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.

15 years ago(main) <gpgconf>: Use gpg.conf and not /dev/null as
Werner Koch [Fri, 30 Apr 2004 16:36:36 +0000 (16:36 +0000)]
(main) <gpgconf>: Use gpg.conf and not /dev/null as
default filename.

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