Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Last minute fixes | Werner Koch | 2009-09-02 | 2 | -2/+9 |
| | |||||
* | Restructured the compat functions and changed its license. | Werner Koch | 2009-08-25 | 7 | -24/+69 |
| | | | | | New fucntion xstrconcat for future use. | ||||
* | * gpgkeys_hkp.c (main, srv_replace): Minor tweaks to use the DNS-SD | David Shaw | 2009-07-08 | 2 | -5/+23 |
| | | | | | | names ("pgpkey-http" and "pgpkey-https") in SRV lookups instead of "hkp" and "hkps". | ||||
* | Fix a couple of minor bugs. | Werner Koch | 2009-06-24 | 2 | -4/+12 |
| | |||||
* | * Makefile.am (gpgkeys_hkp_LDADD): Need DNSLIBS for the resolver now | David Shaw | 2009-06-09 | 2 | -2/+7 |
| | | | | | that we're using SRVs. | ||||
* | * gpgkeys_hkp.c (srv_replace): Fix build warning. | David Shaw | 2009-05-28 | 2 | -0/+6 |
| | |||||
* | Avoid caches to get the most recent copy of the key. This is bug | David Shaw | 2009-05-26 | 5 | -2/+97 |
| | | | | | #1061 | ||||
* | * gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather | David Shaw | 2009-05-04 | 2 | -27/+20 |
| | | | | | than the ugly ?from= syntax. | ||||
* | * gpgkeys_hkp.c (srv_replace): New function to transform a SRV | David Shaw | 2009-04-21 | 2 | -17/+83 |
| | | | | | | 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 | David Shaw | 2009-04-03 | 3 | -5/+18 |
| | | | | | | | | | | a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine). * http.h: Allow passing srvtag to http_open and http_open_document. * http.c (http_open, http_open_document): Allow passing srvtag to http_open and http_open_document. | ||||
* | * gpgkeys_hkp.c (main): Switch default port for SSLized HKP to 443 | David Shaw | 2009-04-02 | 2 | -1/+6 |
| | | | | | (i.e. the regular https port). | ||||
* | * gpgkeys_hkp.c (send_key, get_key, get_name, search_key, main): Add | David Shaw | 2009-02-03 | 2 | -22/+41 |
| | | | | | support for SSLized HKP. | ||||
* | * curl-shim.h, gpgkeys_curl.c, gpgkeys_hkp.c (main): Always show curl | David Shaw | 2008-11-18 | 4 | -9/+8 |
| | | | | | version (even for curl-shim). | ||||
* | Make --version close to GNU standards. | Werner Koch | 2008-11-18 | 4 | -2/+16 |
| | |||||
* | * curl-shim.h (curl_version): No need to provide a version for | David Shaw | 2008-11-18 | 6 | -15/+30 |
| | | | | | | | | | | | 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 | 4 | -10/+13 |
| | | | | | number options are passed as long. | ||||
* | * curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl | David Shaw | 2008-04-14 | 2 | -3/+8 |
| | | | | | better - libcurl uses 'long', not 'unsigned int'. | ||||
* | Powerpc64 fix. | Werner Koch | 2008-03-25 | 2 | -2/+7 |
| | |||||
* | * Makefile.am: Fix compile error when libcurl is in a nonstandard | David Shaw | 2007-12-17 | 2 | -1/+8 |
| | | | | | location. | ||||
* | Switched to GPLv3. | Werner Koch | 2007-10-23 | 11 | -44/+22 |
| | | | | | Updated gettext. | ||||
* | * gpgkeys_ldap.c (main): Fix bug in setting up whether to verify peer | David Shaw | 2007-07-29 | 2 | -1/+7 |
| | | | | | | SSL cert. This used to work with older OpenLDAP, but is now more strictly handled. | ||||
* | * gpgkeys_ldap.c: Fix build warning with mozldap. | David Shaw | 2007-07-27 | 2 | -0/+7 |
| | |||||
* | * gpgkeys_ldap.c (search_key, main): Fix bug where searching for foo | David Shaw | 2007-07-27 | 2 | -5/+19 |
| | | | | | | bar (no quotes) on the command line resulted in searching for "foo\2Abar" due to LDAP quoting. The proper search is "foo*bar". | ||||
* | * gpgkeys_hkp.c (main): Show curl or fake-curl version string. | David Shaw | 2007-04-16 | 3 | -3/+7 |
| | | | | | * 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 | 5 | -38/+48 |
| | | | | | | str(n)casecmp to ascii_str(n)casecmp. We want the locale-independent ones here. | ||||
* | * gpgkeys_curl.c (main): Use curl_version_info to verify that the | David Shaw | 2007-03-13 | 4 | -6/+43 |
| | | | | | | | | | protocol we're about to use is actually available. * curl-shim.h, curl-shim.c (curl_free): Make into a macro. (curl_version_info): New. Only advertises "http" for our shim, of course. | ||||
* | * gpgkeys_ldap.c (send_key): Missing a free(). | David Shaw | 2007-02-11 | 3 | -1/+16 |
| | | | | | | * curl-shim.c (curl_easy_perform): Some debugging items that may be handy. | ||||
* | * curl-shim.h, curl-shim.c, gpgkeys_hkp.c: Rename curl_escape() to | David Shaw | 2007-01-16 | 4 | -7/+12 |
| | | | | | curl_easy_escape() to match cURL. | ||||
* | * gpgkeys_hkp.c (send_key): Allow GPG to send any armored key line | David Shaw | 2007-01-16 | 2 | -20/+29 |
| | | | | | length without problems. Reported by Felix von Leitner. | ||||
* | * ksutil.c (classify_ks_search): Try and recognize a key ID even | David Shaw | 2006-12-04 | 2 | -4/+22 |
| | | | | | | | without the 0x prefix. This isn't exact (it's possible that a user ID string happens to be 8 or 16 digits of hex), but it's extremely unlikely. Plus GPG itself makes the same assumption. | ||||
* | * gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be present | David Shaw | 2006-12-03 | 2 | -0/+11 |
| | | | | | when searching by keyID. | ||||
* | * gpgkeys_hkp.c (curl_mrindex_writer): Revert previous change. | David Shaw | 2006-11-06 | 2 | -5/+8 |
| | | | | | 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 | 2 | -1/+9 |
| | | | | | coming back from a MR hkp query. | ||||
* | Move strsep() and ascii_isspace() to libcompat. | David Shaw | 2006-09-28 | 1 | -1/+1 |
| | |||||
* | Put in the basic wiring (just hextobyte for now) for a libcompat.a that | David Shaw | 2006-09-28 | 5 | -29/+7 |
| | | | | | | | can contain replacement files that can be linked to keyserver helpers without bringing in the whole libutil.a. libutil.a contains a complete copy of libcompat.a so we only need to link to one of them. | ||||
* | * gpgkeys_ldap.c (build_attrs), ksutil.c (ks_toupper, ks_strcasecmp), | David Shaw | 2006-09-28 | 4 | -33/+10 |
| | | | | | | ksutil.h: Remove the need for strcasecmp as the field tags are always lowercase. | ||||
* | Allow to build w/o curl. | Werner Koch | 2006-09-26 | 8 | -11/+139 |
| | |||||
* | * Makefile.am: Fix missing include path for gpgkeys_finger (needs the | David Shaw | 2006-07-26 | 2 | -0/+7 |
| | | | | | | libcurl path, even though it doesn't use libcurl because of ksutil.c:curl_err_to_gpg_err(). Noted by Gilbert Fernandes. | ||||
* | * curl-shim.c (curl_easy_perform): Minor cleanup of proxy code. | David Shaw | 2006-07-21 | 2 | -5/+7 |
| | |||||
* | * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, | David Shaw | 2006-07-17 | 3 | -8/+14 |
| | | | | | | 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 | 3 | -11/+27 |
| | | | | | | Fix string matching problem when the ascii armored form of the key happens to match "KEY" at the beginning of the line. | ||||
* | * gpgkeys_ldap.c (printquoted), curl-shim.c (curl_escape): Fix bad | David Shaw | 2006-07-12 | 3 | -2/+7 |
| | | | | | encoding of characters > 127. Noted by Nalin Dahyabhai. | ||||
* | * configure.ac: Fix resolver autoconf code so it works (fails) | David Shaw | 2006-07-08 | 1 | -2/+2 |
| | | | | | properly with uClibc. | ||||
* | * gpgkeys_http.c, gpgkeys_oldhkp.c: Removed. | David Shaw | 2006-04-26 | 3 | -1567/+2 |
| | |||||
* | * Makefile.am: Don't build gpgkeys_http or gpgkeys_(old)hkp any longer as | David Shaw | 2006-04-26 | 6 | -30/+21 |
| | | | | | | | | 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_ldap.c (ldap_quote, get_name, search_key): LDAP-quote | David Shaw | 2006-04-11 | 2 | -47/+13 |
| | | | | | directly into place rather than mallocing temporary buffers. | ||||
* | * gpgkeys_ldap.c (get_name): Build strings with strcat rather than | David Shaw | 2006-04-11 | 2 | -8/+22 |
| | | | | | using sprintf which is harder to read and modify. | ||||
* | * ksutil.h, ksutil.c (classify_ks_search): Add KS_SEARCH_KEYID_SHORT | David Shaw | 2006-04-11 | 4 | -15/+108 |
| | | | | | | | | and KS_SEARCH_KEYID_LONG to search for a key ID. * gpgkeys_ldap.c (search_key): Use it here to flip from pgpUserID searches to pgpKeyID or pgpCertID. | ||||
* | * gpgkeys_ldap.c: #define LDAP_DEPRECATED for newer OpenLDAPs so they use | David Shaw | 2006-03-27 | 2 | -0/+8 |
| | | | | | the regular old API that is compatible with other LDAP libraries. | ||||
* | * gpgkeys_ldap.c (main): Fix build problem with non-OpenLDAP LDAP | David Shaw | 2006-03-03 | 2 | -5/+15 |
| | | | | | libraries that have TLS. |