aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/ChangeLog (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-07-29* gpgkeys_ldap.c (main): Fix bug in setting up whether to verify peerDavid Shaw1-0/+6
SSL cert. This used to work with older OpenLDAP, but is now more strictly handled.
2007-07-27* gpgkeys_ldap.c: Fix build warning with mozldap.David Shaw1-0/+2
2007-07-27* gpgkeys_ldap.c (search_key, main): Fix bug where searching for fooDavid Shaw1-0/+6
bar (no quotes) on the command line resulted in searching for "foo\2Abar" due to LDAP quoting. The proper search is "foo*bar".
2007-04-16* gpgkeys_hkp.c (main): Show curl or fake-curl version string.David Shaw1-0/+4
* Makefile.am: Link with libcompat.a for ascii_str(n)casecmp.
2007-04-16* gpgkeys_curl.c, gpgkeys_ldap.c, gpgkeys_hkp.c, ksutil.c: Rename allDavid Shaw1-0/+6
str(n)casecmp to ascii_str(n)casecmp. We want the locale-independent ones here.
2007-03-13* gpgkeys_curl.c (main): Use curl_version_info to verify that theDavid Shaw1-0/+9
protocol we're about to use is actually available. * curl-shim.h, curl-shim.c (curl_free): Make into a macro. (curl_version_info): New. Only advertises "http" for our shim, of course.
2007-02-11* gpgkeys_ldap.c (send_key): Missing a free().David Shaw1-0/+7
* curl-shim.c (curl_easy_perform): Some debugging items that may be handy.
2007-01-16* curl-shim.h, curl-shim.c, gpgkeys_hkp.c: Rename curl_escape() toDavid Shaw1-0/+5
curl_easy_escape() to match cURL.
2007-01-16* gpgkeys_hkp.c (send_key): Allow GPG to send any armored key lineDavid Shaw1-0/+5
length without problems. Reported by Felix von Leitner.
2006-12-04* ksutil.c (classify_ks_search): Try and recognize a key ID evenDavid Shaw1-0/+5
without the 0x prefix. This isn't exact (it's possible that a user ID string happens to be 8 or 16 digits of hex), but it's extremely unlikely. Plus GPG itself makes the same assumption.
2006-12-03* gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be presentDavid Shaw1-0/+5
when searching by keyID.
2006-11-06* gpgkeys_hkp.c (curl_mrindex_writer): Revert previous change.David Shaw1-0/+5
Key-not-found still has a HTML response.
2006-10-20* gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see HTMLDavid Shaw1-0/+5
coming back from a MR hkp query.
2006-09-28Put in the basic wiring (just hextobyte for now) for a libcompat.a thatDavid Shaw1-0/+5
can contain replacement files that can be linked to keyserver helpers without bringing in the whole libutil.a. libutil.a contains a complete copy of libcompat.a so we only need to link to one of them.
2006-09-28* gpgkeys_ldap.c (build_attrs), ksutil.c (ks_toupper, ks_strcasecmp),David Shaw1-0/+6
ksutil.h: Remove the need for strcasecmp as the field tags are always lowercase.
2006-09-26Allow to build w/o curl.Werner Koch1-0/+16
2006-07-26* Makefile.am: Fix missing include path for gpgkeys_finger (needs theDavid Shaw1-0/+6
libcurl path, even though it doesn't use libcurl because of ksutil.c:curl_err_to_gpg_err(). Noted by Gilbert Fernandes.
2006-07-21 * curl-shim.c (curl_easy_perform): Minor cleanup of proxy code.David Shaw1-0/+4
2006-07-17* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key,David Shaw1-0/+6
send_key_keyserver): Improved version of previous fix. Force match on spaces in string.
2006-07-14* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, send_key_keyserver):David Shaw1-0/+7
Fix string matching problem when the ascii armored form of the key happens to match "KEY" at the beginning of the line.
2006-07-12* gpgkeys_ldap.c (printquoted), curl-shim.c (curl_escape): Fix badDavid Shaw1-0/+5
encoding of characters > 127. Noted by Nalin Dahyabhai.
2006-04-26* gpgkeys_http.c, gpgkeys_oldhkp.c: Removed.David Shaw1-0/+2
2006-04-26* Makefile.am: Don't build gpgkeys_http or gpgkeys_(old)hkp any longer asDavid Shaw1-0/+8
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.
2006-04-11* gpgkeys_ldap.c (ldap_quote, get_name, search_key): LDAP-quoteDavid Shaw1-0/+3
directly into place rather than mallocing temporary buffers.
2006-04-11* gpgkeys_ldap.c (get_name): Build strings with strcat rather thanDavid Shaw1-0/+3
using sprintf which is harder to read and modify.
2006-04-11* ksutil.h, ksutil.c (classify_ks_search): Add KS_SEARCH_KEYID_SHORTDavid Shaw1-0/+9
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.
2006-03-27* gpgkeys_ldap.c: #define LDAP_DEPRECATED for newer OpenLDAPs so they useDavid Shaw1-0/+6
the regular old API that is compatible with other LDAP libraries.
2006-03-03* gpgkeys_ldap.c (main): Fix build problem with non-OpenLDAP LDAPDavid Shaw1-0/+5
libraries that have TLS.
2006-02-23* ksutil.c (init_ks_options): Default include-revoked and include-subkeysDavid Shaw1-0/+5
to on, as gpg isn't doing this any longer.
2006-02-22* gpgkeys_hkp.c (get_name): A GETNAME query turns exact=on to cut down onDavid Shaw1-0/+5
odd matches.
2006-02-22* gpgkeys_ldap.c (make_one_attr, build_attrs, send_key): Don't allowDavid Shaw1-0/+3
duplicate attributes as OpenLDAP is now enforcing this.
2006-02-22* gpgkeys_ldap.c (main): Add binddn and bindpw so users can passDavid Shaw1-0/+3
credentials to a remote LDAP server.
2006-02-22* curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,David Shaw1-0/+3
curl_easy_perform): Mingw has 'stderr' as a macro?
2006-02-21* curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,David Shaw1-0/+6
curl_easy_perform): Add CURLOPT_VERBOSE and CURLOPT_STDERR for easier debugging.
2006-01-16* gpgkeys_hkp.c (send_key): Do not escape the '=' in the HTTP POST whenDavid Shaw1-0/+5
uploading a key.
2005-12-23* ksutil.h, ksutil.c (parse_ks_options): New keyserver command "getname".David Shaw1-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.
2005-12-19* ksutil.h, ksutil.c (curl_armor_writer, curl_writer,David Shaw1-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.
2005-12-07* gpgkeys_finger.c (get_key), gpgkeys_curl.c (get_key): Better languageDavid Shaw1-0/+3
for the key-not-found error.
2005-12-07* ksutil.c (curl_err_to_gpg_err): Add CURLE_OK and CURLE_COULDNT_CONNECT.David Shaw1-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.
2005-12-06* curl-shim.c (curl_easy_perform): Fix build warning (code beforeDavid Shaw1-0/+5
declaration).
2005-11-03Fix various build warnings reported by Joe Vender on MinGW.David Shaw1-0/+5
2005-08-26* ksutil.h, ksutil.c (parse_ks_options): Remove exact-name andDavid Shaw1-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.
2005-08-18* ksutil.h, ksutil.c (parse_ks_options): New keyserver-option exact-name. David Shaw1-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.
2005-08-18* gpgkeys_ldap.c (ldap_quote): \-quote a string for LDAP.David Shaw1-0/+7
* gpgkeys_ldap.c (search_key): Use it here to escape reserved characters in searches.
2005-08-18* ksutil.h, ksutil.c (parse_ks_options): New keyserver-optionDavid Shaw1-0/+8
exact-email. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here to do an email-only search.
2005-08-08* Makefile.am: Include LDAP_CPPFLAGS when building LDAP.David Shaw1-0/+4
2005-08-04* gpgkeys_hkp.c (main), gpgkeys_curl.c (main), curl-shim.h: ShowDavid Shaw1-0/+5
version of curl (or curl-shim) when debug is set.
2005-07-20* gpgkeys_curl.c (get_key, main): Don't try and be smart about whatDavid Shaw1-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.
2005-06-23* gpgkeys_mailto.in, gpgkeys_test.in: Use @VERSION@ so version stringDavid Shaw1-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.
2005-06-23* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw1-0/+3
CURLOPT_USERPWD option for HTTP auth.