aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-dirmngr.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-10-02Fix for bug 537Werner Koch1-3/+3
2006-09-06The big Assuan error code removal.Werner Koch1-39/+39
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-02-19Better warning messagesWerner Koch1-8/+9
2005-11-13Added qualified signature features.Werner Koch1-1/+1
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-632/+0
2005-07-20* keylist.c (email_kludge): Reworked.Werner Koch1-1/+1
* certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf arg to unsigned. * call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto
2005-04-18* configure.ac: Require libksba 0.9.11.Werner Koch1-3/+18
sm/ * call-dirmngr.c (inq_certificate): Add new inquire SENDCERT_SKI. * certlist.c (gpgsm_find_cert): Add new arg KEYID and implement this filter. Changed all callers. * certchain.c (find_up_search_by_keyid): New helper. (find_up): Also try using the AKI.keyIdentifier. (find_up_external): Ditto.
2005-04-11* call-dirmngr.c (start_dirmngr): Use PATHSEP_C instead of ':'.Werner Koch1-1/+1
* call-agent.c (start_agent): Ditto.
2004-12-20* configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch1-1/+1
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-17* call-dirmngr.c (isvalid_status_cb, lookup_status_cb)Werner Koch1-3/+6
(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 Koch1-3/+34
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-11-23* b64enc.c: Include stdio.h and string.hWerner Koch1-18/+32
* 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-08-18* certlist.c (gpgsm_cert_use_ocsp_p): New.Werner Koch1-3/+1
(cert_usage_p): Support it here. * call-dirmngr.c (gpgsm_dirmngr_isvalid): Use it here.
2004-04-07* gpgsm.c: New option --force-crl-refresh.Werner Koch1-0/+13
* call-dirmngr.c (gpgsm_dirmngr_isvalid): Pass option to dirmngr.
2004-04-05* verify.c (gpgsm_verify): Print STATUS_NEWSIG for each signature.Werner Koch1-3/+108
* 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.
2004-03-06Preparing for a releaseWerner Koch1-6/+26
2004-02-17* gpgsm.c: Fixed value parsing for --with-validation.Werner Koch1-1/+1
* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO. * call-dirmngr.c (start_dirmngr): Likewise for DIRMNGR_INFO.
2003-12-17Replaced deprecated type names.Werner Koch1-6/+6
* certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul. (gpgsm_dump_serial): Ditto. * decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
2003-12-01* gpgsm.c, gpgsm.h: New options --{enable,disable}-ocsp.Werner Koch1-6/+21
(gpgsm_init_default_ctrl): Set USE_OCSP to the default value. * certchain.c (gpgsm_validate_chain): Handle USE_OCSP. * call-dirmngr.c (gpgsm_dirmngr_isvalid): Add arg USE_OCSP and proceed accordingly.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-4/+4
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+632
'GNUPG-1-9-BRANCH'.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-3/+3
2003-06-03Fix small typo in comment.Marcus Brinkmann1-1/+1
2003-06-03Make use of libgpg-errorWerner Koch1-12/+13
2003-01-09Updated from latest NewPG projectWerner Koch1-2/+138
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-495/+0
'GNUPG-1-9-BRANCH'.
2002-07-02* call-dirmngr.c (gpgsm_dirmngr_isvalid): print status of dirmngrWerner Koch1-0/+9
call in very verbose mode. * gpgsm.c (main): Use the same error codes for STATUS_INV_RECP as with the server mode.
2002-06-29* gpgsm.c: New option --auto-issuer-key-retrieve.Werner Koch1-5/+9
* certpath.c (find_up): Try to retrieve an issuer key from an external source and from the ephemeral key DB. (find_up_store_certs_cb): New. * keydb.c (keydb_set_ephemeral): Does now return the old state. Call the backend only when required. * call-dirmngr.c (start_dirmngr): Use GNUPG_DEFAULT_DIRMNGR. (lookup_status_cb): Issue status only when CTRL is not NULL. (gpgsm_dirmngr_lookup): Document that CTRL is optional. * call-agent.c (start_agent): Use GNUPG_DEFAULT_AGENT.
2002-06-27* gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.Werner Koch1-1/+10
* call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained.
2002-06-20* certlist.c (gpgsm_add_to_certlist): Fixed locating of aWerner Koch1-1/+0
certificate with the required key usage. * gpgsm.c (main): Fixed a segv when using --outfile without an argument. * keylist.c (print_capabilities): Also check for non-repudiation and data encipherment. * certlist.c (cert_usage_p): Test for signing and encryption was swapped. Add a case for certification usage, handle non-repudiation and data encipherment. (gpgsm_cert_use_cert_p): New. (gpgsm_add_to_certlist): Added a CTRL argument and changed all callers to pass it. * certpath.c (gpgsm_validate_path): Use it here to print a status message. Added a CTRL argument and changed all callers to pass it. * decrypt.c (gpgsm_decrypt): Print a status message for wrong key usage. * verify.c (gpgsm_verify): Ditto. * keydb.c (classify_user_id): Allow a colon delimited fingerprint.
2002-06-12* call-dirmngr.c (lookup_status_cb): New.Werner Koch1-4/+21
(gpgsm_dirmngr_lookup): Use the status CB. Add new arg CTRL and changed caller to pass it.
2002-05-21* keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch1-6/+227
(list_external_keys): New. (gpgsm_list_keys): Dispatcher for above. * call-dirmngr.c (lookup_cb,pattern_from_strlist) (gpgsm_dirmngr_lookup): New. * server.c (option_handler): Handle new option --list-mode. (do_listkeys): Handle options and actually use the mode argument. (get_status_string): New code TRUNCATED.
2002-04-27Debug message cleanups.Werner Koch1-2/+3
2002-02-28Changes needed to support smartcards. Well, only _support_. There isWerner Koch1-1/+2
no real code yet.
2002-01-21* gpgsm.c: Add option --enable-crl-checks.Werner Koch1-16/+39
* call-agent.c (start_agent): Implemented socket based access. * call-dirmngr.c (start_dirmngr): Ditto.
2002-01-15* import.c (gpgsm_import): Just do a basic cert check beforeWerner Koch1-1/+4
storing it. * certpath.c (gpgsm_basic_cert_check): New. * keydb.c (keydb_store_cert): New. * import.c (store_cert): Removed and change all caller to use the new function. * verify.c (store_cert): Ditto. * certlist.c (gpgsm_add_to_certlist): Validate the path * certpath.c (gpgsm_validate_path): Check the trust list. * call-agent.c (gpgsm_agent_istrusted): New.
2002-01-14* call-dirmngr.c (inq_certificate): Changed for new interface semantic.Werner Koch1-16/+42
* certlist.c (gpgsm_find_cert): New. DirMngr should now work. Remember that there is a --disable-crl-check option in gpgsm to be used when there is a problem with the dirmngr communication or you want to do faster tests.
2002-01-11* call-dirmngr.c: New.Werner Koch1-0/+182
* certpath.c (gpgsm_validate_path): Check the CRL here. * fingerprint.c (gpgsm_get_certid): New. * gpgsm.c: New options --dirmngr-program and --disable-crl-checks.