| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
fake-curl.
|
| |
|
|
|
|
|
| |
comments as to the size of MAX_LINE and MAX_URL.
|
|
|
|
|
|
|
| |
* Makefile.am: Build new gpgkeys_hkp.
* curl-shim.c (curl_easy_perform): Cleanup.
|
|
|
|
|
|
| |
context to curl_writer so we can support multiple fetches in a single
session.
|
|
|
|
|
| |
curl_easy_perform): Add POST functionality to the curl shim.
|
|
|
|
|
| |
curl_escape and curl_free.
|
|
|
|
|
|
|
|
|
|
| |
arguments, try to get the proxy from the environment.
* ksutil.h, ksutil.c (curl_err_to_gpg_err, curl_writer): Copy from
gpgkeys_curl.c.
* gpgkeys_oldhkp.c: Copy from gpgkeys_hkp.c.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
by Stefan Bellon.
|
|
|
|
|
|
| |
* Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefine
$libexecdir.
|
|
|
|
|
|
|
|
| |
parse_ks_options and remove a lot of common code.
* ksutil.h, ksutil.c (parse_ks_options): Parse OPAQUE, and default
debug with no arguments to 1.
|
| |
|
|
|
|
|
| |
free if options exist.
|
|
|
|
|
|
| |
parse_ks_options): Pull a lot of duplicated code into a single options
parser for all keyserver helpers.
|
|
|
|
|
|
| |
* curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add
ca-cert-file option, to pass in the SSL cert.
|
|
|
|
|
|
|
|
| |
terms of the current HTTP iobuf API.
* gpgkeys_curl.c [FAKE_CURL], Makefile.am: If FAKE_CURL is set, link with
the iobuf code rather than libcurl.
|
|
|
|
|
|
| |
* gpgkeys_curl.c (main): Make sure the curl handle is cleaned up on
failure.
|
|
|
|
|
| |
http_close() calls. Noted by Phil Pennock.
|
| |
|
|
|
|
|
|
|
|
|
| |
canonicalize line endings.
* gpgkeys_curl.c (writer): Discard everything outside the BEGIN and
END lines when retrieving keys. Canonicalize line endings. (main):
Accept FTPS.
|
|
|
|
|
|
|
|
|
| |
certificate checking (which is on by default).
* gpgkeys_curl.c (main): Add "debug" option to match the LDAP helper.
Add "check-cert" option to disable SSL certificate checking (which is
on by default).
|
| |
|
|
|
|
|
|
|
|
| |
the W32 defined macro. Removed unneeded initialization of static
variables.
* gpgkeys_http.c: Ditto.
* ksutil.h: s/MAX_PATH/URLMAX_PATH/.
|
|
|
|
|
|
|
| |
curl handler.
* Makefile.am: Use LIBCURL_CPPFLAGS instead of LIBCURL_INCLUDES.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
SOCKET_ERROR. Noted by Timo.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
transfer protocols. Allow setting HTTP proxy via "http-proxy=foo" option
(there is natural support in libcurl for the http_proxy environment
variable).
* Makefile.am: Remove the conditional since this is all handled in
autoconf now.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
avoid DLL access problem on win32.
* gpgkeys_http.c (main, get_key): Properly pass authentication info
through to the http library.
|
|
|
|
|
|
|
|
| |
* gpgkeys_curl.c (main, get_key): Minor tweaks to work with either FTP or
HTTP.
* gpgkeys_ftp.c: renamed to gpgkeys_curl.c.
|
|
|
|
|
|
| |
CURLOPT_FILE instead of CURLOPT_WRITEDATA (same option, but backwards
compatible).
|
| |
|
| |
|
|
|
|
|
|
| |
of an existing install is bound to confuse people. Use ln -s -f to force
the overwrite.
|
| |
|
| |
|
|
|
|
|
| |
"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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(AUTOMAKE_OPTIONS): New.
* configure.ac: Check whether vasprintf needs a replacement.
* app-openpgp.c (parse_login_data): New.
(app_select_openpgp): Call it.
(do_setattr): Reparse it after change.
* Makefile.am: Add ksutil.h.
|
|
|
|
|
|
| |
"finger://relayhost/[email protected]"), but finger URLs are occasionally
miswritten that way. Give an error in this case.
|
|
|
|
|
|
|
|
| |
logging.
* gpgkeys_finger.c (get_key): s/unsigned char/byte/ due
to a strange typedef for RISC OS. Noted by Stefan.
|
|
|
|
|
|
|
|
| |
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'.
|
| |
|
|
|
|
|
|
|
|
| |
* keyserver.c (keyserver_spawn): Print an empty string in log_info
if the host is not set (e.g. finger).
* gpgkeys_finger.c: New.
|