Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is available. | David Shaw | 2003-05-31 | 4 | -5/+24 |
| | | | | | | | | | | 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 | 2 | -1/+8 |
| | | | | | some platforms. | ||||
* | * gpgkeys_hkp.c (get_key): Properly handle CRLF line endings in the | David Shaw | 2003-03-11 | 3 | -3/+28 |
| | | | | | | | | | 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. | ||||
* | * Makefile.am: Use a local copy of libexecdir along with @PACKAGE@ so it | David Shaw | 2003-02-12 | 2 | -1/+6 |
| | | | | | can be easily overridden at make time. | ||||
* | * gpgkeys_mailto.in: Fix regexp to work properly if the "keyid" is not a | David Shaw | 2003-01-29 | 2 | -4/+9 |
| | | | | | keyid, but rather a text string from the user ID. | ||||
* | * gpgkeys_hkp.c (get_key): Use options=mr when getting a key so keyserver | David Shaw | 2003-01-06 | 2 | -1/+7 |
| | | | | | 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 | 3 | -2/+7 |
| | | | | | version. | ||||
* | * gpgkeys_ldap.c (get_key): The deduping code requires "pgpcertid", but | David Shaw | 2002-11-14 | 2 | -2/+11 |
| | | | | | that was not available when running without verbose on. Noted by Stefan. | ||||
* | * gpgkeys_ldap.c (get_key): Fix typo in deduping code. | David Shaw | 2002-11-10 | 2 | -1/+5 |
| | |||||
* | * gpgkeys_ldap.c (key_in_keylist, add_key_to_keylist, free_keylist, | David Shaw | 2002-11-05 | 2 | -198/+292 |
| | | | | | | | get_key, search_key): The LDAP keyserver doesn't remove duplicates, so remove them locally. Do not include the key modification time in the search response. | ||||
* | * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle an | David Shaw | 2002-11-04 | 3 | -16/+21 |
| | | | | | 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 | 3 | -2/+17 |
| | | | | | protocol and program version. | ||||
* | * Makefile.am: Anything linking with libutil.a needs INTLLIBS as well on | David Shaw | 2002-10-21 | 2 | -2/+7 |
| | | | | | platforms where INTLLIBS is set. | ||||
* | * gpgkeys_hkp.c (write_quoted): Use %-encoding instead of \-encoding. | David Shaw | 2002-10-14 | 2 | -99/+131 |
| | | | | | | (parse_hkp_index): Use new keyserver key listing format, and add support for disabled keys via include-disabled. | ||||
* | * gpgkeys_ldap.c (get_key): Don't print keysize unless it's >0. | David Shaw | 2002-10-14 | 2 | -55/+68 |
| | | | | | | (printquoted): Use %-encoding instead of \-encoding. (search_key): Use new keyserver key listing format. | ||||
* | * gpgkeys_ldap.c (search_key, main): Make sure LDAP values are freed in | David Shaw | 2002-10-09 | 2 | -6/+11 |
| | | | | | case of error. | ||||
* | * gpgkeys_ldap.c (fail_all): New function to unwind a keylist and error | David Shaw | 2002-10-09 | 3 | -6/+85 |
| | | | | | | | | | | | | 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. | ||||
* | From stable branch | David Shaw | 2002-09-27 | 2 | -8/+7 |
| | | | | | * gpgkeys_ldap.c (send_key): Removed non-constant initializers. | ||||
* | * gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key, get_key, | David Shaw | 2002-09-24 | 2 | -34/+103 |
| | | | | | | search_key, main): Some minor error reporting enhancements for use with GPA (show reasons for KEY FAILED). | ||||
* | * gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor error | David Shaw | 2002-09-24 | 2 | -35/+49 |
| | | | | | reporting enhancements for use with GPA. | ||||
* | * gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid | Werner Koch | 2002-09-20 | 2 | -2/+7 |
| | | | | | shadowing warning. | ||||
* | * gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): Properly | David Shaw | 2002-09-19 | 2 | -5/+17 |
| | | | | | handle line truncation. | ||||
* | * gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax so | David Shaw | 2002-09-16 | 3 | -6/+43 |
| | | | | | | | | 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 | 2 | -42/+72 |
| | | | | | | 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 | 2 | -0/+12 |
| | |||||
* | * gpgkeys_hkp.c (main): Remove warning - this is no longer experimental | David Shaw | 2002-09-12 | 2 | -3/+5 |
| | | | | | code. | ||||
* | * gpgkeys_hkp.c (send_key, get_key, search_key): Check return | Werner Koch | 2002-09-10 | 2 | -12/+40 |
| | | | | | | | | 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_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't like | David Shaw | 2002-09-09 | 2 | -8/+6 |
| | | | | | using variables as array initializers. | ||||
* | * gpgkeys_hkp.c (send_key): Use CRLF in headers. | David Shaw | 2002-09-09 | 2 | -1/+5 |
| | |||||
* | * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms. | David Shaw | 2002-08-28 | 2 | -6/+5 |
| | | | | | 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 | 2 | -55/+53 |
| | | | | | | 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 | 3 | -369/+257 |
| | |||||
* | * gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings. | David Shaw | 2002-08-27 | 2 | -3/+5 |
| | |||||
* | * gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan. Include a | David Shaw | 2002-08-27 | 2 | -0/+39 |
| | | | | | | replacement for hstrerror() for those platforms (such as RISC OS) that don't have it. | ||||
* | * Makefile.am: May as well include gpgkeys_hkp.c in the distribution now. | David Shaw | 2002-08-26 | 2 | -3/+5 |
| | | | | | | It works well enough without proxies, and isn't built by default. It would be good to get some test experience with it. | ||||
* | * gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn't | David Shaw | 2002-08-26 | 2 | -4/+10 |
| | | | | | 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 | 2 | -73/+104 |
| | | | | | | | 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 | 3 | -12/+20 |
| | | | | | | | | g10/hkp.c. * gpgkeys_ldap.c (get_key): Fix cosmetic URL display problem (extra ":" at the end). | ||||
* | RISC OS changes due to dynload removal | Stefan Bellon | 2002-08-03 | 2 | -2/+10 |
| | |||||
* | * gpgkeys_hkp.c: "Warning" -> "WARNING" | David Shaw | 2002-07-25 | 2 | -1/+5 |
| | |||||
* | * Makefile.am: Install keyserver helpers in @GNUPG_LIBEXECDIR@ | David Shaw | 2002-07-24 | 2 | -2/+7 |
| | |||||
* | * gpgkeys_ldap.c (send_key, get_key, main): Consult the server version | David Shaw | 2002-07-15 | 2 | -10/+33 |
| | | | | | string to determine whether to use pgpKey or pgpKeyV2. | ||||
* | * gpgkeys_mailto.in: Use new OPAQUE tag for non net-path URIs. Fail more | David Shaw | 2002-07-09 | 2 | -7/+26 |
| | | | | | | | | | | elegantly if there is no email address to send to. Show the GnuPG version in the message body. ---------------------------------------------------------------------- gpgkeys_mailto.in CVS: ---------------------------------------------------------------------- | ||||
* | * gpgkeys_ldap.c (get_key), gpgkeys_hkp.c (get_key): Display keyserver URI | David Shaw | 2002-07-04 | 3 | -6/+13 |
| | | | | | as a URI, but only if verbose. | ||||
* | * gpgkeys_hkp.c (parse_hkp_index): Error if the keyserver returns an | David Shaw | 2002-07-01 | 3 | -13/+48 |
| | | | | | | | | | | | 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 | 6 | -0/+2362 |