aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-02-12* curl-shim.c (curl_easy_perform): Fix compile warning.David Shaw5-2/+67
* curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add ca-cert-file option, to pass in the SSL cert.
2005-02-11* curl-shim.h, curl-shim.c: New. This is code to fake the curl API inDavid Shaw5-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.
2005-02-05* gpgkeys_finger.c (main), gpgkeys_hkp.c (main): Fix --version output.David Shaw4-4/+13
* gpgkeys_curl.c (main): Make sure the curl handle is cleaned up on failure.
2005-02-01* gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Fix missingDavid Shaw3-0/+5
http_close() calls. Noted by Phil Pennock.
2005-02-01* ksutil.h: Up the default timeout to two minutes.David Shaw2-2/+6
2005-01-24* gpgkeys_ldap.c (print_nocr): New. (get_key): Call it here toDavid Shaw3-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.
2005-01-22* gpgkeys_ldap.c (main): Add "check-cert" option to disable SSLDavid Shaw3-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).
2005-01-18* gpgkeys_curl.c: Fix typo.David Shaw2-1/+5
2005-01-18* gpgkeys_curl.c: s/MAX_PATH/URLMAX_PATH/g to avoid a clash withWerner Koch4-11/+29
the W32 defined macro. Removed unneeded initialization of static variables. * gpgkeys_http.c: Ditto. * ksutil.h: s/MAX_PATH/URLMAX_PATH/.
2005-01-18* gpgkeys_curl.c (main): Only allow specified protocols to use theDavid Shaw3-8/+18
curl handler. * Makefile.am: Use LIBCURL_CPPFLAGS instead of LIBCURL_INCLUDES.
2005-01-13* ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c,David Shaw7-99/+51
gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the various defines to ksutil.h.
2005-01-13* gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Part 1David Shaw5-73/+109
of a minor cleanup to use #defines instead of hard-coded sizes.
2005-01-13* gpgkeys_finger.c (connect_server): Use INADDR_NONE instead ofDavid Shaw2-1/+6
SOCKET_ERROR. Noted by Timo.
2005-01-10* gpgkeys_curl.c (get_key): Newer versions of libcurl don't define TRUE.David Shaw2-1/+6
2004-12-24* gpgkeys_curl.c (main): Use new defines for opting out of certainDavid Shaw3-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.
2004-12-22* gpgkeys_curl.c (main): New "follow-redirects" option. Takes an optionalDavid Shaw6-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.
2004-12-22* gpgkeys_curl.c (get_key, writer): New function to wrap around fwrite toDavid Shaw3-4/+24
avoid DLL access problem on win32. * gpgkeys_http.c (main, get_key): Properly pass authentication info through to the http library.
2004-12-22* Makefile.am: Build gpgkeys_http or gpgkeys_curl as needed.David Shaw3-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.
2004-12-22* gpgkeys_ftp.c (main, get_key): Use auth data as passed by gpg. UseDavid Shaw2-6/+19
CURLOPT_FILE instead of CURLOPT_WRITEDATA (same option, but backwards compatible).
2004-12-21FTP keyserver support via gpgkeys_ftp. This is currently off by default.David Shaw3-7/+357
2004-12-14Prepared for last 1.4 release candidateWerner Koch2-9/+6
2004-12-03* Makefile.am: The harmless "ignored error" on gpgkeys_ldap install on topDavid Shaw2-1/+7
of an existing install is bound to confuse people. Use ln -s -f to force the overwrite.
2004-10-28* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.David Shaw2-1/+5
2004-10-28Inlcude LIBICONVWerner Koch2-4/+15
2004-10-18* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead ofDavid Shaw2-4/+8
"x-hkp" so it can be used as a SRV tag.
2004-10-16* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.David Shaw2-1/+5
2004-10-15* gpgkeys_ldap.c (main, show_help): Kludge to implement standardWerner Koch7-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.
2004-10-15* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.Werner Koch2-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.
2004-10-14* gpgkeys_finger.c (main): We do not support relay fingering (i.e.David Shaw2-0/+14
"finger://relayhost/[email protected]"), but finger URLs are occasionally miswritten that way. Give an error in this case.
2004-10-14* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allowWerner Koch2-1/+6
logging. * gpgkeys_finger.c (get_key): s/unsigned char/byte/ due to a strange typedef for RISC OS. Noted by Stefan.
2004-10-13* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),David Shaw8-10/+194
gpgkeys_finger.c (main): Call timeout functions before performing an action that could block for a long time. * ksutil.h, ksutil.c: New. Right now just contains timeout functions.
2004-10-11* gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Fix aDavid Shaw5-13/+18
few occurances of "filename" to `filename'.
2004-10-11Oops commited binary instead of source.Werner Koch2-0/+550
2004-10-11* configure.ac: New option --disable-finger.Werner Koch3-2/+7
* keyserver.c (keyserver_spawn): Print an empty string in log_info if the host is not set (e.g. finger). * gpgkeys_finger.c: New.
2004-08-27change back skey to unsigned and cast insteadStefan Bellon2-2/+5
2004-08-27fix type incompatibilityStefan Bellon2-8/+13
2004-08-23* gpgkeys_ldap.c (get_key, search_key), gpgkeys_hkp.c (get_key,David Shaw4-18/+4
search_key), gpgkeys_http.c (get_key): Do not give informational logs since this is now done inside gpg.
2004-08-23* gpgkeys_hkp.c (dehtmlize): Understand the quote character (i.e.David Shaw2-7/+21
""") in HTML responses. (search_key): Search key must be unsigned for url encoder to work properly for 8-bit values.
2004-08-23* gpgkeys_ldap.c (get_key): Factor out informational display into newDavid Shaw2-74/+81
function build_info().
2004-08-23* gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings thatDavid Shaw2-0/+7
got shrunk due to encoding.
2004-08-23* gpgkeys_ldap.c (find_basekeyspacedn): Use LDAP_SCOPE_BASE along with aDavid Shaw2-7/+33
full DN rather than LDAP_SCOPE_ONELEVEL plus a filter to find the pgpServerInfo object. Some LDAP setups don't like the search. (main): Stop binding to the server since it seems no server really requires it, and some require it not be there.
2004-07-29* gpgkeys_ldap.c (main): Add "debug" option. This is only really usefulDavid Shaw2-11/+68
with OpenLDAP, but it's practically vital to debug SSL and TLS setups. Add "basedn" option. This allows users to override the autodetection for base DN. SSL overrides TLS, so TLS will not be started on SSL connections (starting an already started car).
2004-07-28* gpgkeys_ldap.c (build_attrs): Add "pgpKeySize" and "pgpSubKeyID"David Shaw2-2/+48
attributes so we can do subkey searches. * gpgkeys_ldap.c (main): Under certain error conditions, we might try and unbind twice. Don't.
2004-07-28* gpgkeys_ldap.c (join_two_modlists): New. (send_key): Use new function soDavid Shaw2-19/+70
we can try a modify operation first, and fail over to an add if that fails. Add cannot cope with the NULLs at the head of the modify request, so we jump into the list in the middle.
2004-07-28* gpgkeys_ldap.c (main): Don't try and error out before making a ldapsDavid Shaw2-28/+27
connection to the NAI keyserver since we cannot tell if it is a NAI keyserver until we connect. Fail if we cannot find a base keyspace DN. Fix a false success message for TLS being enabled.
2004-07-27* configure.ac (AM_GNU_GETTEXT_VERSION): New.Werner Koch2-0/+12
(min_automake_version): New. * LINGUAS: Added all languages we supported in 1.2.5. Copied all po files from 1.2.5. * autogen.sh: Updated to the modern version, grepping the required tool versions from configure.ac.
2004-05-26* gpgkeys_http.c: General polish and removal of leftover stuff fromDavid Shaw2-31/+26
gpgkeys_hkp.c.
2004-05-22* gpgkeys_http.c (get_key): Cosmetic fix - make sure that URLs with noDavid Shaw2-4/+7
path use a path of "/".
2004-05-21* gpgkeys_ldap.c (ldap2epochtime): We can always rely on timegm() beingDavid Shaw2-22/+8
available now, since it's a replacement function.
2004-05-20* gpgkeys_http.c: New program to do a simple HTTP file fetch using theDavid Shaw3-2/+391
keyserver interface. * Makefile.am: Build it.