aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.Werner Koch2004-05-116-42/+153
| | | | | | | | | | | | | | | | (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.
* * sign.c (gpgsm_sign): Include the error source in the final errorWerner Koch2004-05-116-12/+106
| | | | | | | | | | | | | | | 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.
* * sysutils.c (disable_core_dumps): Only set the current limit.Werner Koch2004-05-118-8/+57
| | | | | | | | | | | | | | | (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.
* Also print agent and dirmngr info.Werner Koch2004-05-111-6/+13
|
* * gpgsm.h (opt): Add member CONFIG_FILENAME.Werner Koch2004-05-117-16/+38
| | | | | | | * 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.
* (log_set_file): Oops, don't close if LOGSTREAM is NULL.Werner Koch2004-05-052-1/+5
|
* * gpg-agent.c: Remove help texts for options lile --lc-ctype.Werner Koch2004-05-038-12/+51
| | | | | | | | | | (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.
* (main) <gpgconf>: Use gpg.conf and not /dev/null asWerner Koch2004-04-302-2/+9
| | | | | default filename.
* * protect-tool.c: New option --enable-status-msg.Werner Koch2004-04-304-12/+77
| | | | | | | | | | | | (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.
* Allow changing --log-fileWerner Koch2004-04-301-1/+1
|
* * gpg-agent.c (parse_rereadable_options): New arg REREAD. AllowWerner Koch2004-04-304-8/+42
| | | | | | | | | 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.
* (check_and_store): Do not update the stats for hiddenWerner Koch2004-04-302-8/+20
| | | | | imports of issuer certs.
* Added more runtime flags for the gpg-agentWerner Koch2004-04-302-4/+9
| | | | | backend.
* 2004-04-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-292-0/+11
| | | | | | | * gpgconf-comp.c (change_options_program): Turn on utf8-strings in the gpgconf specific part of the config file for the GnuPG backend.
* post release version bumpWerner Koch2004-04-292-1/+6
|
* autoupdatedV1-9-8Werner Koch2004-04-291-141/+141
|
* AddedWerner Koch2004-04-291-0/+107
|
* About to release 1.9.8Werner Koch2004-04-293-3/+10
|
* typo fixWerner Koch2004-04-291-1/+1
|
* * app-openpgp.c (do_setattr): Sync FORCE_CHV1.Werner Koch2004-04-292-1/+9
|
* * card-util.c (card_edit): Remove PIN verification.Werner Koch2004-04-293-33/+33
| | | | | | (generate_card_keys): New arg SERIALNO. Do PIN verification here after resetting forced_chv1.
* Add --ocsp-signer for the dirmngr backend.Werner Koch2004-04-282-0/+7
|
* * app-common.h: Do not include ksba.h for gnupg 1.Werner Koch2004-04-283-1/+6
|
* * gpgsm.c: New command --keydb-clear-some-cert-flags.Werner Koch2004-04-285-3/+127
| | | | | | | * keydb.c (keydb_clear_some_cert_flags): New. (keydb_update_keyblock, keydb_set_flags): Change error code CONFLICT to NOT_LOCKED.
* * app-common.h: New members FNC.DEINIT and APP_LOCAL.Werner Koch2004-04-264-33/+235
| | | | | | | | | | | | | | | * 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.
* (change_name): Check that the NAME is not too long.Werner Koch2004-04-262-0/+30
| | | | | | (change_url): Likewise. (change_login): Likewise.
* (start_scd): Do not register an event signal if weWerner Koch2004-04-262-1/+9
| | | | | are running as a pipe server.
* * scdaemon.c (main): Do the last change the usual way. This is soWerner Koch2004-04-264-7/+15
| | | | | | | | that we can easily test for versioned config files above. * gpgsm.c (main) <gpgconf>: Do not use /dev/null as default config filename.
* * call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)Werner Koch2004-04-2613-66/+90
| | | | | | | | | | | | | | (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.
* 2004-04-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-262-3/+12
| | | | | | * scdaemon.c (main): For now, always print default filename for --gpgconf-list, and never /dev/null.
* The keybox gets now compressed after 3 hours and ephemeralWerner Koch2004-04-2614-57/+413
| | | | | stored certificates are deleted after about a day.
* (oidtranstbl): New. OIDs collected from several sources.Werner Koch2004-04-232-21/+309
| | | | | | | (print_name_raw, print_names_raw, list_cert_raw): New. (gpgsm_list_keys): Check the dump mode and pass it down as necessary.
* (main): New commands --dump-keys, --dump-external-keys,Werner Koch2004-04-224-13/+241
| | | | | --dump-secret-keys.
* * command.c (scd_update_reader_status_file): Send a signal back toWerner Koch2004-04-213-8/+55
| | | | | | | | | 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.
* * call-scd.c (start_scd): Send event-signal option. Always checkWerner Koch2004-04-214-20/+45
| | | | | | | | that the scdaemon is still running. * gpg-agent.c (handle_signal): Do not use SIGUSR{1,2} anymore for changing the verbosity.
* * command.c (scd_update_reader_status_file): Write status files.Werner Koch2004-04-206-11/+68
| | | | | | | | | | | | | | * 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.
* 2004-04-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-202-1/+6
| | | | | | * gpgconf-comp.c (gc_options_gpg_agent): Change type of ignore-cache-for-signing option to GC_ARG_TYPE_NONE.
* * pcsc-wrapper.c: New.Werner Koch2004-04-2011-78/+1827
| | | | | | | | * 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.
* Include jnlib/types.h and remove our ownWerner Koch2004-04-202-11/+11
| | | | | definitions for byte.u16 and u32.
* Remove the fopencookie test. We don't need theWerner Koch2004-04-201-1/+0
| | | | | | dummy function because we conditionally use fopencookie, fpencookie or a replacement at place.
* * configure.ac: Remove the fopencookie test. We don't need theWerner Koch2004-04-202-3/+9
| | | | | | dummy function because we conditionally use fopencookie, fpencookie or a replacement at place.
* Removed this file from the CVS.Werner Koch2004-04-201-37/+0
|
* 2004-04-02 Thomas Schwinge <[email protected]>Marcus Brinkmann2004-04-192-2/+6
| | | | | * autogen.sh: Added ACLOCAL_FLAGS.
* * gpg-agent.c (main): Tell the logging code taht we are runnignWerner Koch2004-04-165-33/+91
| | | | | | | | | | | 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.
* * misc.c (setup_pinentry_env): New.Werner Koch2004-04-135-2/+46
| | | | | | * import.c (popen_protect_tool): Call it. * export.c (popen_protect_tool): Call it.
* (copy_and_escape): Relaxed quoting.Werner Koch2004-04-132-5/+11
|
* (gpgsm_decrypt): Return GPG_ERR_NO_DATA if it is not aWerner Koch2004-04-082-0/+10
| | | | | encrypted message.
* Documented --force-crl-refreshWerner Koch2004-04-071-0/+10
|
* * gpgsm.c: New option --force-crl-refresh.Werner Koch2004-04-075-2/+26
| | | | | * call-dirmngr.c (gpgsm_dirmngr_isvalid): Pass option to dirmngr.
* (my_dgettext): Switch the codeset once to utf-8.Werner Koch2004-04-072-2/+22
| | | | | Allow building with out NLS.