Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * curl-shim.c (curl_easy_perform): Minor cleanup of proxy code. | David Shaw | 2006-07-21 | 2 | -5/+7 | |
| | ||||||
* | * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, | David Shaw | 2006-07-17 | 3 | -8/+14 | |
| | | | | | | send_key_keyserver): Improved version of previous fix. Force match on spaces in string. | |||||
* | * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, send_key_keyserver): | David Shaw | 2006-07-14 | 3 | -11/+27 | |
| | | | | | | Fix string matching problem when the ascii armored form of the key happens to match "KEY" at the beginning of the line. | |||||
* | * gpgkeys_ldap.c (printquoted), curl-shim.c (curl_escape): Fix bad | David Shaw | 2006-07-12 | 3 | -2/+7 | |
| | | | | | encoding of characters > 127. Noted by Nalin Dahyabhai. | |||||
* | * configure.ac: Fix resolver autoconf code so it works (fails) | David Shaw | 2006-07-08 | 1 | -2/+2 | |
| | | | | | properly with uClibc. | |||||
* | * gpgkeys_http.c, gpgkeys_oldhkp.c: Removed. | David Shaw | 2006-04-26 | 3 | -1567/+2 | |
| | ||||||
* | * Makefile.am: Don't build gpgkeys_http or gpgkeys_(old)hkp any longer as | David Shaw | 2006-04-26 | 6 | -30/+21 | |
| | | | | | | | | this is done via curl or fake-curl. * ksutil.h, ksutil.c, gpgkeys_hkp.c, gpgkeys_curl.c: Minor #include tweaks as FAKE_CURL is no longer meaningful. | |||||
* | * gpgkeys_ldap.c (ldap_quote, get_name, search_key): LDAP-quote | David Shaw | 2006-04-11 | 2 | -47/+13 | |
| | | | | | directly into place rather than mallocing temporary buffers. | |||||
* | * gpgkeys_ldap.c (get_name): Build strings with strcat rather than | David Shaw | 2006-04-11 | 2 | -8/+22 | |
| | | | | | using sprintf which is harder to read and modify. | |||||
* | * ksutil.h, ksutil.c (classify_ks_search): Add KS_SEARCH_KEYID_SHORT | David Shaw | 2006-04-11 | 4 | -15/+108 | |
| | | | | | | | | and KS_SEARCH_KEYID_LONG to search for a key ID. * gpgkeys_ldap.c (search_key): Use it here to flip from pgpUserID searches to pgpKeyID or pgpCertID. | |||||
* | * gpgkeys_ldap.c: #define LDAP_DEPRECATED for newer OpenLDAPs so they use | David Shaw | 2006-03-27 | 2 | -0/+8 | |
| | | | | | the regular old API that is compatible with other LDAP libraries. | |||||
* | * gpgkeys_ldap.c (main): Fix build problem with non-OpenLDAP LDAP | David Shaw | 2006-03-03 | 2 | -5/+15 | |
| | | | | | libraries that have TLS. | |||||
* | * ksutil.c (init_ks_options): Default include-revoked and include-subkeys | David Shaw | 2006-02-23 | 2 | -0/+7 | |
| | | | | | to on, as gpg isn't doing this any longer. | |||||
* | * gpgkeys_hkp.c (get_name): A GETNAME query turns exact=on to cut down on | David Shaw | 2006-02-22 | 2 | -0/+8 | |
| | | | | | odd matches. | |||||
* | * gpgkeys_ldap.c (make_one_attr, build_attrs, send_key): Don't allow | David Shaw | 2006-02-22 | 2 | -29/+33 | |
| | | | | | duplicate attributes as OpenLDAP is now enforcing this. | |||||
* | * gpgkeys_ldap.c (main): Add binddn and bindpw so users can pass | David Shaw | 2006-02-22 | 2 | -16/+78 | |
| | | | | | credentials to a remote LDAP server. | |||||
* | * curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt, | David Shaw | 2006-02-22 | 3 | -4/+7 | |
| | | | | | curl_easy_perform): Mingw has 'stderr' as a macro? | |||||
* | * curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt, | David Shaw | 2006-02-21 | 3 | -3/+26 | |
| | | | | | | curl_easy_perform): Add CURLOPT_VERBOSE and CURLOPT_STDERR for easier debugging. | |||||
* | * gpgkeys_hkp.c (send_key): Do not escape the '=' in the HTTP POST when | David Shaw | 2006-01-16 | 2 | -13/+21 | |
| | | | | | uploading a key. | |||||
* | * ksutil.h, ksutil.c (parse_ks_options): New keyserver command "getname". | David Shaw | 2005-12-23 | 5 | -20/+252 | |
| | | | | | | * 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 Shaw | 2005-12-19 | 5 | -44/+162 | |
| | | | | | | | | 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 language | David Shaw | 2005-12-07 | 3 | -11/+11 | |
| | | | | | for the key-not-found error. | |||||
* | * ksutil.c (curl_err_to_gpg_err): Add CURLE_OK and CURLE_COULDNT_CONNECT. | David Shaw | 2005-12-07 | 3 | -5/+24 | |
| | | | | | | * 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 before | David Shaw | 2005-12-06 | 2 | -1/+7 | |
| | | | | | declaration). | |||||
* | Fix various build warnings reported by Joe Vender on MinGW. | David Shaw | 2005-11-03 | 2 | -1/+6 | |
| | ||||||
* | * ksutil.h, ksutil.c (parse_ks_options): Remove exact-name and | David Shaw | 2005-08-26 | 5 | -72/+60 | |
| | | | | | | | | | 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 Shaw | 2005-08-18 | 5 | -5/+49 | |
| | | | | | | | | 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 Shaw | 2005-08-18 | 2 | -3/+56 | |
| | | | | | | * gpgkeys_ldap.c (search_key): Use it here to escape reserved characters in searches. | |||||
* | * ksutil.h, ksutil.c (parse_ks_options): New keyserver-option | David Shaw | 2005-08-18 | 5 | -7/+61 | |
| | | | | | | | | 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 Shaw | 2005-08-08 | 2 | -0/+6 | |
| | ||||||
* | * gpgkeys_hkp.c (main), gpgkeys_curl.c (main), curl-shim.h: Show | David Shaw | 2005-08-04 | 4 | -0/+8 | |
| | | | | | version of curl (or curl-shim) when debug is set. | |||||
* | Converted all m_free to xfree etc. | Werner Koch | 2005-07-27 | 4 | -6/+6 | |
| | ||||||
* | * gpgkeys_curl.c (get_key, main): Don't try and be smart about what | David Shaw | 2005-07-20 | 6 | -31/+37 | |
| | | | | | | | | | | | 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 string | David Shaw | 2005-06-23 | 7 | -37/+66 | |
| | | | | | | | | | | | | | | 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): Add | David Shaw | 2005-06-23 | 3 | -2/+10 | |
| | | | | | CURLOPT_USERPWD option for HTTP auth. | |||||
* | * gpgkeys_http.c (get_key), gpgkeys_oldhkp (send_key, get_key, | David Shaw | 2005-06-23 | 3 | -6/+14 | |
| | | | | | | | 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 Shaw | 2005-06-22 | 3 | -4/+11 | |
| | | | | | | 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 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. |