aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_oldhkp.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-04-26* gpgkeys_http.c, gpgkeys_oldhkp.c: Removed.David Shaw1-1160/+0
2005-07-27Converted all m_free to xfree etc.Werner Koch1-3/+3
2005-06-23* gpgkeys_http.c (get_key), gpgkeys_oldhkp (send_key, get_key,David Shaw1-3/+3
search_key): No longer need to pass a proxyauth. * gpgkeys_http.c (get_key): Pass auth outside of the URL.
2005-06-22* gpgkeys_http.c (get_key), gpgkeys_oldhkp.c (send_key, get_key,David Shaw1-3/+4
search_key): Fix http_open/http_open_document calls to pass NULL for auth and proxyauth since these programs pass them in the URL.
2005-06-21* gpgkeys_hkp.c (append_path, send_key, get_key, search_key, main),David Shaw1-1/+7
gpgkeys_oldhkp.c (main): Properly handle double slashes in paths.
2005-06-04* gpgkeys_hkp.c, gpgkeys_oldhkp.c: Add support for HKP servers thatDavid Shaw1-9/+19
aren't at the root path. Suggested by Jack Bates.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2005-05-02* gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup andDavid Shaw1-0/+4
comments as to the size of MAX_LINE and MAX_URL.
2005-04-16* gpgkeys_curl.c (main): If the http-proxy option is given without anyDavid Shaw1-7/+4
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.
2005-03-22* gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved fromDavid Shaw1-2/+2
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.
2005-02-05* gpgkeys_finger.c (main), gpgkeys_hkp.c (main): Fix --version output.David Shaw1-1/+1
* 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 Shaw1-0/+1
http_close() calls. Noted by Phil Pennock.
2005-01-13* ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c,David Shaw1-23/+1
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 Shaw1-21/+29
of a minor cleanup to use #defines instead of hard-coded sizes.
2004-12-22* gpgkeys_curl.c (main): New "follow-redirects" option. Takes an optionalDavid Shaw1-1/+3
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-10-18* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead ofDavid Shaw1-4/+3
"x-hkp" so it can be used as a SRV tag.
2004-10-15* gpgkeys_ldap.c (main, show_help): Kludge to implement standardWerner Koch1-3/+21
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-13* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),David Shaw1-4/+25
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 Shaw1-7/+7
few occurances of "filename" to `filename'.
2004-08-27change back skey to unsigned and cast insteadStefan Bellon1-1/+1
2004-08-27fix type incompatibilityStefan Bellon1-5/+5
2004-08-23* gpgkeys_ldap.c (get_key, search_key), gpgkeys_hkp.c (get_key,David Shaw1-7/+0
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 Shaw1-7/+16
""") in HTML responses. (search_key): Search key must be unsigned for url encoder to work properly for 8-bit values.
2004-01-13(send_key): Add a content type.Werner Koch1-0/+4
2004-01-12* gpgkeys_hkp.c (search_key): Catch a mangled input file (useful ifDavid Shaw1-2/+9
something other than GnuPG is calling the program). (main): Avoid possible pre-string write. Noted by Christian Biere. * gpgkeys_ldap.c (main): Avoid possible pre-string write.
2003-12-28* gpgkeys_hkp.c (send_key, get_key, main): Work with new HTTP code thatDavid Shaw1-13/+30
passes the proxy in from the outside. If the command file sends a proxy, use it. If it sends "http-proxy" with no arguments, use $http_proxy from the environment.
2003-12-28cleaned up RISC OS code and removed lots of unnecessary stuffStefan Bellon1-8/+0
2003-11-27(get_key): Fixed invalid use of fprintf withoutWerner Koch1-2/+2
format string.
2003-05-31* gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is available.David Shaw1-0/+6
Also include extern references for optarg and optind since there is no guarantee that any header file will include them. Standards? We don't need no stinkin' standards * Makefile.am: Use @GETOPT@ to pull in libiberty on those platforms that need it.
2003-04-09* gpgkeys_hkp.c (dehtmlize, parse_hkp_index): Fix memory corruption bug onDavid Shaw1-1/+3
some platforms.
2003-03-11* gpgkeys_hkp.c (get_key): Properly handle CRLF line endings in theDavid Shaw1-2/+17
armored key. (main): Accept "try-dns-srv" option. * Makefile.am: Use @CAPLIBS@ to link in -lcap if we are using capabilities. Use @SRVLIBS@ to link in the resolver if we are using DNS SRV.
2003-01-06* gpgkeys_hkp.c (get_key): Use options=mr when getting a key so keyserverDavid Shaw1-1/+1
doesn't attach the HTML header which we will just have to discard.
2002-11-18* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver protocolDavid Shaw1-1/+1
version.
2002-11-04* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle anDavid Shaw1-8/+10
input file that does not include any key data at all.
2002-10-24* gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to outputDavid Shaw1-1/+6
protocol and program version.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-1062/+0
'GNUPG-1-9-BRANCH'.
2002-10-14* gpgkeys_hkp.c (write_quoted): Use %-encoding instead of \-encoding.David Shaw1-99/+126
(parse_hkp_index): Use new keyserver key listing format, and add support for disabled keys via include-disabled.
2002-10-09* gpgkeys_ldap.c (fail_all): New function to unwind a keylist and errorDavid Shaw1-2/+32
each item. (main): Call fail_all from here, as needed. Also add a NO_MEMORY error in an appropriate place and fix error return code. (ldap_err_to_gpg_err): Add KEYSERVER_UNREACHABLE. * gpgkeys_hkp.c (fail_all): New function to unwind a keylist and error each item. (main): Call fail_all from here. Also add a NO_MEMORY error in an appropriate place. (get_key): Use new UNREACHABLE error for network errors.
2002-09-24* gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor errorDavid Shaw1-35/+44
reporting enhancements for use with GPA.
2002-09-20* gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoidWerner Koch1-2/+2
shadowing warning.
2002-09-19* gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): ProperlyDavid Shaw1-5/+12
handle line truncation.
2002-09-16* gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax soDavid Shaw1-5/+9
people can set their own email address to respond to. * gpgkeys_hkp.c (get_key): Properly respond with KEY FAILED (to gpg) and "key not found" (to user) on failure.
2002-09-13* gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request aDavid Shaw1-42/+65
machine-readable key index. If the server supports this, pass it through. If the server does not support it, parse the "index" page.
2002-09-12updated RISC OS stuffStefan Bellon1-0/+8
2002-09-12* gpgkeys_hkp.c (main): Remove warning - this is no longer experimentalDavid Shaw1-3/+0
code.
2002-09-10* gpgkeys_hkp.c (send_key, get_key, search_key): Check returnWerner Koch1-11/+31
value of malloc. (dehtmlize): Use ascii_tolower to protect against weird locales. Cast the argument for isspace for the sake of broken HP/UXes. (search_key): Check return value of realloc.
2002-09-09* gpgkeys_hkp.c (send_key): Use CRLF in headers.David Shaw1-1/+1
2002-08-28* gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms.David Shaw1-6/+1
This was probably leftover from earlier code where the typing mattered.
2002-08-28* gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be consistent inDavid Shaw1-55/+47
m_alloc and malloc usage. Remove include-disabled (meaningless on HKP). RISC OS tweak.
2002-08-27* gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs.David Shaw1-368/+254