aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-12-14Prepared for last 1.4 release candidateWerner Koch2-9/+6
2004-12-03* Makefile.am: The harmless "ignored error" on gpgkeys_ldap install on topDavid Shaw2-1/+7
of an existing install is bound to confuse people. Use ln -s -f to force the overwrite.
2004-10-28* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.David Shaw2-1/+5
2004-10-28Inlcude LIBICONVWerner Koch2-4/+15
2004-10-18* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead ofDavid Shaw2-4/+8
"x-hkp" so it can be used as a SRV tag.
2004-10-16* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.David Shaw2-1/+5
2004-10-15* gpgkeys_ldap.c (main, show_help): Kludge to implement standardWerner Koch7-14/+137
GNU options. Factored help printing out. * gpgkeys_finger.c (main, show_help): Ditto. * gpgkeys_hkp.c (main, show_help): Ditto. * gpgkeys_http.c (main, show_help): Ditto. * gpgkeys_test.in, gpgkeys_mailto.in: Implement --version and --help.
2004-10-15* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.Werner Koch2-4/+8
(AUTOMAKE_OPTIONS): New. * configure.ac: Check whether vasprintf needs a replacement. * app-openpgp.c (parse_login_data): New. (app_select_openpgp): Call it. (do_setattr): Reparse it after change. * Makefile.am: Add ksutil.h.
2004-10-14* gpgkeys_finger.c (main): We do not support relay fingering (i.e.David Shaw2-0/+14
"finger://relayhost/[email protected]"), but finger URLs are occasionally miswritten that way. Give an error in this case.
2004-10-14* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allowWerner Koch2-1/+6
logging. * gpgkeys_finger.c (get_key): s/unsigned char/byte/ due to a strange typedef for RISC OS. Noted by Stefan.
2004-10-13* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c (main),David Shaw8-10/+194
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.
2004-10-11* gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Fix aDavid Shaw5-13/+18
few occurances of "filename" to `filename'.
2004-10-11Oops commited binary instead of source.Werner Koch2-0/+550
2004-10-11* configure.ac: New option --disable-finger.Werner Koch3-2/+7
* keyserver.c (keyserver_spawn): Print an empty string in log_info if the host is not set (e.g. finger). * gpgkeys_finger.c: New.
2004-08-27change back skey to unsigned and cast insteadStefan Bellon2-2/+5
2004-08-27fix type incompatibilityStefan Bellon2-8/+13
2004-08-23* gpgkeys_ldap.c (get_key, search_key), gpgkeys_hkp.c (get_key,David Shaw4-18/+4
search_key), gpgkeys_http.c (get_key): Do not give informational logs since this is now done inside gpg.
2004-08-23* gpgkeys_hkp.c (dehtmlize): Understand the quote character (i.e.David Shaw2-7/+21
""") in HTML responses. (search_key): Search key must be unsigned for url encoder to work properly for 8-bit values.
2004-08-23* gpgkeys_ldap.c (get_key): Factor out informational display into newDavid Shaw2-74/+81
function build_info().
2004-08-23* gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings thatDavid Shaw2-0/+7
got shrunk due to encoding.
2004-08-23* gpgkeys_ldap.c (find_basekeyspacedn): Use LDAP_SCOPE_BASE along with aDavid Shaw2-7/+33
full DN rather than LDAP_SCOPE_ONELEVEL plus a filter to find the pgpServerInfo object. Some LDAP setups don't like the search. (main): Stop binding to the server since it seems no server really requires it, and some require it not be there.
2004-07-29* gpgkeys_ldap.c (main): Add "debug" option. This is only really usefulDavid Shaw2-11/+68
with OpenLDAP, but it's practically vital to debug SSL and TLS setups. Add "basedn" option. This allows users to override the autodetection for base DN. SSL overrides TLS, so TLS will not be started on SSL connections (starting an already started car).
2004-07-28* gpgkeys_ldap.c (build_attrs): Add "pgpKeySize" and "pgpSubKeyID"David Shaw2-2/+48
attributes so we can do subkey searches. * gpgkeys_ldap.c (main): Under certain error conditions, we might try and unbind twice. Don't.
2004-07-28* gpgkeys_ldap.c (join_two_modlists): New. (send_key): Use new function soDavid Shaw2-19/+70
we can try a modify operation first, and fail over to an add if that fails. Add cannot cope with the NULLs at the head of the modify request, so we jump into the list in the middle.
2004-07-28* gpgkeys_ldap.c (main): Don't try and error out before making a ldapsDavid Shaw2-28/+27
connection to the NAI keyserver since we cannot tell if it is a NAI keyserver until we connect. Fail if we cannot find a base keyspace DN. Fix a false success message for TLS being enabled.
2004-07-27* configure.ac (AM_GNU_GETTEXT_VERSION): New.Werner Koch2-0/+12
(min_automake_version): New. * LINGUAS: Added all languages we supported in 1.2.5. Copied all po files from 1.2.5. * autogen.sh: Updated to the modern version, grepping the required tool versions from configure.ac.
2004-05-26* gpgkeys_http.c: General polish and removal of leftover stuff fromDavid Shaw2-31/+26
gpgkeys_hkp.c.
2004-05-22* gpgkeys_http.c (get_key): Cosmetic fix - make sure that URLs with noDavid Shaw2-4/+7
path use a path of "/".
2004-05-21* gpgkeys_ldap.c (ldap2epochtime): We can always rely on timegm() beingDavid Shaw2-22/+8
available now, since it's a replacement function.
2004-05-20* gpgkeys_http.c: New program to do a simple HTTP file fetch using theDavid Shaw3-2/+391
keyserver interface. * Makefile.am: Build it.
2004-02-28* Makefile.am: Don't split LDADD across two lines since some make programsDavid Shaw2-4/+8
can't handle blank lines after a \ continuation. Noted by Christoph Moench-Tegeder.
2004-02-26* gpgkeys_ldap.c (send_key): List pgpCertID as one of the deletedDavid Shaw2-8/+18
attributes. This guarantees that if something goes wrong, we won't be able to complete the transaction, thus leaving any key already existing on the server intact.
2004-02-24* gpgkeys_ldap.c (delete_one_attr): Removed. (make_one_attr): DeleteDavid Shaw2-79/+83
functionality added. Optional deduping functionality added (currently only used for pgpSignerID). (build_attrs): Translate sig entries into pgpSignerID. Properly build the timestamp for pgpKeyCreateTime and pgpKeyExpireTime.
2004-02-23* gpgkeys_ldap.c (delete_one_attr): New function to replace attributesDavid Shaw2-9/+65
with NULL (a "delete" that works even for nonexistant attributes). (send_key): Use it here to remove attributes so a modify operation starts with a clean playing field. Bias sends to modify before add, since (I suspect) people update their existing keys more often than they make and send new keys to the server.
2004-02-22* gpgkeys_ldap.c (epoch2ldaptime): New. Converse of ldap2epochtime.David Shaw2-57/+534
(make_one_attr): New. Build a modification list in memory to send to the LDAP server. (build_attrs): New. Parse INFO lines sent over by gpg. (free_mod_values): New. Unwinds a modification list. (send_key_keyserver): Renamed from old send_key(). (send_key): New function to send a key to a LDAP server. (main): Use send_key() for real LDAP servers, send_key_keyserver() otherwise.
2004-02-20* gpgkeys_ldap.c: Replacement prototypes for setenv and unsetenv.David Shaw3-37/+64
(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 notDavid Shaw2-10/+40
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 toDavid Shaw3-12/+144
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 whatDavid Shaw2-63/+132
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_NUMBERDavid Shaw3-6/+14
is defined before we use it. * gpgkeys_mailto.in: Fix VERSION number.
2004-01-13(send_key): Add a content type.Werner Koch2-0/+8
2004-01-12* gpgkeys_hkp.c (search_key): Catch a mangled input file (useful ifDavid Shaw3-5/+22
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 thatDavid Shaw2-13/+37
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-28cleaned up RISC OS code and removed lots of unnecessary stuffStefan Bellon3-16/+5
2003-11-27(get_key): Fixed invalid use of fprintf withoutWerner Koch2-2/+7
format string.
2003-10-25(gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL.Werner Koch2-1/+6
2003-07-10* Makefile.am: Use W32LIBS where appropriate.David Shaw2-2/+6
2003-05-31* gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is available.David Shaw4-5/+24
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 onDavid Shaw2-1/+8
some platforms.
2003-03-11* gpgkeys_hkp.c (get_key): Properly handle CRLF line endings in theDavid Shaw3-3/+28
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.