aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/ksutil.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-21W32 related keyserver fixes.Werner Koch1-0/+5
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-09-22Clarified cURL and OpenLDAP license issues.Werner Koch1-3/+19
Made readline support work.
2006-06-30Added keyserver directory from trunkWerner Koch1-0/+130
2006-04-26* Makefile.am: Don't build gpgkeys_http or gpgkeys_(old)hkp any longer asDavid Shaw1-6/+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-1/+2
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.
2005-12-23* ksutil.h, ksutil.c (parse_ks_options): New keyserver command "getname".David Shaw1-2/+2
* 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-1/+13
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-08-26* ksutil.h, ksutil.c (parse_ks_options): Remove exact-name andDavid Shaw1-2/+4
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-0/+1
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/+1
exact-email. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here to do an email-only search.
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-05-02* gpgkeys_hkp.c, gpgkeys_oldhkp.c, ksutil.h: Some minor cleanup andDavid Shaw1-7/+5
comments as to the size of MAX_LINE and MAX_URL.
2005-04-17* ksutil.h, ksutil.c (curl_writer), gpgkeys_curl.c (get_key): Pass aDavid Shaw1-1/+9
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/+14
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/+1
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* gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_ldap.c: Start usingDavid Shaw1-0/+1
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-1/+4
free if options exist.
2005-03-16* ksutil.h, ksutil.c (init_ks_options, free_ks_options,David Shaw1-0/+25
parse_ks_options): Pull a lot of duplicated code into a single options parser for all keyserver helpers.
2005-02-01* ksutil.h: Up the default timeout to two minutes.David Shaw1-2/+2
2005-01-18* gpgkeys_curl.c: s/MAX_PATH/URLMAX_PATH/g to avoid a clash withWerner Koch1-2/+3
the W32 defined macro. Removed unneeded initialization of static variables. * gpgkeys_http.c: Ditto. * ksutil.h: s/MAX_PATH/URLMAX_PATH/.
2005-01-13* ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c,David Shaw1-1/+32
gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the various defines to ksutil.h.
2004-10-13* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),David Shaw1-26/+9
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-08-28* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c,David Shaw1-1/+1
ttyio.c, w32reg.c: s/__MINGW32__/_WIN32/ to help building on native Windows compilers. Requested by Brian Gladman. From Werner on stable branch. * http.c (connect_server): Oops - forgot to freeaddrinfo().
2003-05-31* srv.h, srv.c: Include windows.h with MINGW32.David Shaw1-0/+4
2003-04-13* srv.c (main): Test against wwwkeys.pgp.net.David Shaw1-1/+1
* srv.h: Grr. The RH7.3 Linux man page defines the fourth arg of dn_expand as unsigned char*, but it is really char* according to resolv.h.
2003-03-15* srv.h, srv.c (getsrv): Use unsigned char rather than char. Noted byDavid Shaw1-4/+4
Stefan Bellon.
2003-03-11* http.c (connect_server): Use DNS SRV to get a server list. Fail over toDavid Shaw1-20/+23
A records if necessary. * Makefile.am, srv.h, srv.c: New DNS SRV handling code.
2002-07-22* fseeko.c, ftello.c: New.Werner Koch1-9/+17
* configure.ac: Check for ftello and provide a replacement.
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