Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * gpgkeys_hkp.c (append_path, send_key, get_key, search_key, main), | David Shaw | 2005-06-21 | 3 | -11/+32 |
| | | | | | gpgkeys_oldhkp.c (main): Properly handle double slashes in paths. | ||||
* | * ksutil.c (init_ks_options, parse_ks_options): Provide a default "/" | David Shaw | 2005-06-05 | 2 | -0/+18 |
| | | | | | | path unless overridden by the config. Allow config to specify items multiple times and take the last specified item. | ||||
* | * gpgkeys_hkp.c, gpgkeys_oldhkp.c: Add support for HKP servers that | David Shaw | 2005-06-04 | 3 | -17/+40 |
| | | | | | aren't at the root path. Suggested by Jack Bates. | ||||
* | * ksutil.c [HAVE_DOSISH_SYSTEM]: Fix warnings on mingw32. Noted by Joe | David Shaw | 2005-06-01 | 2 | -8/+14 |
| | | | | | Vender. | ||||
* | Updated FSF street address and preparations for a release candidate. | Werner Koch | 2005-05-31 | 13 | -13/+23 |
| | |||||
* | * ksutil.h, ksutil.c: #ifdef so we can build without libcurl or | David Shaw | 2005-05-04 | 3 | -4/+19 |
| | | | | | fake-curl. | ||||
* | * gpgkeys_http.c: Need GET defined. | David Shaw | 2005-05-04 | 2 | -0/+6 |
| | |||||
* | * gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup and | David Shaw | 2005-05-02 | 4 | -10/+23 |
| | | | | | comments as to the size of MAX_LINE and MAX_URL. | ||||
* | * gpgkeys_hkp.c: New hkp handler that uses curl or curl-shim. | David Shaw | 2005-04-17 | 4 | -782/+328 |
| | | | | | | | * Makefile.am: Build new gpgkeys_hkp. * curl-shim.c (curl_easy_perform): Cleanup. | ||||
* | * ksutil.h, ksutil.c (curl_writer), gpgkeys_curl.c (get_key): Pass a | David Shaw | 2005-04-17 | 4 | -18/+39 |
| | | | | | | context to curl_writer so we can support multiple fetches in a single session. | ||||
* | * curl-shim.h, curl-shim.c (handle_error, curl_easy_setopt, | David Shaw | 2005-04-17 | 3 | -22/+110 |
| | | | | | curl_easy_perform): Add POST functionality to the curl shim. | ||||
* | * curl-shim.h, curl-shim.c (curl_escape, curl_free): Emulate | David Shaw | 2005-04-16 | 3 | -0/+66 |
| | | | | | curl_escape and curl_free. | ||||
* | * gpgkeys_curl.c (main): If the http-proxy option is given without any | David Shaw | 2005-04-16 | 5 | -63/+1239 |
| | | | | | | | | | | arguments, try to get the proxy from the environment. * ksutil.h, ksutil.c (curl_err_to_gpg_err, curl_writer): Copy from gpgkeys_curl.c. * gpgkeys_oldhkp.c: Copy from gpgkeys_hkp.c. | ||||
* | * gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved from | David Shaw | 2005-03-22 | 7 | -17/+34 |
| | | | | | | | | | gpgkeys_ldap.c. Print a string, but strip out any CRs. * gpgkeys_finger.c (get_key), gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Use it here when outputting key material to canonicalize line endings. | ||||
* | * gpgkeys_ldap.c (main): Fix three wrong calls to fail_all(). Noted | David Shaw | 2005-03-19 | 2 | -3/+8 |
| | | | | | by Stefan Bellon. | ||||
* | * ksutil.c (parse_ks_options): Handle verbose=nnn. | David Shaw | 2005-03-17 | 3 | -6/+15 |
| | | | | | | * Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefine $libexecdir. | ||||
* | * gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_ldap.c: Start using | David Shaw | 2005-03-17 | 6 | -464/+239 |
| | | | | | | | | parse_ks_options and remove a lot of common code. * ksutil.h, ksutil.c (parse_ks_options): Parse OPAQUE, and default debug with no arguments to 1. | ||||
* | * gpgkeys_ldap.c: Include lber.h if configure determines we need it. | David Shaw | 2005-03-17 | 2 | -0/+6 |
| | |||||
* | * ksutil.h, ksutil.c (ks_action_to_string): New. (free_ks_options): Only | David Shaw | 2005-03-16 | 3 | -13/+31 |
| | | | | | free if options exist. | ||||
* | * ksutil.h, ksutil.c (init_ks_options, free_ks_options, | David Shaw | 2005-03-16 | 3 | -1/+238 |
| | | | | | | parse_ks_options): Pull a lot of duplicated code into a single options parser for all keyserver helpers. | ||||
* | * curl-shim.c (curl_easy_perform): Fix compile warning. | David Shaw | 2005-02-12 | 5 | -2/+67 |
| | | | | | | * curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add ca-cert-file option, to pass in the SSL cert. | ||||
* | * curl-shim.h, curl-shim.c: New. This is code to fake the curl API in | David Shaw | 2005-02-11 | 5 | -0/+243 |
| | | | | | | | | terms of the current HTTP iobuf API. * gpgkeys_curl.c [FAKE_CURL], Makefile.am: If FAKE_CURL is set, link with the iobuf code rather than libcurl. | ||||
* | * gpgkeys_finger.c (main), gpgkeys_hkp.c (main): Fix --version output. | David Shaw | 2005-02-05 | 4 | -4/+13 |
| | | | | | | * gpgkeys_curl.c (main): Make sure the curl handle is cleaned up on failure. | ||||
* | * gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Fix missing | David Shaw | 2005-02-01 | 3 | -0/+5 |
| | | | | | http_close() calls. Noted by Phil Pennock. | ||||
* | * ksutil.h: Up the default timeout to two minutes. | David Shaw | 2005-02-01 | 2 | -2/+6 |
| | |||||
* | * gpgkeys_ldap.c (print_nocr): New. (get_key): Call it here to | David Shaw | 2005-01-24 | 3 | -9/+77 |
| | | | | | | | | | canonicalize line endings. * gpgkeys_curl.c (writer): Discard everything outside the BEGIN and END lines when retrieving keys. Canonicalize line endings. (main): Accept FTPS. | ||||
* | * gpgkeys_ldap.c (main): Add "check-cert" option to disable SSL | David Shaw | 2005-01-22 | 3 | -14/+69 |
| | | | | | | | | | certificate checking (which is on by default). * gpgkeys_curl.c (main): Add "debug" option to match the LDAP helper. Add "check-cert" option to disable SSL certificate checking (which is on by default). | ||||
* | * gpgkeys_curl.c: Fix typo. | David Shaw | 2005-01-18 | 2 | -1/+5 |
| | |||||
* | * gpgkeys_curl.c: s/MAX_PATH/URLMAX_PATH/g to avoid a clash with | Werner Koch | 2005-01-18 | 4 | -11/+29 |
| | | | | | | | | the W32 defined macro. Removed unneeded initialization of static variables. * gpgkeys_http.c: Ditto. * ksutil.h: s/MAX_PATH/URLMAX_PATH/. | ||||
* | * gpgkeys_curl.c (main): Only allow specified protocols to use the | David Shaw | 2005-01-18 | 3 | -8/+18 |
| | | | | | | | curl handler. * Makefile.am: Use LIBCURL_CPPFLAGS instead of LIBCURL_INCLUDES. | ||||
* | * ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c, | David Shaw | 2005-01-13 | 7 | -99/+51 |
| | | | | | | gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the various defines to ksutil.h. | ||||
* | * gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Part 1 | David Shaw | 2005-01-13 | 5 | -73/+109 |
| | | | | | of a minor cleanup to use #defines instead of hard-coded sizes. | ||||
* | * gpgkeys_finger.c (connect_server): Use INADDR_NONE instead of | David Shaw | 2005-01-13 | 2 | -1/+6 |
| | | | | | SOCKET_ERROR. Noted by Timo. | ||||
* | * gpgkeys_curl.c (get_key): Newer versions of libcurl don't define TRUE. | David Shaw | 2005-01-10 | 2 | -1/+6 |
| | |||||
* | * gpgkeys_curl.c (main): Use new defines for opting out of certain | David Shaw | 2004-12-24 | 3 | -20/+38 |
| | | | | | | | | | | transfer protocols. Allow setting HTTP proxy via "http-proxy=foo" option (there is natural support in libcurl for the http_proxy environment variable). * Makefile.am: Remove the conditional since this is all handled in autoconf now. | ||||
* | * gpgkeys_curl.c (main): New "follow-redirects" option. Takes an optional | David Shaw | 2004-12-22 | 6 | -5/+42 |
| | | | | | | | | | | numeric value for the maximum number of redirects to allow. Defaults to 5. * gpgkeys_curl.c (main), gpgkeys_finger.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main), gpgkeys_ldap.c (main): Make sure that a "timeout" option passed with no arguments is properly handled. | ||||
* | * gpgkeys_curl.c (get_key, writer): New function to wrap around fwrite to | David Shaw | 2004-12-22 | 3 | -4/+24 |
| | | | | | | | | avoid DLL access problem on win32. * gpgkeys_http.c (main, get_key): Properly pass authentication info through to the http library. | ||||
* | * Makefile.am: Build gpgkeys_http or gpgkeys_curl as needed. | David Shaw | 2004-12-22 | 3 | -17/+67 |
| | | | | | | | | * gpgkeys_curl.c (main, get_key): Minor tweaks to work with either FTP or HTTP. * gpgkeys_ftp.c: renamed to gpgkeys_curl.c. | ||||
* | * gpgkeys_ftp.c (main, get_key): Use auth data as passed by gpg. Use | David Shaw | 2004-12-22 | 2 | -6/+19 |
| | | | | | | CURLOPT_FILE instead of CURLOPT_WRITEDATA (same option, but backwards compatible). | ||||
* | FTP keyserver support via gpgkeys_ftp. This is currently off by default. | David Shaw | 2004-12-21 | 3 | -7/+357 |
| | |||||
* | Prepared for last 1.4 release candidate | Werner Koch | 2004-12-14 | 2 | -9/+6 |
| | |||||
* | * Makefile.am: The harmless "ignored error" on gpgkeys_ldap install on top | David Shaw | 2004-12-03 | 2 | -1/+7 |
| | | | | | | of an existing install is bound to confuse people. Use ln -s -f to force the overwrite. | ||||
* | * gpgkeys_finger.c [_WIN32] (connect_server): Fix typo. | David Shaw | 2004-10-28 | 2 | -1/+5 |
| | |||||
* | Inlcude LIBICONV | Werner Koch | 2004-10-28 | 2 | -4/+15 |
| | |||||
* | * gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead of | David Shaw | 2004-10-18 | 2 | -4/+8 |
| | | | | | "x-hkp" so it can be used as a SRV tag. | ||||
* | * gpgkeys_finger.c [_WIN32] (connect_server): Fix typo. | David Shaw | 2004-10-16 | 2 | -1/+5 |
| | |||||
* | * gpgkeys_ldap.c (main, show_help): Kludge to implement standard | Werner Koch | 2004-10-15 | 7 | -14/+137 |
| | | | | | | | | | GNU options. Factored help printing out. * gpgkeys_finger.c (main, show_help): Ditto. * gpgkeys_hkp.c (main, show_help): Ditto. * gpgkeys_http.c (main, show_help): Ditto. * gpgkeys_test.in, gpgkeys_mailto.in: Implement --version and --help. | ||||
* | * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New. | Werner Koch | 2004-10-15 | 2 | -4/+8 |
| | | | | | | | | | | | | | (AUTOMAKE_OPTIONS): New. * configure.ac: Check whether vasprintf needs a replacement. * app-openpgp.c (parse_login_data): New. (app_select_openpgp): Call it. (do_setattr): Reparse it after change. * Makefile.am: Add ksutil.h. | ||||
* | * gpgkeys_finger.c (main): We do not support relay fingering (i.e. | David Shaw | 2004-10-14 | 2 | -0/+14 |
| | | | | | | "finger://relayhost/[email protected]"), but finger URLs are occasionally miswritten that way. Give an error in this case. | ||||
* | * rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allow | Werner Koch | 2004-10-14 | 2 | -1/+6 |
| | | | | | | | | logging. * gpgkeys_finger.c (get_key): s/unsigned char/byte/ due to a strange typedef for RISC OS. Noted by Stefan. |