aboutsummaryrefslogtreecommitdiffstats
path: root/sm (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-01-13* acinclude.m4 (GNUPG_PTH_VERSION_CHECK): Link a simple testV1-9-15Werner Koch3-2/+6
program to see whether the installation is sane. * certreqgen.c (proc_parameters): Cast printf arg.
2004-12-22(set_binary): New.Werner Koch2-4/+41
(main, open_read, open_fwrite): Use it.
2004-12-21* preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch2-0/+4
* Makefile.am (gpg_preset_passphrase_LDADD): Reorder libs so that pwquery may use stuff from jnlib. Conditionally add -lwsock2 (gpg_protect_tool_LDADD): Ditto. * preset-passphrase.c (main): Use default_homedir(). (main) [W32]: Initialize sockets. * simple-pwquery.c (agent_open) [W32]: Implement for W32. (readline) [W32]: Use recv instead of read. (writen) [W32]: Use send instead of write. (my_stpcpy): Define a stpcpy replacement so that this file continues to be self-contained. (agent_send_all_options) [W32]: Don't call ttyname. * gnupg-badge-openpgp.eps, gnupg-badge-openpgp.jpg: New * gnupg.texi: Add a logo. * sysnotes.texi: New. * gpgsm.c (main): Use default_homedir(). (main) [W32]: Default to disabled CRL checks. * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute pathnames with a drive letter.
2004-12-21* gpg-agent.c (main): Use default_homedir().Werner Koch2-9/+6
* protect-tool.c (main): Ditto. * signal.c (got_fatal_signal, got_usr_signal) (got_fatal_signal) [DOSISH]: Don't build. * simple-gettext.c: Include sysutils.h * homedir.c: New. * Makefile.am (libcommon_a_SOURCES): Add it. (EXTRA_DIST): Removed mkerror and mkerrtok. * gpgv.c, g10.c (main): Use default_hoemdir (). * scdaemon.c (main): Use default_homedir(). * gpgsm.c (main): Use default_homedir().
2004-12-20* configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch4-31/+52
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.
2004-12-19* maperror.c (map_assuan_err_with_source): Oops, args were swapped.Werner Koch1-2/+2
* w32-pth.c (pth_init): Enable debugging depending on env var.
2004-12-18* configure.ac (AH_BOTTOM): Define EXEEXT_S.Werner Koch1-0/+1
* autogen.sh: Updated --build-w32 feature. * gpg-agent.c (main): Remove special Pth initialize. * w32-pth.c (pth_init): Reverse return values. Use TRUE and FALSE constants. (pth_kill, pth_mutex_acquire, pth_attr_set, pth_join, pth_cancel): Ditto. * scdaemon.c (main) [W32]: Remove special Pth initialize..
2004-12-18Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch3-1/+11
2004-12-17* call-dirmngr.c (isvalid_status_cb, lookup_status_cb)Werner Koch4-17/+33
(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().
2004-12-15(lookup_status_cb): Send progress messagesWerner Koch2-3/+41
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.
2004-12-15A whole bunch of changes to allow building for W32.Werner Koch3-7/+26
2004-12-13VArious hacks to make it at least build under W32.Werner Koch1-1/+1
* stringhelp.c (w32_strerror) [W32]: New. * w32-pth.c, w32-pth.h: Added real code written by Timo Schulz. Not finished, though. * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
2004-12-07* asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch3-3/+12
* 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.
2004-12-06* exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.Werner Koch4-233/+51
* 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.
2004-12-06* configure.ac (have_w32_system): New. Disable Pth checks for W32.Werner Koch2-2/+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.
2004-12-03Preparing 1.9.13Werner Koch2-4/+23
2004-12-02First take on a W32 portWerner Koch2-21/+30
2004-11-23* b64enc.c: Include stdio.h and string.hWerner Koch4-19/+44
* 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.
2004-10-22(gpgsm_genkey): Remove the NEW from the certificateWerner Koch2-1/+6
request PEM header. This is according to the Sphinx standard.
2004-10-082004-10-08 Moritz Schulte <[email protected]>Moritz Schulte2-2/+9
* certchain.c (gpgsm_validate_chain): Do not use keydb_new() in case the no_chain_validation-return-short-cut is used (fixes memory leak).
2004-10-04(setup_pinentry_env): Try hard to set a default for GPG_TTY.Werner Koch2-1/+20
2004-10-01* gpgconf-comp.c (my_dgettext): Also switch codeset and directoryWerner Koch1-1/+1
for the other used domains (i.e. dirmngr). * gpgconf.c (main): Fixed translation markers.
2004-09-30* gpgv.c (i18n_init): Always use LC_ALL.Werner Koch4-17/+48
* 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.
2004-09-30Preparing a new release. Updated gettextWerner Koch2-1/+5
2004-09-30* de.po: Updated.Werner Koch2-2/+10
* 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.
2004-09-30spelling fixWerner Koch1-1/+4
2004-09-29Print warning when --default-key is used.Werner Koch1-0/+1
2004-09-29* minip12.c (parse_bag_encrypted_data): Print error if a badWerner Koch3-10/+61
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.
2004-09-20(show_key_with_all_names): Print the card S/N.Werner Koch2-3/+18
* app-openpgp.c (app_select_openpgp): Its app_munge_serialno and not app_number_serialno.
2004-08-24Fixed typo in ocsp OID.Werner Koch2-1/+5
2004-08-18* certlist.c (gpgsm_cert_use_ocsp_p): New.Werner Koch4-4/+36
(cert_usage_p): Support it here. * call-dirmngr.c (gpgsm_dirmngr_isvalid): Use it here.
2004-08-172004-08-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-1/+5
* import.c: Fix typo in last change.
2004-08-17* import.c (check_and_store): Do a full validation ifWerner Koch6-61/+156
--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
2004-08-16(cmd_encrypt): Use DEFAULT_RECPLIST and not recplistWerner Koch2-1/+6
for encrypt-to keys.
2004-08-06* gpgsm.c: New option --with-ephemeral-keys.Werner Koch4-8/+39
* 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.
2004-08-05* configure.ac: Changed tests for libusb to also suuport theWerner Koch2-7/+13
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.
2004-07-22* trustlist.c (read_list): Allow colons in the fingerprint.Werner Koch2-1/+9
(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.
2004-07-20(gpgsm_validate_chain): The trust check didn'tWerner Koch2-0/+8
worked anymore, probably due to the changes at 2003-03-04. Fixed.
2004-06-06* configure.ac: Require libksba 0.9.7.Werner Koch9-65/+111
* 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.
2004-05-11* gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.Werner Koch2-20/+47
(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.
2004-05-11* sign.c (gpgsm_sign): Include the error source in the final errorWerner Koch6-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.
2004-05-11* sysutils.c (disable_core_dumps): Only set the current limit.Werner Koch3-1/+9
(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.
2004-05-11Also print agent and dirmngr info.Werner Koch1-6/+13
2004-05-11* gpgsm.h (opt): Add member CONFIG_FILENAME.Werner Koch4-10/+34
* 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.
2004-04-30* protect-tool.c: New option --enable-status-msg.Werner Koch2-12/+62
(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.
2004-04-30(check_and_store): Do not update the stats for hiddenWerner Koch2-8/+20
imports of issuer certs.
2004-04-29typo fixWerner Koch1-1/+1
2004-04-28* gpgsm.c: New command --keydb-clear-some-cert-flags.Werner Koch4-3/+118
* keydb.c (keydb_clear_some_cert_flags): New. (keydb_update_keyblock, keydb_set_flags): Change error code CONFLICT to NOT_LOCKED.
2004-04-26* scdaemon.c (main): Do the last change the usual way. This is soWerner Koch2-2/+7
that we can easily test for versioned config files above. * gpgsm.c (main) <gpgconf>: Do not use /dev/null as default config filename.
2004-04-26* call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)Werner Koch12-65/+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.