aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * gpgkeys_hkp.c (send_key): Do not escape the '=' in the HTTP POST whenDavid Shaw2006-01-161-0/+5
| | | | | uploading a key.
* * ksutil.h, ksutil.c (parse_ks_options): New keyserver command "getname".David Shaw2005-12-231-0/+8
| | | | | | * gpgkeys_hkp.c (main, get_name), gpgkeys_ldap.c (main, get_name): Use it here to do direct name (rather than key ID) fetches.
* * ksutil.h, ksutil.c (curl_armor_writer, curl_writer,David Shaw2005-12-191-0/+8
| | | | | | | | curl_writer_finalize): New functionality to handle binary format keys by armoring them for input to GPG. * gpgkeys_curl.c (get_key), gpgkeys_hkp.c (get_key): Call it here.
* * gpgkeys_finger.c (get_key), gpgkeys_curl.c (get_key): Better languageDavid Shaw2005-12-071-0/+3
| | | | | for the key-not-found error.
* * ksutil.c (curl_err_to_gpg_err): Add CURLE_OK and CURLE_COULDNT_CONNECT.David Shaw2005-12-071-0/+8
| | | | | | * gpgkeys_curl.c (get_key): Give key-not-found error if no data is found (or file itself is not found) during a fetch.
* * curl-shim.c (curl_easy_perform): Fix build warning (code beforeDavid Shaw2005-12-061-0/+5
| | | | | declaration).
* Fix various build warnings reported by Joe Vender on MinGW.David Shaw2005-11-031-0/+5
|
* * ksutil.h, ksutil.c (parse_ks_options): Remove exact-name andDavid Shaw2005-08-261-0/+10
| | | | | | | | | exact-email. (classify_ks_search): Mimic the gpg search modes instead with *, =, <, and @. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Call them here. Suggested by Jason Harris.
* * ksutil.h, ksutil.c (parse_ks_options): New keyserver-option exact-name. David Shaw2005-08-181-0/+7
| | | | | | | | The last of exact-name and exact-email overrides the earlier. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here to do a name-only search.
* * gpgkeys_ldap.c (ldap_quote): \-quote a string for LDAP.David Shaw2005-08-181-0/+7
| | | | | | * gpgkeys_ldap.c (search_key): Use it here to escape reserved characters in searches.
* * ksutil.h, ksutil.c (parse_ks_options): New keyserver-optionDavid Shaw2005-08-181-0/+8
| | | | | | | | exact-email. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here to do an email-only search.
* * Makefile.am: Include LDAP_CPPFLAGS when building LDAP.David Shaw2005-08-081-0/+4
|
* * gpgkeys_hkp.c (main), gpgkeys_curl.c (main), curl-shim.h: ShowDavid Shaw2005-08-041-0/+5
| | | | | version of curl (or curl-shim) when debug is set.
* * gpgkeys_curl.c (get_key, main): Don't try and be smart about whatDavid Shaw2005-07-201-0/+13
| | | | | | | | | | | protocols we handle. Directly pass them to curl or fake-curl and see if an error comes back. * curl-shim.h, curl-shim.c (handle_error), ksutil.c (curl_err_to_gpg_err): Add support for CURLE_UNSUPPORTED_PROTOCOL in fake curl. * Makefile.am: Don't need -DFAKE_CURL any longer since it's in config.h.
* * gpgkeys_mailto.in, gpgkeys_test.in: Use @VERSION@ so version stringDavid Shaw2005-06-231-0/+12
| | | | | | | | | | | | | | stays up to date. * gpgkeys_http.c: Don't need to define HTTP_PROXY_ENV here since it's in ksutil.h. * gpgkeys_curl.c (get_key, main), gpgkeys_hkp.c (main): Pass AUTH values to curl or curl-shim. * curl-shim.c (curl_easy_perform), gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Use curl-style proxy semantics.
* * curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw2005-06-231-0/+3
| | | | | CURLOPT_USERPWD option for HTTP auth.
* * gpgkeys_http.c (get_key), gpgkeys_oldhkp (send_key, get_key,David Shaw2005-06-231-0/+7
| | | | | | | search_key): No longer need to pass a proxyauth. * gpgkeys_http.c (get_key): Pass auth outside of the URL.
* * gpgkeys_http.c (get_key), gpgkeys_oldhkp.c (send_key, get_key,David Shaw2005-06-221-0/+6
| | | | | | search_key): Fix http_open/http_open_document calls to pass NULL for auth and proxyauth since these programs pass them in the URL.
* * gpgkeys_hkp.c (append_path, send_key, get_key, search_key, main),David Shaw2005-06-211-0/+6
| | | | | gpgkeys_oldhkp.c (main): Properly handle double slashes in paths.
* * ksutil.c (init_ks_options, parse_ks_options): Provide a default "/"David Shaw2005-06-051-0/+6
| | | | | | 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 thatDavid Shaw2005-06-041-0/+5
| | | | | aren't at the root path. Suggested by Jack Bates.
* * ksutil.c [HAVE_DOSISH_SYSTEM]: Fix warnings on mingw32. Noted by JoeDavid Shaw2005-06-011-0/+5
| | | | | Vender.
* * ksutil.h, ksutil.c: #ifdef so we can build without libcurl orDavid Shaw2005-05-041-0/+5
| | | | | fake-curl.
* * gpgkeys_http.c: Need GET defined.David Shaw2005-05-041-0/+4
|
* * gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup andDavid Shaw2005-05-021-0/+5
| | | | | comments as to the size of MAX_LINE and MAX_URL.
* * gpgkeys_hkp.c: New hkp handler that uses curl or curl-shim.David Shaw2005-04-171-0/+6
| | | | | | | * 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 aDavid Shaw2005-04-171-0/+4
| | | | | | 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 Shaw2005-04-171-0/+3
| | | | | curl_easy_perform): Add POST functionality to the curl shim.
* * curl-shim.h, curl-shim.c (curl_escape, curl_free): EmulateDavid Shaw2005-04-161-0/+3
| | | | | curl_escape and curl_free.
* * gpgkeys_curl.c (main): If the http-proxy option is given without anyDavid Shaw2005-04-161-0/+10
| | | | | | | | | | 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 fromDavid Shaw2005-03-221-0/+9
| | | | | | | | | 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(). NotedDavid Shaw2005-03-191-0/+5
| | | | | by Stefan Bellon.
* * ksutil.c (parse_ks_options): Handle verbose=nnn.David Shaw2005-03-171-0/+5
| | | | | | * Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefine $libexecdir.
* * gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_ldap.c: Start usingDavid Shaw2005-03-171-0/+8
| | | | | | | | 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 Shaw2005-03-171-0/+3
|
* * ksutil.h, ksutil.c (ks_action_to_string): New. (free_ks_options): OnlyDavid Shaw2005-03-161-0/+3
| | | | | free if options exist.
* * ksutil.h, ksutil.c (init_ks_options, free_ks_options,David Shaw2005-03-161-0/+6
| | | | | | 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 Shaw2005-02-121-0/+5
| | | | | | * 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 inDavid Shaw2005-02-111-0/+8
| | | | | | | | 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 Shaw2005-02-051-0/+8
| | | | | | * 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 missingDavid Shaw2005-02-011-0/+3
| | | | | http_close() calls. Noted by Phil Pennock.
* * ksutil.h: Up the default timeout to two minutes.David Shaw2005-02-011-0/+4
|
* * gpgkeys_ldap.c (print_nocr): New. (get_key): Call it here toDavid Shaw2005-01-241-3/+12
| | | | | | | | | 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 SSLDavid Shaw2005-01-221-0/+9
| | | | | | | | | 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 Shaw2005-01-181-0/+4
|
* * gpgkeys_curl.c: s/MAX_PATH/URLMAX_PATH/g to avoid a clash withWerner Koch2005-01-181-0/+8
| | | | | | | | 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 theDavid Shaw2005-01-181-0/+7
| | | | | | | curl handler. * Makefile.am: Use LIBCURL_CPPFLAGS instead of LIBCURL_INCLUDES.
* * ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c,David Shaw2005-01-131-0/+4
| | | | | | 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 1David Shaw2005-01-131-0/+4
| | | | | of a minor cleanup to use #defines instead of hard-coded sizes.
* * gpgkeys_finger.c (connect_server): Use INADDR_NONE instead ofDavid Shaw2005-01-131-0/+5
| | | | | SOCKET_ERROR. Noted by Timo.