Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2004-02-20 | * gpgkeys_ldap.c: Replacement prototypes for setenv and unsetenv. | David Shaw | 1 | -0/+11 | |
(search_key): Catch a SIZELIMIT_EXCEEDED error and show the user whatever the server did give us. (find_basekeyspacedn): There is no guarantee that namingContexts will be readable. * Makefile.am: Link gpgkeys_ldap with libutil.a to get the replacement functions (and eventually translations, etc). | |||||
2004-02-19 | * gpgkeys_ldap.c (ldap2epochtime): LDAP timestamps are UTC, so do not | David Shaw | 1 | -0/+6 | |
correct for timezones. (main): Find the basekeyspacedn before we try to start TLS, so we can give a better error message when a user tries to use TLS with a LDAP keyserver. | |||||
2004-02-19 | * Makefile.am: Add automake conditionals to symlink gpgkeys_ldaps to | David Shaw | 1 | -0/+8 | |
gpgkeys_ldap when needed. * gpgkeys_ldap.c (main): Add support for LDAPS and TLS connections. These are only useful and usable when talking to real LDAP keyservers. Add new "tls" option to tune TLS use from off, to try quietly, to try loudly, or to require TLS. | |||||
2004-02-19 | * gpgkeys_ldap.c (find_basekeyspacedn): New function to figure out what | David Shaw | 1 | -0/+8 | |
kind of LDAP server we're talking to (either real LDAP or the LDAP keyserver), and return the baseKeySpaceDN to find keys under. (main): Call it from here, and remove the old code that only handled the LDAP keyserver. | |||||
2004-02-18 | * gpgkeys_ldap.c (ldap_to_gpg_err): Make sure that LDAP_OPT_ERROR_NUMBER | David Shaw | 1 | -4/+12 | |
is defined before we use it. * gpgkeys_mailto.in: Fix VERSION number. | |||||
2004-01-13 | (send_key): Add a content type. | Werner Koch | 1 | -0/+4 | |
2004-01-12 | * gpgkeys_hkp.c (search_key): Catch a mangled input file (useful if | David Shaw | 1 | -0/+9 | |
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. | |||||
2003-12-28 | * gpgkeys_hkp.c (send_key, get_key, main): Work with new HTTP code that | David Shaw | 1 | -0/+7 | |
passes the proxy in from the outside. If the command file sends a proxy, use it. If it sends "http-proxy" with no arguments, use $http_proxy from the environment. | |||||
2003-12-28 | cleaned up RISC OS code and removed lots of unnecessary stuff | Stefan Bellon | 1 | -0/+5 | |
2003-11-27 | (get_key): Fixed invalid use of fprintf without | Werner Koch | 1 | -0/+5 | |
format string. | |||||
2003-10-25 | (gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL. | Werner Koch | 1 | -0/+4 | |
2003-07-10 | * Makefile.am: Use W32LIBS where appropriate. | David Shaw | 1 | -0/+4 | |
2003-05-31 | * gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is available. | David Shaw | 1 | -0/+10 | |
Also include extern references for optarg and optind since there is no guarantee that any header file will include them. Standards? We don't need no stinkin' standards * Makefile.am: Use @GETOPT@ to pull in libiberty on those platforms that need it. | |||||
2003-04-09 | * gpgkeys_hkp.c (dehtmlize, parse_hkp_index): Fix memory corruption bug on | David Shaw | 1 | -0/+5 | |
some platforms. | |||||
2003-03-11 | * gpgkeys_hkp.c (get_key): Properly handle CRLF line endings in the | David Shaw | 1 | -0/+10 | |
armored key. (main): Accept "try-dns-srv" option. * Makefile.am: Use @CAPLIBS@ to link in -lcap if we are using capabilities. Use @SRVLIBS@ to link in the resolver if we are using DNS SRV. | |||||
2003-02-12 | * Makefile.am: Use a local copy of libexecdir along with @PACKAGE@ so it | David Shaw | 1 | -0/+5 | |
can be easily overridden at make time. | |||||
2003-01-29 | * gpgkeys_mailto.in: Fix regexp to work properly if the "keyid" is not a | David Shaw | 1 | -0/+5 | |
keyid, but rather a text string from the user ID. | |||||
2003-01-06 | * gpgkeys_hkp.c (get_key): Use options=mr when getting a key so keyserver | David Shaw | 1 | -0/+6 | |
doesn't attach the HTML header which we will just have to discard. | |||||
2002-11-18 | * gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver protocol | David Shaw | 1 | -0/+5 | |
version. | |||||
2002-11-14 | * gpgkeys_ldap.c (get_key): The deduping code requires "pgpcertid", but | David Shaw | 1 | -0/+6 | |
that was not available when running without verbose on. Noted by Stefan. | |||||
2002-11-10 | * gpgkeys_ldap.c (get_key): Fix typo in deduping code. | David Shaw | 1 | -0/+4 | |
2002-11-05 | * gpgkeys_ldap.c (key_in_keylist, add_key_to_keylist, free_keylist, | David Shaw | 1 | -0/+7 | |
get_key, search_key): The LDAP keyserver doesn't remove duplicates, so remove them locally. Do not include the key modification time in the search response. | |||||
2002-11-04 | * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle an | David Shaw | 1 | -0/+5 | |
input file that does not include any key data at all. | |||||
2002-10-24 | * gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to output | David Shaw | 1 | -0/+5 | |
protocol and program version. | |||||
2002-10-21 | * Makefile.am: Anything linking with libutil.a needs INTLLIBS as well on | David Shaw | 1 | -0/+5 | |
platforms where INTLLIBS is set. | |||||
2002-10-19 | This commit was manufactured by cvs2svn to create branch | Repo Admin | 1 | -291/+0 | |
'GNUPG-1-9-BRANCH'. | |||||
2002-10-14 | * gpgkeys_hkp.c (write_quoted): Use %-encoding instead of \-encoding. | David Shaw | 1 | -0/+5 | |
(parse_hkp_index): Use new keyserver key listing format, and add support for disabled keys via include-disabled. | |||||
2002-10-14 | * gpgkeys_ldap.c (get_key): Don't print keysize unless it's >0. | David Shaw | 1 | -0/+6 | |
(printquoted): Use %-encoding instead of \-encoding. (search_key): Use new keyserver key listing format. | |||||
2002-10-09 | * gpgkeys_ldap.c (search_key, main): Make sure LDAP values are freed in | David Shaw | 1 | -0/+3 | |
case of error. | |||||
2002-10-09 | * gpgkeys_ldap.c (fail_all): New function to unwind a keylist and error | David Shaw | 1 | -0/+14 | |
each item. (main): Call fail_all from here, as needed. Also add a NO_MEMORY error in an appropriate place and fix error return code. (ldap_err_to_gpg_err): Add KEYSERVER_UNREACHABLE. * gpgkeys_hkp.c (fail_all): New function to unwind a keylist and error each item. (main): Call fail_all from here. Also add a NO_MEMORY error in an appropriate place. (get_key): Use new UNREACHABLE error for network errors. | |||||
2002-09-27 | From stable branch | David Shaw | 1 | -0/+4 | |
* gpgkeys_ldap.c (send_key): Removed non-constant initializers. | |||||
2002-09-24 | * gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key, get_key, | David Shaw | 1 | -1/+6 | |
search_key, main): Some minor error reporting enhancements for use with GPA (show reasons for KEY FAILED). | |||||
2002-09-24 | * gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor error | David Shaw | 1 | -0/+5 | |
reporting enhancements for use with GPA. | |||||
2002-09-20 | * gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid | Werner Koch | 1 | -0/+5 | |
shadowing warning. | |||||
2002-09-19 | * gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): Properly | David Shaw | 1 | -0/+5 | |
handle line truncation. | |||||
2002-09-16 | * gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax so | David Shaw | 1 | -0/+8 | |
people can set their own email address to respond to. * gpgkeys_hkp.c (get_key): Properly respond with KEY FAILED (to gpg) and "key not found" (to user) on failure. | |||||
2002-09-13 | * gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request a | David Shaw | 1 | -0/+7 | |
machine-readable key index. If the server supports this, pass it through. If the server does not support it, parse the "index" page. | |||||
2002-09-12 | updated RISC OS stuff | Stefan Bellon | 1 | -0/+4 | |
2002-09-12 | * gpgkeys_hkp.c (main): Remove warning - this is no longer experimental | David Shaw | 1 | -0/+5 | |
code. | |||||
2002-09-10 | * gpgkeys_hkp.c (send_key, get_key, search_key): Check return | Werner Koch | 1 | -1/+9 | |
value of malloc. (dehtmlize): Use ascii_tolower to protect against weird locales. Cast the argument for isspace for the sake of broken HP/UXes. (search_key): Check return value of realloc. | |||||
2002-09-09 | * gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't like | David Shaw | 1 | -0/+3 | |
using variables as array initializers. | |||||
2002-09-09 | * gpgkeys_hkp.c (send_key): Use CRLF in headers. | David Shaw | 1 | -0/+4 | |
2002-08-28 | * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms. | David Shaw | 1 | -0/+4 | |
This was probably leftover from earlier code where the typing mattered. | |||||
2002-08-28 | * gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be consistent in | David Shaw | 1 | -0/+6 | |
m_alloc and malloc usage. Remove include-disabled (meaningless on HKP). RISC OS tweak. | |||||
2002-08-27 | * gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs. | David Shaw | 1 | -0/+2 | |
2002-08-27 | * gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings. | David Shaw | 1 | -0/+2 | |
2002-08-27 | * gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan. Include a | David Shaw | 1 | -0/+6 | |
replacement for hstrerror() for those platforms (such as RISC OS) that don't have it. | |||||
2002-08-26 | * Makefile.am: May as well include gpgkeys_hkp.c in the distribution now. | David Shaw | 1 | -0/+5 | |
It works well enough without proxies, and isn't built by default. It would be good to get some test experience with it. | |||||
2002-08-26 | * gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn't | David Shaw | 1 | -0/+4 | |
unsupported, it's actually non-meaningful in the context of HKP (yet). | |||||
2002-08-26 | * gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality into | David Shaw | 1 | -0/+8 | |
new "dehtmlize" function. Remove HTML before trying to parse each line from the keyserver. If the keyserver provides key type information in the listing, use it. (Copy over from g10/hkp.c). |