David Shaw
f76dc1d602
* gpgkeys_hkp.c (get_key, search_key): Properly handle line truncation.
2002-09-19 16:51:59 +00:00
David Shaw
62760da457
* 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:33:32 +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