| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
curl_easy_perform): Add CURLOPT_VERBOSE and CURLOPT_STDERR for easier
debugging.
|
|
|
|
|
| |
uploading a key.
|
|
|
|
|
|
| |
* gpgkeys_hkp.c (main, get_name), gpgkeys_ldap.c (main, get_name): Use it
here to do direct name (rather than key ID) fetches.
|
|
|
|
|
|
|
|
| |
curl_writer_finalize): New functionality to handle binary format keys by
armoring them for input to GPG.
* gpgkeys_curl.c (get_key), gpgkeys_hkp.c (get_key): Call it here.
|
|
|
|
|
| |
for the key-not-found error.
|
|
|
|
|
|
| |
* gpgkeys_curl.c (get_key): Give key-not-found error if no data is found
(or file itself is not found) during a fetch.
|
|
|
|
|
| |
declaration).
|
| |
|
|
|
|
|
|
|
|
|
| |
exact-email. (classify_ks_search): Mimic the gpg search modes instead
with *, =, <, and @.
* gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Call them
here. Suggested by Jason Harris.
|
|
|
|
|
|
|
|
| |
The last of exact-name and exact-email overrides the earlier.
* gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here to
do a name-only search.
|
|
|
|
|
|
| |
* gpgkeys_ldap.c (search_key): Use it here to escape reserved characters
in searches.
|
|
|
|
|
|
|
|
| |
exact-email.
* gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here
to do an email-only search.
|
| |
|
|
|
|
|
| |
version of curl (or curl-shim) when debug is set.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
protocols we handle. Directly pass them to curl or fake-curl and see if
an error comes back.
* curl-shim.h, curl-shim.c (handle_error), ksutil.c (curl_err_to_gpg_err):
Add support for CURLE_UNSUPPORTED_PROTOCOL in fake curl.
* Makefile.am: Don't need -DFAKE_CURL any longer since it's in config.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stays up to date.
* gpgkeys_http.c: Don't need to define HTTP_PROXY_ENV here since it's
in ksutil.h.
* gpgkeys_curl.c (get_key, main), gpgkeys_hkp.c (main): Pass AUTH
values to curl or curl-shim.
* curl-shim.c (curl_easy_perform), gpgkeys_curl.c (main),
gpgkeys_hkp.c (main): Use curl-style proxy semantics.
|
|
|
|
|
| |
CURLOPT_USERPWD option for HTTP auth.
|
|
|
|
|
|
|
| |
search_key): No longer need to pass a proxyauth.
* gpgkeys_http.c (get_key): Pass auth outside of the URL.
|
|
|
|
|
|
| |
search_key): Fix http_open/http_open_document calls to pass NULL for
auth and proxyauth since these programs pass them in the URL.
|
|
|
|
|
| |
gpgkeys_oldhkp.c (main): Properly handle double slashes in paths.
|
|
|
|
|
|
| |
path unless overridden by the config. Allow config to specify items
multiple times and take the last specified item.
|
|
|
|
|
| |
aren't at the root path. Suggested by Jack Bates.
|
|
|
|
|
| |
Vender.
|
| |
|
|
|
|
|
| |
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.
|