1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
Commit Graph

76 Commits

Author SHA1 Message Date
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
e892058dba * gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't like
using variables as array initializers.
2002-09-09 20:36:12 +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
b37812c2cd * Makefile.am: May as well include gpgkeys_hkp.c in the distribution now.
It works well enough without proxies, and isn't built by default.  It
would be good to get some test experience with it.
2002-08-26 22:44:38 +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
Stefan Bellon
582f0d5d98 RISC OS changes due to dynload removal 2002-08-03 18:35:16 +00:00
David Shaw
ceb76da7e2 * gpgkeys_hkp.c: "Warning" -> "WARNING" 2002-07-25 18:01:36 +00:00
David Shaw
0ecc2099ac * Makefile.am: Install keyserver helpers in @GNUPG_LIBEXECDIR@ 2002-07-24 18:42:38 +00:00
David Shaw
2921721841 * gpgkeys_ldap.c (send_key, get_key, main): Consult the server version
string to determine whether to use pgpKey or pgpKeyV2.
2002-07-15 23:13:48 +00:00
David Shaw
fd415ba29f * gpgkeys_mailto.in: Use new OPAQUE tag for non net-path URIs. Fail more
elegantly if there is no email address to send to.  Show the GnuPG version
in the message body.

----------------------------------------------------------------------
gpgkeys_mailto.in CVS:
----------------------------------------------------------------------
2002-07-09 19:19:25 +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