aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-12Allow building with the 32 bit mingw-w64 toolchain.Werner Koch1-5/+19
* scripts/autogen.sh <--build-w32>: Support i686-w64-mingw32 and use it by default if installed. * keyserver/gpgkeys_ldap.c (my_ldap_start_tls_s): Define macro depending on compiler version. (main): Use new macro. * util/miscutil.c [!HAVE_TIMEGM]: Add prototype for the timegm autoconf replacement function. -- It seems that the LDAP keyserver helper build with the old mingw32 toolchain never worked correctly for LDAPS. The prototype there for ldap_start_tls_s is plainly wrong for Windows. Anyway I included special support so not to break building with the old compiler.
2011-12-28Use the longest key ID available when talking to a HKP server.David Shaw1-7/+13
This is issue 1340. Now that PKSD is dead, and SKS supports long key IDs, this is safe to do. Patch from Daniel Kahn Gillmor <[email protected]>.
2011-12-02Rename all ChangeLog files to ChangeLog-2011.Werner Koch1-0/+7
* ChangeLog: New file.
2011-08-09Removed some set but unused vars.Werner Koch2-5/+8
2009-09-02Last minute fixesWerner Koch2-2/+9
2009-08-25Restructured the compat functions and changed its license.Werner Koch7-24/+69
New fucntion xstrconcat for future use.
2009-07-08* gpgkeys_hkp.c (main, srv_replace): Minor tweaks to use the DNS-SDDavid Shaw2-5/+23
names ("pgpkey-http" and "pgpkey-https") in SRV lookups instead of "hkp" and "hkps".
2009-06-24Fix a couple of minor bugs.Werner Koch2-4/+12
2009-06-09* Makefile.am (gpgkeys_hkp_LDADD): Need DNSLIBS for the resolver nowDavid Shaw2-2/+7
that we're using SRVs.
2009-05-28* gpgkeys_hkp.c (srv_replace): Fix build warning.David Shaw2-0/+6
2009-05-26Avoid caches to get the most recent copy of the key. This is bugDavid Shaw5-2/+97
#1061
2009-05-04* gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, ratherDavid Shaw2-27/+20
than the ugly ?from= syntax.
2009-04-21* gpgkeys_hkp.c (srv_replace): New function to transform a SRVDavid Shaw2-17/+83
hostname to a real hostname. (main): Call it from here for the HAVE_LIBCURL case (without libcurl is handled via the curl-shim).
2009-04-03* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw3-5/+18
a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine). * http.h: Allow passing srvtag to http_open and http_open_document. * http.c (http_open, http_open_document): Allow passing srvtag to http_open and http_open_document.
2009-04-02* gpgkeys_hkp.c (main): Switch default port for SSLized HKP to 443David Shaw2-1/+6
(i.e. the regular https port).
2009-02-03* gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): AddDavid Shaw2-22/+41
support for SSLized HKP.
2008-11-18* curl-shim.h, gpgkeys_curl.c, gpgkeys_hkp.c (main): Always show curlDavid Shaw4-9/+8
version (even for curl-shim).
2008-11-18Make --version close to GNU standards.Werner Koch4-2/+16
2008-11-18* curl-shim.h (curl_version): No need to provide a version forDavid Shaw6-15/+30
curl-shim as it always matches the GnuPG version. * gpgkeys_curl.c, gpgkeys_hkp.c (main): Show which version of curl we're using as part of --version. * gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_ldap.c (show_help): Document --version.
2008-04-14* gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Make sure all libcurlDavid Shaw4-10/+13
number options are passed as long.
2008-04-14* curl-shim.c (curl_easy_setopt): Minor tweak to match the real curlDavid Shaw2-3/+8
better - libcurl uses 'long', not 'unsigned int'.
2008-03-25Powerpc64 fix.Werner Koch2-2/+7
2007-12-17* Makefile.am: Fix compile error when libcurl is in a nonstandardDavid Shaw2-1/+8
location.
2007-10-23Switched to GPLv3.Werner Koch11-44/+22
Updated gettext.
2007-07-29* gpgkeys_ldap.c (main): Fix bug in setting up whether to verify peerDavid Shaw2-1/+7
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 Shaw2-0/+7
2007-07-27* gpgkeys_ldap.c (search_key, main): Fix bug where searching for fooDavid Shaw2-5/+19
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 Shaw3-3/+7
* 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 Shaw5-38/+48
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 Shaw4-6/+43
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 Shaw3-1/+16
* 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 Shaw4-7/+12
curl_easy_escape() to match cURL.
2007-01-16* gpgkeys_hkp.c (send_key): Allow GPG to send any armored key lineDavid Shaw2-20/+29
length without problems. Reported by Felix von Leitner.
2006-12-04* ksutil.c (classify_ks_search): Try and recognize a key ID evenDavid Shaw2-4/+22
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 Shaw2-0/+11
when searching by keyID.
2006-11-06* gpgkeys_hkp.c (curl_mrindex_writer): Revert previous change.David Shaw2-5/+8
Key-not-found still has a HTML response.
2006-10-20* gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see HTMLDavid Shaw2-1/+9
coming back from a MR hkp query.
2006-09-28Move strsep() and ascii_isspace() to libcompat.David Shaw1-1/+1
2006-09-28Put in the basic wiring (just hextobyte for now) for a libcompat.a thatDavid Shaw5-29/+7
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 Shaw4-33/+10
ksutil.h: Remove the need for strcasecmp as the field tags are always lowercase.
2006-09-26Allow to build w/o curl.Werner Koch8-11/+139
2006-07-26* Makefile.am: Fix missing include path for gpgkeys_finger (needs theDavid Shaw2-0/+7
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 Shaw2-5/+7
2006-07-17* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key,David Shaw3-8/+14
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 Shaw3-11/+27
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 Shaw3-2/+7
encoding of characters > 127. Noted by Nalin Dahyabhai.
2006-07-08* configure.ac: Fix resolver autoconf code so it works (fails)David Shaw1-2/+2
properly with uClibc.
2006-04-26* gpgkeys_http.c, gpgkeys_oldhkp.c: Removed.David Shaw3-1567/+2
2006-04-26* Makefile.am: Don't build gpgkeys_http or gpgkeys_(old)hkp any longer asDavid Shaw6-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.
2006-04-11* gpgkeys_ldap.c (ldap_quote, get_name, search_key): LDAP-quoteDavid Shaw2-47/+13
directly into place rather than mallocing temporary buffers.