David Shaw
39dd4d2b29
* gpgkeys_hkp.c (get_key): Use options=mr when getting a key so keyserver
...
doesn't attach the HTML header which we will just have to discard.
2003-01-06 23:05:39 +00:00
David Shaw
2e4e257f42
* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver protocol
...
version.
2002-11-18 00:43:33 +00:00
David Shaw
f7b357ebfe
* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle an
...
input file that does not include any key data at all.
2002-11-04 13:59:08 +00:00
David Shaw
be1d2a4038
* gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to output
...
protocol and program version.
2002-10-24 22:33:22 +00:00
David Shaw
3ee825e211
* gpgkeys_hkp.c (write_quoted): Use %-encoding instead of \-encoding.
...
(parse_hkp_index): Use new keyserver key listing format, and add support
for disabled keys via include-disabled.
2002-10-14 20:01:05 +00:00
David Shaw
7a3e940300
* gpgkeys_ldap.c (fail_all): New function to unwind a keylist and error
...
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-10-09 02:03:22 +00:00
David Shaw
e0512b187c
* gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor error
...
reporting enhancements for use with GPA.
2002-09-24 19:50:09 +00:00
Werner Koch
0b180a7b9a
* gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid
...
shadowing warning.
2002-09-20 07:39:54 +00:00
David Shaw
5e802a7256
* gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): Properly
...
handle line truncation.
2002-09-19 17:03:42 +00:00
David Shaw
81c8f7daca
* gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax so
...
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-16 14:35:19 +00:00
David Shaw
5c7c9fd6cd
* gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request a
...
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-13 18:45:36 +00:00
Stefan Bellon
3782e1595e
updated RISC OS stuff
2002-09-12 16:25:36 +00:00
David Shaw
07991aa5af
* gpgkeys_hkp.c (main): Remove warning - this is no longer experimental
...
code.
2002-09-12 12:31:31 +00:00
Werner Koch
92f8a5d12a
* gpgkeys_hkp.c (send_key, get_key, search_key): Check return
...
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-10 08:28:40 +00:00
David Shaw
b32a1d90e1
* gpgkeys_hkp.c (send_key): Use CRLF in headers.
2002-09-09 20:16:24 +00:00
David Shaw
262a8719a4
* gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms.
...
This was probably leftover from earlier code where the typing mattered.
2002-08-28 20:10:29 +00:00
David Shaw
43ba6d43d7
* gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be consistent in
...
m_alloc and malloc usage. Remove include-disabled (meaningless on HKP).
RISC OS tweak.
2002-08-28 04:04:37 +00:00
David Shaw
813fa3f98b
* gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs.
2002-08-27 19:11:36 +00:00
David Shaw
ce13db5e3c
* gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings.
2002-08-27 14:49:23 +00:00
David Shaw
6cb18a86f5
* gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan. Include a
...
replacement for hstrerror() for those platforms (such as RISC OS) that
don't have it.
2002-08-27 12:44:18 +00:00
David Shaw
8d4602d72c
* gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn't
...
unsupported, it's actually non-meaningful in the context of HKP (yet).
2002-08-26 19:26:56 +00:00
David Shaw
1f5bed18f4
* gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality into
...
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).
2002-08-26 19:22:48 +00:00
David Shaw
0d8006450a
* gpgkeys_hkp.c (get_key, parse_hkp_index): Bring over latest code from
...
g10/hkp.c.
* gpgkeys_ldap.c (get_key): Fix cosmetic URL display problem (extra ":" at
the end).
2002-08-19 21:14:57 +00:00
David Shaw
ceb76da7e2
* gpgkeys_hkp.c: "Warning" -> "WARNING"
2002-07-25 18:01:36 +00:00
David Shaw
a811246420
* gpgkeys_ldap.c (get_key), gpgkeys_hkp.c (get_key): Display keyserver URI
...
as a URI, but only if verbose.
2002-07-04 14:14:08 +00:00
David Shaw
2b0bb77e6d
* gpgkeys_hkp.c (parse_hkp_index): Error if the keyserver returns an
...
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.
2002-07-01 17:46:56 +00:00
David Shaw
151ee2f47b
Update head to match stable 1.0
2002-06-29 13:31:13 +00:00