Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the longest key ID available when talking to a HKP server. | David Shaw | 2011-12-28 | 1 | -7/+13 |
| | | | | | | 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]>. | ||||
* | Removed some set but unused vars. | Werner Koch | 2011-08-09 | 1 | -3/+2 |
| | |||||
* | Restructured the compat functions and changed its license. | Werner Koch | 2009-08-25 | 1 | -7/+7 |
| | | | | | New fucntion xstrconcat for future use. | ||||
* | * gpgkeys_hkp.c (main, srv_replace): Minor tweaks to use the DNS-SD | David Shaw | 2009-07-08 | 1 | -5/+17 |
| | | | | | | names ("pgpkey-http" and "pgpkey-https") in SRV lookups instead of "hkp" and "hkps". | ||||
* | * gpgkeys_hkp.c (srv_replace): Fix build warning. | David Shaw | 2009-05-28 | 1 | -0/+2 |
| | |||||
* | Avoid caches to get the most recent copy of the key. This is bug | David Shaw | 2009-05-26 | 1 | -0/+23 |
| | | | | | #1061 | ||||
* | * gpgkeys_hkp.c (srv_replace): New function to transform a SRV | David Shaw | 2009-04-21 | 1 | -17/+76 |
| | | | | | | hostname to a real hostname. (main): Call it from here for the HAVE_LIBCURL case (without libcurl is handled via the curl-shim). | ||||
* | * gpgkeys_hkp.c (main): Switch default port for SSLized HKP to 443 | David Shaw | 2009-04-02 | 1 | -1/+1 |
| | | | | | (i.e. the regular https port). | ||||
* | * gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): Add | David Shaw | 2009-02-03 | 1 | -22/+36 |
| | | | | | support for SSLized HKP. | ||||
* | * curl-shim.h, gpgkeys_curl.c, gpgkeys_hkp.c (main): Always show curl | David Shaw | 2008-11-18 | 1 | -3/+1 |
| | | | | | version (even for curl-shim). | ||||
* | Make --version close to GNU standards. | Werner Koch | 2008-11-18 | 1 | -1/+4 |
| | |||||
* | * curl-shim.h (curl_version): No need to provide a version for | David Shaw | 2008-11-18 | 1 | -4/+5 |
| | | | | | | | | | | | 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. | ||||
* | * gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Make sure all libcurl | David Shaw | 2008-04-14 | 1 | -5/+5 |
| | | | | | number options are passed as long. | ||||
* | Switched to GPLv3. | Werner Koch | 2007-10-23 | 1 | -4/+2 |
| | | | | | Updated gettext. | ||||
* | * gpgkeys_hkp.c (main): Show curl or fake-curl version string. | David Shaw | 2007-04-16 | 1 | -1/+1 |
| | | | | | * Makefile.am: Link with libcompat.a for ascii_str(n)casecmp. | ||||
* | * gpgkeys_curl.c, gpgkeys_ldap.c, gpgkeys_hkp.c, ksutil.c: Rename all | David Shaw | 2007-04-16 | 1 | -4/+5 |
| | | | | | | str(n)casecmp to ascii_str(n)casecmp. We want the locale-independent ones here. | ||||
* | * curl-shim.h, curl-shim.c, gpgkeys_hkp.c: Rename curl_escape() to | David Shaw | 2007-01-16 | 1 | -3/+3 |
| | | | | | curl_easy_escape() to match cURL. | ||||
* | * gpgkeys_hkp.c (send_key): Allow GPG to send any armored key line | David Shaw | 2007-01-16 | 1 | -20/+24 |
| | | | | | length without problems. Reported by Felix von Leitner. | ||||
* | * gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be present | David Shaw | 2006-12-03 | 1 | -0/+6 |
| | | | | | when searching by keyID. | ||||
* | * gpgkeys_hkp.c (curl_mrindex_writer): Revert previous change. | David Shaw | 2006-11-06 | 1 | -5/+3 |
| | | | | | Key-not-found still has a HTML response. | ||||
* | * gpgkeys_hkp.c (curl_mrindex_writer): Print a warning if we see HTML | David Shaw | 2006-10-20 | 1 | -1/+4 |
| | | | | | coming back from a MR hkp query. | ||||
* | Allow to build w/o curl. | Werner Koch | 2006-09-26 | 1 | -0/+11 |
| | |||||
* | * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, | David Shaw | 2006-07-17 | 1 | -2/+2 |
| | | | | | | send_key_keyserver): Improved version of previous fix. Force match on spaces in string. | ||||
* | * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, send_key_keyserver): | David Shaw | 2006-07-14 | 1 | -3/+6 |
| | | | | | | Fix string matching problem when the ascii armored form of the key happens to match "KEY" at the beginning of the line. | ||||
* | * Makefile.am: Don't build gpgkeys_http or gpgkeys_(old)hkp any longer as | David Shaw | 2006-04-26 | 1 | -3/+3 |
| | | | | | | | | 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. | ||||
* | * gpgkeys_hkp.c (get_name): A GETNAME query turns exact=on to cut down on | David Shaw | 2006-02-22 | 1 | -0/+3 |
| | | | | | odd matches. | ||||
* | * gpgkeys_hkp.c (send_key): Do not escape the '=' in the HTTP POST when | David Shaw | 2006-01-16 | 1 | -13/+16 |
| | | | | | uploading a key. | ||||
* | * ksutil.h, ksutil.c (parse_ks_options): New keyserver command "getname". | David Shaw | 2005-12-23 | 1 | -2/+96 |
| | | | | | | * gpgkeys_hkp.c (main, get_name), gpgkeys_ldap.c (main, get_name): Use it here to do direct name (rather than key ID) fetches. | ||||
* | * ksutil.h, ksutil.c (curl_armor_writer, curl_writer, | David Shaw | 2005-12-19 | 1 | -5/+6 |
| | | | | | | | | 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. | ||||
* | Fix various build warnings reported by Joe Vender on MinGW. | David Shaw | 2005-11-03 | 1 | -1/+1 |
| | |||||
* | * ksutil.h, ksutil.c (parse_ks_options): Remove exact-name and | David Shaw | 2005-08-26 | 1 | -41/+9 |
| | | | | | | | | | 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. | ||||
* | * ksutil.h, ksutil.c (parse_ks_options): New keyserver-option exact-name. | David Shaw | 2005-08-18 | 1 | -2/+20 |
| | | | | | | | | 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. | ||||
* | * ksutil.h, ksutil.c (parse_ks_options): New keyserver-option | David Shaw | 2005-08-18 | 1 | -4/+34 |
| | | | | | | | | exact-email. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here to do an email-only search. | ||||
* | * gpgkeys_hkp.c (main), gpgkeys_curl.c (main), curl-shim.h: Show | David Shaw | 2005-08-04 | 1 | -0/+1 |
| | | | | | version of curl (or curl-shim) when debug is set. | ||||
* | * gpgkeys_mailto.in, gpgkeys_test.in: Use @VERSION@ so version string | David Shaw | 2005-06-23 | 1 | -11/+18 |
| | | | | | | | | | | | | | | 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_hkp.c (append_path, send_key, get_key, search_key, main), | David Shaw | 2005-06-21 | 1 | -10/+19 |
| | | | | | gpgkeys_oldhkp.c (main): Properly handle double slashes in paths. | ||||
* | * gpgkeys_hkp.c, gpgkeys_oldhkp.c: Add support for HKP servers that | David Shaw | 2005-06-04 | 1 | -8/+16 |
| | | | | | aren't at the root path. Suggested by Jack Bates. | ||||
* | Updated FSF street address and preparations for a release candidate. | Werner Koch | 2005-05-31 | 1 | -1/+2 |
| | |||||
* | * gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup and | David Shaw | 2005-05-02 | 1 | -3/+9 |
| | | | | | comments as to the size of MAX_LINE and MAX_URL. | ||||
* | * gpgkeys_hkp.c: New hkp handler that uses curl or curl-shim. | David Shaw | 2005-04-17 | 1 | -713/+256 |
| | | | | | | | * Makefile.am: Build new gpgkeys_hkp. * curl-shim.c (curl_easy_perform): Cleanup. | ||||
* | * gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved from | David Shaw | 2005-03-22 | 1 | -2/+2 |
| | | | | | | | | | 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_finger.c (main), gpgkeys_hkp.c (main): Fix --version output. | David Shaw | 2005-02-05 | 1 | -1/+1 |
| | | | | | | * gpgkeys_curl.c (main): Make sure the curl handle is cleaned up on failure. | ||||
* | * gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Fix missing | David Shaw | 2005-02-01 | 1 | -0/+1 |
| | | | | | http_close() calls. Noted by Phil Pennock. | ||||
* | * ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c, | David Shaw | 2005-01-13 | 1 | -23/+1 |
| | | | | | | gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the various defines to ksutil.h. | ||||
* | * gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Part 1 | David Shaw | 2005-01-13 | 1 | -21/+29 |
| | | | | | of a minor cleanup to use #defines instead of hard-coded sizes. | ||||
* | * gpgkeys_curl.c (main): New "follow-redirects" option. Takes an optional | David Shaw | 2004-12-22 | 1 | -1/+3 |
| | | | | | | | | | | 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. | ||||
* | * gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead of | David Shaw | 2004-10-18 | 1 | -4/+3 |
| | | | | | "x-hkp" so it can be used as a SRV tag. | ||||
* | * gpgkeys_ldap.c (main, show_help): Kludge to implement standard | Werner Koch | 2004-10-15 | 1 | -3/+21 |
| | | | | | | | | | 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_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main), | David Shaw | 2004-10-13 | 1 | -4/+25 |
| | | | | | | | | 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. | ||||
* | * gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Fix a | David Shaw | 2004-10-11 | 1 | -7/+7 |
| | | | | | few occurances of "filename" to `filename'. |