| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
gpgkeys_oldhkp.c (main): Properly handle double slashes in paths.
|
|
|
|
|
| |
aren't at the root path. Suggested by Jack Bates.
|
| |
|
|
|
|
|
| |
comments as to the size of MAX_LINE and MAX_URL.
|
|
|
|
|
|
|
| |
* Makefile.am: Build new gpgkeys_hkp.
* curl-shim.c (curl_easy_perform): Cleanup.
|
|
|
|
|
|
|
|
|
| |
gpgkeys_ldap.c. Print a string, but strip out any CRs.
* gpgkeys_finger.c (get_key), gpgkeys_hkp.c (get_key), gpgkeys_http.c
(get_key): Use it here when outputting key material to canonicalize
line endings.
|
|
|
|
|
|
| |
* gpgkeys_curl.c (main): Make sure the curl handle is cleaned up on
failure.
|
|
|
|
|
| |
http_close() calls. Noted by Phil Pennock.
|
|
|
|
|
|
| |
gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the
various defines to ksutil.h.
|
|
|
|
|
| |
of a minor cleanup to use #defines instead of hard-coded sizes.
|
|
|
|
|
|
|
|
|
|
| |
numeric value for the maximum number of redirects to allow. Defaults to
5.
* gpgkeys_curl.c (main), gpgkeys_finger.c (main), gpgkeys_hkp.c (main),
gpgkeys_http.c (main), gpgkeys_ldap.c (main): Make sure that a "timeout"
option passed with no arguments is properly handled.
|
|
|
|
|
| |
"x-hkp" so it can be used as a SRV tag.
|
|
|
|
|
|
|
|
|
| |
GNU options. Factored help printing out.
* gpgkeys_finger.c (main, show_help): Ditto.
* gpgkeys_hkp.c (main, show_help): Ditto.
* gpgkeys_http.c (main, show_help): Ditto.
* gpgkeys_test.in, gpgkeys_mailto.in: Implement --version and --help.
|
|
|
|
|
|
|
|
| |
gpgkeys_finger.c (main): Call timeout functions before performing an
action that could block for a long time.
* ksutil.h, ksutil.c: New. Right now just contains timeout functions.
|
|
|
|
|
| |
few occurances of "filename" to `filename'.
|
| |
|
| |
|
|
|
|
|
|
| |
search_key), gpgkeys_http.c (get_key): Do not give informational logs
since this is now done inside gpg.
|
|
|
|
|
|
| |
""") in HTML responses. (search_key): Search key must be unsigned for
url encoder to work properly for 8-bit values.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
format string.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
some platforms.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
doesn't attach the HTML header which we will just have to discard.
|
|
|
|
|
| |
version.
|
|
|
|
|
| |
input file that does not include any key data at all.
|
|
|
|
|
| |
protocol and program version.
|
|
|
|
|
|
| |
(parse_hkp_index): Use new keyserver key listing format, and add support
for disabled keys via include-disabled.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
reporting enhancements for use with GPA.
|
|
|
|
|
| |
shadowing warning.
|
|
|
|
|
| |
handle line truncation.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
machine-readable key index. If the server supports this, pass it through.
If the server does not support it, parse the "index" page.
|
| |
|
|
|
|
|
| |
code.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
This was probably leftover from earlier code where the typing mattered.
|
|
|
|
|
|
| |
m_alloc and malloc usage. Remove include-disabled (meaningless on HKP).
RISC OS tweak.
|
| |
|
| |
|
|
|
|
|
|
| |
replacement for hstrerror() for those platforms (such as RISC OS) that
don't have it.
|
|
|
|
|
| |
unsupported, it's actually non-meaningful in the context of HKP (yet).
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
| |
g10/hkp.c.
* gpgkeys_ldap.c (get_key): Fix cosmetic URL display problem (extra ":" at
the end).
|