| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is issue 1340. Now that PKSD is dead, and SKS supports long key
IDs, this is safe to do. Patch from Daniel Kahn Gillmor
<[email protected]>.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
names ("pgpkey-http" and "pgpkey-https") in SRV lookups instead of
"hkp" and "hkps".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sufficient to turn the feature on. (http_open): From here.
(http_document): And here.
* gpgkeys_hkp.c (srv_replace): New function to transform a SRV
hostname to a real hostname. (main): Call it from here for the
HAVE_LIBCURL case (without libcurl is handled via the curl-shim).
* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): Add
a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine).
|
|
|
|
|
| |
support for SSLized HKP.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* curl-shim.h (curl_version): No need to provide a version for
curl-shim as it always matches the GnuPG version.
* gpgkeys_curl.c, gpgkeys_hkp.c (main): Show which version of curl
we're using as part of --version.
* gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_ldap.c
(show_help): Document --version.
|
|
|
|
|
|
|
|
| |
number options are passed as long.
* curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl
better - libcurl uses 'long', not 'unsigned int'.
|
|
|
|
|
| |
Removed intl/.
|
|
|
|
|
| |
See the ChangeLogs for details.
|
|
|
|
|
| |
when searching by keyID.
|
|
|
|
|
| |
Key-not-found still has a HTML response.
|
|
|
|
|
| |
coming back from a MR hkp query.
|
|
|
|
|
| |
Made readline support work.
|
|
|
|
|
|
| |
send_key_keyserver): Improved version of previous fix. Force match on
spaces in string.
|
|
|
|
|
|
| |
Fix string matching problem when the ascii armored form of the key happens
to match "KEY" at the beginning of the line.
|
|
|
|
|
|
|
|
| |
this is done via curl or fake-curl.
* ksutil.h, ksutil.c, gpgkeys_hkp.c, gpgkeys_curl.c: Minor #include tweaks
as FAKE_CURL is no longer meaningful.
|
|
|
|
|
| |
odd matches.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|