aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver protocolDavid Shaw2002-11-183-2/+7
| | | | | version.
* * gpgkeys_ldap.c (get_key): The deduping code requires "pgpcertid", butDavid Shaw2002-11-142-2/+11
| | | | | that was not available when running without verbose on. Noted by Stefan.
* * gpgkeys_ldap.c (get_key): Fix typo in deduping code.David Shaw2002-11-102-1/+5
|
* * gpgkeys_ldap.c (key_in_keylist, add_key_to_keylist, free_keylist,David Shaw2002-11-052-198/+292
| | | | | | | 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.
* * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle anDavid Shaw2002-11-043-16/+21
| | | | | input file that does not include any key data at all.
* * gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to outputDavid Shaw2002-10-243-2/+17
| | | | | protocol and program version.
* * Makefile.am: Anything linking with libutil.a needs INTLLIBS as well onDavid Shaw2002-10-212-2/+7
| | | | | platforms where INTLLIBS is set.
* * gpgkeys_hkp.c (write_quoted): Use %-encoding instead of \-encoding.David Shaw2002-10-142-99/+131
| | | | | | (parse_hkp_index): Use new keyserver key listing format, and add support for disabled keys via include-disabled.
* * gpgkeys_ldap.c (get_key): Don't print keysize unless it's >0.David Shaw2002-10-142-55/+68
| | | | | | (printquoted): Use %-encoding instead of \-encoding. (search_key): Use new keyserver key listing format.
* * gpgkeys_ldap.c (search_key, main): Make sure LDAP values are freed inDavid Shaw2002-10-092-6/+11
| | | | | case of error.
* * gpgkeys_ldap.c (fail_all): New function to unwind a keylist and errorDavid Shaw2002-10-093-6/+85
| | | | | | | | | | | | 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.
* From stable branchDavid Shaw2002-09-272-8/+7
| | | | | * gpgkeys_ldap.c (send_key): Removed non-constant initializers.
* * gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key, get_key,David Shaw2002-09-242-34/+103
| | | | | | search_key, main): Some minor error reporting enhancements for use with GPA (show reasons for KEY FAILED).
* * gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor errorDavid Shaw2002-09-242-35/+49
| | | | | reporting enhancements for use with GPA.
* * gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoidWerner Koch2002-09-202-2/+7
| | | | | shadowing warning.
* * gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): ProperlyDavid Shaw2002-09-192-5/+17
| | | | | handle line truncation.
* * gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax soDavid Shaw2002-09-163-6/+43
| | | | | | | | 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.
* * gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request aDavid Shaw2002-09-132-42/+72
| | | | | | machine-readable key index. If the server supports this, pass it through. If the server does not support it, parse the "index" page.
* updated RISC OS stuffStefan Bellon2002-09-122-0/+12
|
* * gpgkeys_hkp.c (main): Remove warning - this is no longer experimentalDavid Shaw2002-09-122-3/+5
| | | | | code.
* * gpgkeys_hkp.c (send_key, get_key, search_key): Check returnWerner Koch2002-09-102-12/+40
| | | | | | | | 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.
* * gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't likeDavid Shaw2002-09-092-8/+6
| | | | | using variables as array initializers.
* * gpgkeys_hkp.c (send_key): Use CRLF in headers.David Shaw2002-09-092-1/+5
|
* * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms.David Shaw2002-08-282-6/+5
| | | | | This was probably leftover from earlier code where the typing mattered.
* * gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be consistent inDavid Shaw2002-08-282-55/+53
| | | | | | m_alloc and malloc usage. Remove include-disabled (meaningless on HKP). RISC OS tweak.
* * gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs.David Shaw2002-08-273-369/+257
|
* * gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings.David Shaw2002-08-272-3/+5
|
* * gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan. Include aDavid Shaw2002-08-272-0/+39
| | | | | | replacement for hstrerror() for those platforms (such as RISC OS) that don't have it.
* * Makefile.am: May as well include gpgkeys_hkp.c in the distribution now.David Shaw2002-08-262-3/+5
| | | | | | It works well enough without proxies, and isn't built by default. It would be good to get some test experience with it.
* * gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn'tDavid Shaw2002-08-262-4/+10
| | | | | unsupported, it's actually non-meaningful in the context of HKP (yet).
* * gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality intoDavid Shaw2002-08-262-73/+104
| | | | | | | 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).
* * gpgkeys_hkp.c (get_key, parse_hkp_index): Bring over latest code fromDavid Shaw2002-08-193-12/+20
| | | | | | | | g10/hkp.c. * gpgkeys_ldap.c (get_key): Fix cosmetic URL display problem (extra ":" at the end).
* RISC OS changes due to dynload removalStefan Bellon2002-08-032-2/+10
|
* * gpgkeys_hkp.c: "Warning" -> "WARNING"David Shaw2002-07-252-1/+5
|
* * Makefile.am: Install keyserver helpers in @GNUPG_LIBEXECDIR@David Shaw2002-07-242-2/+7
|
* * gpgkeys_ldap.c (send_key, get_key, main): Consult the server versionDavid Shaw2002-07-152-10/+33
| | | | | string to determine whether to use pgpKey or pgpKeyV2.
* * gpgkeys_mailto.in: Use new OPAQUE tag for non net-path URIs. Fail moreDavid Shaw2002-07-092-7/+26
| | | | | | | | | | elegantly if there is no email address to send to. Show the GnuPG version in the message body. ---------------------------------------------------------------------- gpgkeys_mailto.in CVS: ----------------------------------------------------------------------
* * gpgkeys_ldap.c (get_key), gpgkeys_hkp.c (get_key): Display keyserver URIDavid Shaw2002-07-043-6/+13
| | | | | as a URI, but only if verbose.
* * gpgkeys_hkp.c (parse_hkp_index): Error if the keyserver returns anDavid Shaw2002-07-013-13/+48
| | | | | | | | | | | unparseable HKP response. * gpgkeys_hkp.c (main): Warn on honor-http-proxy, broken-http-proxy, and include-subkeys (not supported yet). * gpgkeys_ldap.c (main), gpgkeys_hkp.c (http_connect, main): Fix some shadowing warnings.
* Update head to match stable 1.0David Shaw2002-06-296-0/+2362