aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/ksutil.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-04-23w32: Almost everywhere include winsock2.h before windows.h.Werner Koch1-3/+6
-- This is required by newer mingw toolchain versions which demand that winsock2.h is included before windows.h. Now, due to the use of socket definitions in pth.h we need to include winsock2.h also in pth.h, now pth.h is often included after an include of windows.h and thus the compiler spits out a warning. To avoid that we include winsock2.h at all places the compiler complains about.
2009-08-26Expand a ~ in the ca-cert-file argument.Werner Koch1-1/+2
2008-04-21W32 related keyserver fixes.Werner Koch1-0/+20
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-09-22Clarified cURL and OpenLDAP license issues.Werner Koch1-0/+63
Made readline support work.
2006-06-30Added keyserver directory from trunkWerner Koch1-0/+540
2006-04-26* Makefile.am: Don't build gpgkeys_http or gpgkeys_(old)hkp any longer asDavid Shaw1-5/+1
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.
2006-04-11* ksutil.h, ksutil.c (classify_ks_search): Add KS_SEARCH_KEYID_SHORTDavid Shaw1-2/+20
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.
2006-02-23* ksutil.c (init_ks_options): Default include-revoked and include-subkeysDavid Shaw1-0/+2
to on, as gpg isn't doing this any longer.
2005-12-23* ksutil.h, ksutil.c (parse_ks_options): New keyserver command "getname".David Shaw1-0/+3
* gpgkeys_hkp.c (main, get_name), gpgkeys_ldap.c (main, get_name): Use it here to do direct name (rather than key ID) fetches.
2005-12-19* ksutil.h, ksutil.c (curl_armor_writer, curl_writer,David Shaw1-33/+125
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.
2005-12-07* ksutil.c (curl_err_to_gpg_err): Add CURLE_OK and CURLE_COULDNT_CONNECT.David Shaw1-1/+4
* gpgkeys_curl.c (get_key): Give key-not-found error if no data is found (or file itself is not found) during a fetch.
2005-08-26* ksutil.h, ksutil.c (parse_ks_options): Remove exact-name andDavid Shaw1-21/+21
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.
2005-08-18* ksutil.h, ksutil.c (parse_ks_options): New keyserver-option exact-name. David Shaw1-1/+14
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.
2005-08-18* ksutil.h, ksutil.c (parse_ks_options): New keyserver-optionDavid Shaw1-0/+8
exact-email. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here to do an email-only search.
2005-07-20* gpgkeys_curl.c (get_key, main): Don't try and be smart about whatDavid Shaw1-0/+1
protocols we handle. Directly pass them to curl or fake-curl and see if an error comes back. * curl-shim.h, curl-shim.c (handle_error), ksutil.c (curl_err_to_gpg_err): Add support for CURLE_UNSUPPORTED_PROTOCOL in fake curl. * Makefile.am: Don't need -DFAKE_CURL any longer since it's in config.h.
2005-06-05* ksutil.c (init_ks_options, parse_ks_options): Provide a default "/"David Shaw1-0/+12
path unless overridden by the config. Allow config to specify items multiple times and take the last specified item.
2005-06-01* ksutil.c [HAVE_DOSISH_SYSTEM]: Fix warnings on mingw32. Noted by JoeDavid Shaw1-8/+9
Vender.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2005-05-04* ksutil.h, ksutil.c: #ifdef so we can build without libcurl orDavid Shaw1-2/+7
fake-curl.
2005-04-17* ksutil.h, ksutil.c (curl_writer), gpgkeys_curl.c (get_key): Pass aDavid Shaw1-16/+21
context to curl_writer so we can support multiple fetches in a single session.
2005-04-16* gpgkeys_curl.c (main): If the http-proxy option is given without anyDavid Shaw1-0/+66
arguments, try to get the proxy from the environment. * ksutil.h, ksutil.c (curl_err_to_gpg_err, curl_writer): Copy from gpgkeys_curl.c. * gpgkeys_oldhkp.c: Copy from gpgkeys_hkp.c.
2005-03-22* gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved fromDavid Shaw1-0/+18
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.
2005-03-17* ksutil.c (parse_ks_options): Handle verbose=nnn.David Shaw1-2/+5
* Makefile.am: Calculate GNUPG_LIBEXECDIR directly. Do not redefine $libexecdir.
2005-03-17* gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_ldap.c: Start usingDavid Shaw1-0/+12
parse_ks_options and remove a lot of common code. * ksutil.h, ksutil.c (parse_ks_options): Parse OPAQUE, and default debug with no arguments to 1.
2005-03-16* ksutil.h, ksutil.c (ks_action_to_string): New. (free_ks_options): OnlyDavid Shaw1-12/+24
free if options exist.
2005-03-16* ksutil.h, ksutil.c (init_ks_options, free_ks_options,David Shaw1-1/+207
parse_ks_options): Pull a lot of duplicated code into a single options parser for all keyserver helpers.
2004-10-13* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),David Shaw1-32/+33
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.
2003-05-24* bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c,David Shaw1-4/+3
rijndael.c, rndunix.c, sha256.c, cast5.c, idea-stub.c, rmd160.c, rndw32.c, sha512.c, md5.c, rmd160test.c, rsa.c, tiger.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-63/+0
'GNUPG-1-9-BRANCH'.
2002-06-29Update head to match stable 1.0David Shaw1-11/+35
2002-04-15* cryptmiss.c: New.Werner Koch1-5/+12
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-59/+0
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
2001-11-13We have reached a state where we are able to import certs andWerner Koch1-2/+52
check the certification path.
2001-11-07Implemented server main loop and started with import command.Werner Koch1-3/+17
2001-11-07Assuan server mode is now basically usableWerner Koch1-19/+2
2001-11-06First chunk of code for the Assuan libraryWerner Koch1-8/+22
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-1/+1
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-3/+3
1999-03-20See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-19See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-16See ChangeLog: Sat Jan 16 09:27:30 CET 1999 Werner KochWerner Koch1-20/+6
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+3
1998-07-06intermediate releaseWerner Koch1-9/+21
1998-06-16some more internall structure changesWerner Koch1-4/+4
1997-12-16added some stuff for signing keysWerner Koch1-0/+1
1997-11-18initially checkinWerner Koch1-0/+29