Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * gpgkeys_hkp.c (dehtmlize): Understand the quote character (i.e. | David Shaw | 2004-08-23 | 1 | -7/+16 | |
| | | | | | | """) in HTML responses. (search_key): Search key must be unsigned for url encoder to work properly for 8-bit values. | |||||
* | (send_key): Add a content type. | Werner Koch | 2004-01-13 | 1 | -0/+4 | |
| | ||||||
* | * gpgkeys_hkp.c (search_key): Catch a mangled input file (useful if | David Shaw | 2004-01-12 | 1 | -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. | |||||
* | * gpgkeys_hkp.c (send_key, get_key, main): Work with new HTTP code that | David Shaw | 2003-12-28 | 1 | -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. | |||||
* | cleaned up RISC OS code and removed lots of unnecessary stuff | Stefan Bellon | 2003-12-28 | 1 | -8/+0 | |
| | ||||||
* | (get_key): Fixed invalid use of fprintf without | Werner Koch | 2003-11-27 | 1 | -2/+2 | |
| | | | | | format string. | |||||
* | * gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is available. | David Shaw | 2003-05-31 | 1 | -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. | |||||
* | * gpgkeys_hkp.c (dehtmlize, parse_hkp_index): Fix memory corruption bug on | David Shaw | 2003-04-09 | 1 | -1/+3 | |
| | | | | | some platforms. | |||||
* | * gpgkeys_hkp.c (get_key): Properly handle CRLF line endings in the | David Shaw | 2003-03-11 | 1 | -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. | |||||
* | * gpgkeys_hkp.c (get_key): Use options=mr when getting a key so keyserver | David Shaw | 2003-01-06 | 1 | -1/+1 | |
| | | | | | doesn't attach the HTML header which we will just have to discard. | |||||
* | * gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver protocol | David Shaw | 2002-11-18 | 1 | -1/+1 | |
| | | | | | version. | |||||
* | * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle an | David Shaw | 2002-11-04 | 1 | -8/+10 | |
| | | | | | input file that does not include any key data at all. | |||||
* | * gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to output | David Shaw | 2002-10-24 | 1 | -1/+6 | |
| | | | | | protocol and program version. | |||||
* | * gpgkeys_hkp.c (write_quoted): Use %-encoding instead of \-encoding. | David Shaw | 2002-10-14 | 1 | -99/+126 | |
| | | | | | | (parse_hkp_index): Use new keyserver key listing format, and add support for disabled keys via include-disabled. | |||||
* | * gpgkeys_ldap.c (fail_all): New function to unwind a keylist and error | David Shaw | 2002-10-09 | 1 | -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. | |||||
* | * gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor error | David Shaw | 2002-09-24 | 1 | -35/+44 | |
| | | | | | reporting enhancements for use with GPA. | |||||
* | * gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid | Werner Koch | 2002-09-20 | 1 | -2/+2 | |
| | | | | | shadowing warning. | |||||
* | * gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): Properly | David Shaw | 2002-09-19 | 1 | -5/+12 | |
| | | | | | handle line truncation. | |||||
* | * gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax so | David Shaw | 2002-09-16 | 1 | -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. | |||||
* | * gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request a | David Shaw | 2002-09-13 | 1 | -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. | |||||
* | updated RISC OS stuff | Stefan Bellon | 2002-09-12 | 1 | -0/+8 | |
| | ||||||
* | * gpgkeys_hkp.c (main): Remove warning - this is no longer experimental | David Shaw | 2002-09-12 | 1 | -3/+0 | |
| | | | | | code. | |||||
* | * gpgkeys_hkp.c (send_key, get_key, search_key): Check return | Werner Koch | 2002-09-10 | 1 | -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. | |||||
* | * gpgkeys_hkp.c (send_key): Use CRLF in headers. | David Shaw | 2002-09-09 | 1 | -1/+1 | |
| | ||||||
* | * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms. | David Shaw | 2002-08-28 | 1 | -6/+1 | |
| | | | | | This was probably leftover from earlier code where the typing mattered. | |||||
* | * gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be consistent in | David Shaw | 2002-08-28 | 1 | -55/+47 | |
| | | | | | | m_alloc and malloc usage. Remove include-disabled (meaningless on HKP). RISC OS tweak. | |||||
* | * gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs. | David Shaw | 2002-08-27 | 1 | -368/+254 | |
| | ||||||
* | * gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings. | David Shaw | 2002-08-27 | 1 | -3/+3 | |
| | ||||||
* | * gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan. Include a | David Shaw | 2002-08-27 | 1 | -0/+33 | |
| | | | | | | replacement for hstrerror() for those platforms (such as RISC OS) that don't have it. | |||||
* | * gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn't | David Shaw | 2002-08-26 | 1 | -4/+6 | |
| | | | | | unsupported, it's actually non-meaningful in the context of HKP (yet). | |||||
* | * gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality into | David Shaw | 2002-08-26 | 1 | -73/+96 | |
| | | | | | | | new "dehtmlize" function. Remove HTML before trying to parse each line from the keyserver. If the keyserver provides key type information in the listing, use it. (Copy over from g10/hkp.c). | |||||
* | * gpgkeys_hkp.c (get_key, parse_hkp_index): Bring over latest code from | David Shaw | 2002-08-19 | 1 | -9/+9 | |
| | | | | | | | | g10/hkp.c. * gpgkeys_ldap.c (get_key): Fix cosmetic URL display problem (extra ":" at the end). | |||||
* | * gpgkeys_hkp.c: "Warning" -> "WARNING" | David Shaw | 2002-07-25 | 1 | -1/+1 | |
| | ||||||
* | * gpgkeys_ldap.c (get_key), gpgkeys_hkp.c (get_key): Display keyserver URI | David Shaw | 2002-07-04 | 1 | -3/+4 | |
| | | | | | as a URI, but only if verbose. | |||||
* | * gpgkeys_hkp.c (parse_hkp_index): Error if the keyserver returns an | David Shaw | 2002-07-01 | 1 | -9/+33 | |
| | | | | | | | | | | | unparseable HKP response. * gpgkeys_hkp.c (main): Warn on honor-http-proxy, broken-http-proxy, and include-subkeys (not supported yet). * gpgkeys_ldap.c (main), gpgkeys_hkp.c (http_connect, main): Fix some shadowing warnings. | |||||
* | Update head to match stable 1.0 | David Shaw | 2002-06-29 | 1 | -0/+981 | |