aboutsummaryrefslogtreecommitdiffstats
path: root/sm/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch2004-12-201-0/+8
| | | | | | | | | | | | | | | | | | | | directories default to c:/gnupg. Require libassuan 0.6.9. * gpg-agent.c (main) [W32]: Now that Mutexes work we can remove the pth_init kludge. (main): Add new options --[no-]use-standard-socket. (check_for_running_agent): Check whether it is running on the standard socket. * sysutils.h [W32]: Define sleep. * util.h: Add prototype for mkdtemp. * call-agent.c (start_agent): Before starting a pipe server start to connect to a server on the standard socket. Use PATHSEP * call-dirmngr.c (start_dirmngr): Use PATHSEP. * import.c: Include unistd.h for dup and close.
* Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2004-12-181-0/+7
|
* * call-dirmngr.c (isvalid_status_cb, lookup_status_cb)Werner Koch2004-12-171-0/+10
| | | | | | | | | | (run_command_status_cb): Return cancel status if gpgsm_status returned an error. * server.c (gpgsm_status, gpgsm_status2) (gpgsm_status_with_err_code): Return an error code. (gpgsm_status2): Always call va_end().
* (lookup_status_cb): Send progress messagesWerner Koch2004-12-151-0/+7
| | | | | | | | | upstream. (isvalid_status_cb): Ditto. (gpgsm_dirmngr_isvalid): Put CTRL into status CB parameters. (gpgsm_dirmngr_run_command, run_command_status_cb): Pass CTRL to status callback and handle PROGRESS.
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-151-0/+10
|
* * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch2004-12-071-0/+7
| | | | | | | | | | * w32-pth.c, w32-pth.h: New. * Makefile.am (gpgsm_LDADD): Put libassuan before jnlib because under W32 we need the w32 pth code from jnlib. * misc.c (setup_pinentry_env) [W32]: Disabled.
* * exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.Werner Koch2004-12-061-0/+8
| | | | | | | | | | | * gpgsm.c (run_protect_tool) [_WIN32]: Disabled. * import.c (popen_protect_tool): Simplified by making use of gnupg_spawn_process. (parse_p12): Likewise, using gnupg_wait_process. * export.c (popen_protect_tool): Ditto. (export_p12): Ditto.
* * configure.ac (have_w32_system): New. Disable Pth checks for W32.Werner Koch2004-12-061-0/+4
| | | | | | | | | Link jnlib/w32-pth.h to pth.h. * Makefile.am (pkglib_PROGRAMS): Build only for W32. * keydb.c: Don't define DIRSEP_S here.
* Preparing 1.9.13Werner Koch2004-12-031-0/+6
|
* First take on a W32 portWerner Koch2004-12-021-0/+7
|
* * b64enc.c: Include stdio.h and string.hWerner Koch2004-11-231-0/+5
| | | | | | | | | * gpgsm.c: New option --prefer-system-dirmngr. * call-dirmngr.c (start_dirmngr): Implement this option. * gpgconf-comp.c <dirmngr>: Add the proxy options. <gpgsm>: Add --prefer-system-daemon.
* (gpgsm_genkey): Remove the NEW from the certificateWerner Koch2004-10-221-0/+5
| | | | | request PEM header. This is according to the Sphinx standard.
* 2004-10-08 Moritz Schulte <[email protected]>Moritz Schulte2004-10-081-0/+6
| | | | | | | * certchain.c (gpgsm_validate_chain): Do not use keydb_new() in case the no_chain_validation-return-short-cut is used (fixes memory leak).
* (setup_pinentry_env): Try hard to set a default for GPG_TTY.Werner Koch2004-10-041-0/+4
|
* * gpgv.c (i18n_init): Always use LC_ALL.Werner Koch2004-09-301-0/+12
| | | | | | | | | | | | | | | | | | | * kbxutil.c (i18n_init): Always use LC_ALL. * gpgsm.c (i18n_init): Always use LC_ALL. * certdump.c (gpgsm_format_name): Factored code out to .. (gpgsm_format_name2): .. new. (gpgsm_print_name): Factored code out to .. (gpgsm_print_name2): .. new. (print_dn_part): New arg TRANSLATE. Changed all callers. (print_dn_parts): Ditto. (gpgsm_format_keydesc): Do not translate the SUBJECT; we require it to stay UTF-8 but we still want to filter out bad control characters. * gpgconf.c (i18n_init): Always use LC_ALL.
* Preparing a new release. Updated gettextWerner Koch2004-09-301-0/+2
|
* * de.po: Updated.Werner Koch2004-09-301-0/+5
| | | | | | | | | | | * POTFILES.in: Add more files. * app-openpgp.c (do_sign): Add the error string to the verify failed messages. * keylist.c (list_cert_colon): Make sure that the expired flag has a higher precedence than the invalid flag.
* * minip12.c (parse_bag_encrypted_data): Print error if a badWerner Koch2004-09-291-0/+6
| | | | | | | | | | | | passphrase has been given. * gpg-agent.texi (Invoking GPG-AGENT): Add a few words about the expected pinentry filename. * import.c (parse_p12): Write an error status line for bad passphrases. Add new arg CTRL and changed caller. * export.c (export_p12): Likewise.
* (show_key_with_all_names): Print the card S/N.Werner Koch2004-09-201-0/+6
| | | | | | * app-openpgp.c (app_select_openpgp): Its app_munge_serialno and not app_number_serialno.
* Fixed typo in ocsp OID.Werner Koch2004-08-241-0/+4
|
* * certlist.c (gpgsm_cert_use_ocsp_p): New.Werner Koch2004-08-181-0/+6
| | | | | | (cert_usage_p): Support it here. * call-dirmngr.c (gpgsm_dirmngr_isvalid): Use it here.
* 2004-08-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-08-171-0/+4
| | | | | * import.c: Fix typo in last change.
* * import.c (check_and_store): Do a full validation ifWerner Koch2004-08-171-0/+15
| | | | | | | | | | | | | | --with-validation is set. * certchain.c (gpgsm_basic_cert_check): Print more detailed error messages. * certcheck.c (do_encode_md): Partly support DSA. Add new arg PKALGO. Changed all callers to pass it. (pk_algo_from_sexp): New. tests/pkits: New directory
* (cmd_encrypt): Use DEFAULT_RECPLIST and not recplistWerner Koch2004-08-161-0/+5
| | | | | for encrypt-to keys.
* * gpgsm.c: New option --with-ephemeral-keys.Werner Koch2004-08-061-0/+7
| | | | | | | * keylist.c (list_internal_keys): Set it here. (list_cert_raw): And indicate those keys. Changed all our callers to pass the new arg HD through.
* * configure.ac: Changed tests for libusb to also suuport theWerner Koch2004-08-051-0/+5
| | | | | | | | | | | | | | | | | | stable version 0.1.x. * scdaemon.texi (Card applications): New section. * scdaemon.c (main): New option --disable-application. * app.c (is_app_allowed): New. (select_application): Use it to check for disabled applications. * ccid-driver.h (CCID_DRIVER_ERR_ABORTED): New. * ccid-driver.c (ccid_open_reader): Support the stable 0.1 version of libusb. (ccid_get_atr): Handle short messages. * apdu.c (my_rapdu_get_status): Implemented.
* * trustlist.c (read_list): Allow colons in the fingerprint.Werner Koch2004-07-221-0/+4
| | | | | | | | | | | | | (headerblurb): Rephrased. * gpg-agent.c (handle_connections): Increase the stack size ot 256k. * de.po: Updated. * scdaemon.c (main): Bumbed thread stack size up to 512k. * keylist.c (list_cert_raw): Print the keygrip.
* (gpgsm_validate_chain): The trust check didn'tWerner Koch2004-07-201-0/+5
| | | | | worked anymore, probably due to the changes at 2003-03-04. Fixed.
* * configure.ac: Require libksba 0.9.7.Werner Koch2004-06-061-0/+17
| | | | | | | | | | | | | | | | * 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.
* * gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.Werner Koch2004-05-111-0/+2
| | | | | | | | | | | | | | | | (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-111-0/+10
| | | | | | | | | | | | | | | 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-111-0/+3
| | | | | | | | | | | | | | | (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.
* * gpgsm.h (opt): Add member CONFIG_FILENAME.Werner Koch2004-05-111-0/+7
| | | | | | | * 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.
* * protect-tool.c: New option --enable-status-msg.Werner Koch2004-04-301-0/+3
| | | | | | | | | | | | (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.
* (check_and_store): Do not update the stats for hiddenWerner Koch2004-04-301-0/+5
| | | | | imports of issuer certs.
* * gpgsm.c: New command --keydb-clear-some-cert-flags.Werner Koch2004-04-281-0/+7
| | | | | | | * keydb.c (keydb_clear_some_cert_flags): New. (keydb_update_keyblock, keydb_set_flags): Change error code CONFLICT to NOT_LOCKED.
* * scdaemon.c (main): Do the last change the usual way. This is soWerner Koch2004-04-261-0/+3
| | | | | | | | 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-261-0/+14
| | | | | | | | | | | | | | (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.
* The keybox gets now compressed after 3 hours and ephemeralWerner Koch2004-04-261-0/+2
| | | | | stored certificates are deleted after about a day.
* (oidtranstbl): New. OIDs collected from several sources.Werner Koch2004-04-231-0/+7
| | | | | | | (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-221-0/+5
| | | | | --dump-secret-keys.
* * misc.c (setup_pinentry_env): New.Werner Koch2004-04-131-0/+6
| | | | | | * import.c (popen_protect_tool): Call it. * export.c (popen_protect_tool): Call it.
* (gpgsm_decrypt): Return GPG_ERR_NO_DATA if it is not aWerner Koch2004-04-081-0/+5
| | | | | encrypted message.
* * gpgsm.c: New option --force-crl-refresh.Werner Koch2004-04-071-0/+5
| | | | | * call-dirmngr.c (gpgsm_dirmngr_isvalid): Pass option to dirmngr.
* Add STATUS_NEWSIGWerner Koch2004-04-061-0/+1
|
* * verify.c (gpgsm_verify): Print STATUS_NEWSIG for each signature.Werner Koch2004-04-051-0/+16
| | | | | | | | | | | | | * 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.
* (gpgsm_sign): Include a short list of capabilities.Werner Koch2004-03-241-0/+4
|
* * gpg-agent.c (main) <gpgconf>: Fixed default value quoting.Werner Koch2004-03-171-0/+4
| | | | | | * scdaemon.c (main) <gpgconf>: Fixed default value quoting. * gpgsm.c (main) <gpgconf>: Fixed default value quoting.
* (main): Implemented --gpgconf-list.Werner Koch2004-03-161-0/+4
|
* (list_cert_colon): Hack to set the expired flag.Werner Koch2004-03-151-0/+10
|