1
2005-01-09 David Shaw <dshaw@jabberwocky.com>
3
* gpgkeys_curl.c (get_key): Newer versions of libcurl don't define
6
2004-12-24 David Shaw <dshaw@jabberwocky.com>
8
* gpgkeys_curl.c (main): Use new defines for opting out of certain
9
transfer protocols. Allow setting HTTP proxy via "http-proxy=foo"
10
option (there is natural support in libcurl for the http_proxy
11
environment variable).
13
* Makefile.am: Remove the conditional since this is all handled in
16
2004-12-22 David Shaw <dshaw@jabberwocky.com>
18
* gpgkeys_curl.c (main): New "follow-redirects" option. Takes an
19
optional numeric value for the maximum number of redirects to
22
* gpgkeys_curl.c (main), gpgkeys_finger.c (main), gpgkeys_hkp.c
23
(main), gpgkeys_http.c (main), gpgkeys_ldap.c (main): Make sure
24
that a "timeout" option passed with no arguments is properly
27
* gpgkeys_curl.c (get_key, writer): New function to wrap around
28
fwrite to avoid DLL access problem on win32.
30
* gpgkeys_http.c (main, get_key): Properly pass authentication
31
info through to the http library.
33
* Makefile.am: Build gpgkeys_http or gpgkeys_curl as needed.
35
* gpgkeys_curl.c (main, get_key): Minor tweaks to work with either
38
* gpgkeys_ftp.c: renamed to gpgkeys_curl.c.
40
* gpgkeys_ftp.c (main, get_key): Use auth data as passed by gpg.
41
Use CURLOPT_FILE instead of CURLOPT_WRITEDATA (same option, but
42
backwards compatible).
44
2004-12-21 David Shaw <dshaw@jabberwocky.com>
48
* Makefile.am: Build it if requested.
50
2004-12-14 Werner Koch <wk@g10code.com>
52
* Makefile.am (install-exec-hook, uninstall-hook): Removed. For
53
Windows reasons we can't use the symlink trick.
55
2004-12-03 David Shaw <dshaw@jabberwocky.com>
57
* Makefile.am: The harmless "ignored error" on gpgkeys_ldap
58
install on top of an existing install is bound to confuse people.
59
Use ln -s -f to force the overwrite.
61
2004-10-28 David Shaw <dshaw@jabberwocky.com>
63
* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.
65
2004-10-28 Werner Koch <wk@g10code.com>
67
* Makefile.am (other_libs): New. Also include LIBICONV. Noted by
70
2004-10-28 Werner Koch <wk@g10code.com>
72
* Makefile.am (other_libs):
74
2004-10-18 David Shaw <dshaw@jabberwocky.com>
76
* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead
77
of "x-hkp" so it can be used as a SRV tag.
79
2004-10-16 David Shaw <dshaw@jabberwocky.com>
81
* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.
83
2004-10-15 Werner Koch <wk@g10code.com>
85
* gpgkeys_ldap.c (main, show_help): Kludge to implement standard
86
GNU options. Factored help printing out.
87
* gpgkeys_finger.c (main, show_help): Ditto.
88
* gpgkeys_hkp.c (main, show_help): Ditto.
89
* gpgkeys_http.c (main, show_help): Ditto.
90
* gpgkeys_test.in, gpgkeys_mailto.in: Implement --version and --help.
92
* Makefile.am: Add ksutil.h.
94
2004-10-14 David Shaw <dshaw@jabberwocky.com>
96
* gpgkeys_finger.c (main): We do not support relay fingering
97
(i.e. "finger://relayhost/user@example.com"), but finger URLs are
98
occasionally miswritten that way. Give an error in this case.
100
2004-10-14 Werner Koch <wk@g10code.com>
102
* gpgkeys_finger.c (get_key): s/unsigned char/byte/ due
103
to a strange typedef for RISC OS. Noted by Stefan.
105
2004-10-13 David Shaw <dshaw@jabberwocky.com>
107
* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main), gpgkeys_http.c
108
(main), gpgkeys_finger.c (main): Call timeout functions before
109
performing an action that could block for a long time.
111
* ksutil.h, ksutil.c: New. Right now just contains timeout
114
2004-10-11 David Shaw <dshaw@jabberwocky.com>
116
* gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c:
117
Fix a few occurances of "filename" to `filename'.
119
2004-10-11 Werner Koch <wk@g10code.com>
121
* gpgkeys_finger.c: New.
123
2004-08-27 Stefan Bellon <sbellon@sbellon.de>
125
* gpgkeys_hkp.c (search_key): Fix the prior faulty fix by
126
introducing a cast but leaving skey unsigned.
128
* gpgkeys_hkp.c (search_key): Change type of variable skey from
129
unsigned char* to char* to fix type incompatibility.
131
2004-08-23 David Shaw <dshaw@jabberwocky.com>
133
* gpgkeys_ldap.c (get_key, search_key), gpgkeys_hkp.c (get_key,
134
search_key), gpgkeys_http.c (get_key): Do not give informational
135
logs since this is now done inside gpg.
137
* gpgkeys_hkp.c (dehtmlize): Understand the quote character
138
(i.e. """) in HTML responses.
139
(search_key): Search key must be unsigned for url encoder to work
140
properly for 8-bit values.
142
* gpgkeys_ldap.c (get_key): Factor out informational display into
143
new function build_info().
145
* gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings
146
that got shrunk due to encoding.
148
2004-08-22 David Shaw <dshaw@jabberwocky.com>
150
* gpgkeys_ldap.c (find_basekeyspacedn): Use LDAP_SCOPE_BASE along
151
with a full DN rather than LDAP_SCOPE_ONELEVEL plus a filter to
152
find the pgpServerInfo object. Some LDAP setups don't like the
154
(main): Stop binding to the server since it seems no server really
155
requires it, and some require it not be there.
157
2004-07-29 David Shaw <dshaw@jabberwocky.com>
159
* gpgkeys_ldap.c (main): Add "debug" option. This is only really
160
useful with OpenLDAP, but it's practically vital to debug SSL and
161
TLS setups. Add "basedn" option. This allows users to override
162
the autodetection for base DN. SSL overrides TLS, so TLS will not
163
be started on SSL connections (starting an already started car).
165
2004-07-28 David Shaw <dshaw@jabberwocky.com>
167
* gpgkeys_ldap.c (build_attrs): Add "pgpKeySize" and "pgpSubKeyID"
168
attributes so we can do subkey searches.
170
* gpgkeys_ldap.c (main): Under certain error conditions, we might
171
try and unbind twice. Don't.
173
* gpgkeys_ldap.c (join_two_modlists): New.
174
(send_key): Use new function so we can try a modify operation
175
first, and fail over to an add if that fails. Add cannot cope
176
with the NULLs at the head of the modify request, so we jump into
177
the list in the middle.
179
2004-07-27 David Shaw <dshaw@jabberwocky.com>
181
* gpgkeys_ldap.c (main): Don't try and error out before making a
182
ldaps connection to the NAI keyserver since we cannot tell if it
183
is a NAI keyserver until we connect. Fail if we cannot find a
184
base keyspace DN. Fix a false success message for TLS being
187
2004-07-20 Werner Koch <wk@gnupg.org>
189
* gpgkeys_ldap.c [_WIN32]: Include Windows specific header files.
190
Suggested by Brian Gladman.
192
2004-05-26 David Shaw <dshaw@jabberwocky.com>
194
* gpgkeys_http.c: General polish and removal of leftover stuff
197
2004-05-21 David Shaw <dshaw@jabberwocky.com>
199
* gpgkeys_http.c (get_key): Cosmetic fix - make sure that URLs
200
with no path use a path of "/".
202
* gpgkeys_ldap.c (ldap2epochtime): We can always rely on timegm()
203
being available now, since it's a replacement function.
205
2004-05-20 David Shaw <dshaw@jabberwocky.com>
207
* gpgkeys_http.c: New program to do a simple HTTP file fetch using
208
the keyserver interface.
210
* Makefile.am: Build it.
212
2004-02-28 David Shaw <dshaw@jabberwocky.com>
214
* Makefile.am: Don't split LDADD across two lines since some make
215
programs can't handle blank lines after a \ continuation. Noted
216
by Christoph Moench-Tegeder.
218
2004-02-25 David Shaw <dshaw@jabberwocky.com>
220
* gpgkeys_ldap.c (send_key): List pgpCertID as one of the deleted
221
attributes. This guarantees that if something goes wrong, we
222
won't be able to complete the transaction, thus leaving any key
223
already existing on the server intact.
225
2004-02-23 David Shaw <dshaw@jabberwocky.com>
227
* gpgkeys_ldap.c (delete_one_attr): Removed.
228
(make_one_attr): Delete functionality added. Optional deduping
229
functionality added (currently only used for pgpSignerID).
230
(build_attrs): Translate sig entries into pgpSignerID. Properly
231
build the timestamp for pgpKeyCreateTime and pgpKeyExpireTime.
233
2004-02-22 David Shaw <dshaw@jabberwocky.com>
235
* gpgkeys_ldap.c (delete_one_attr): New function to replace
236
attributes with NULL (a "delete" that works even for nonexistant
238
(send_key): Use it here to remove attributes so a modify operation
239
starts with a clean playing field. Bias sends to modify before
240
add, since (I suspect) people update their existing keys more
241
often than they make and send new keys to the server.
243
2004-02-21 David Shaw <dshaw@jabberwocky.com>
245
* gpgkeys_ldap.c (epoch2ldaptime): New. Converse of
247
(make_one_attr): New. Build a modification list in memory to send
249
(build_attrs): New. Parse INFO lines sent over by gpg.
250
(free_mod_values): New. Unwinds a modification list.
251
(send_key_keyserver): Renamed from old send_key().
252
(send_key): New function to send a key to a LDAP server.
253
(main): Use send_key() for real LDAP servers, send_key_keyserver()
256
2004-02-20 David Shaw <dshaw@jabberwocky.com>
258
* gpgkeys_ldap.c: Replacement prototypes for setenv and unsetenv.
259
(search_key): Catch a SIZELIMIT_EXCEEDED error and show the user
260
whatever the server did give us.
261
(find_basekeyspacedn): There is no guarantee that namingContexts
264
* Makefile.am: Link gpgkeys_ldap with libutil.a to get the
265
replacement functions (and eventually translations, etc).
267
2004-02-19 David Shaw <dshaw@jabberwocky.com>
269
* gpgkeys_ldap.c (ldap2epochtime): LDAP timestamps are UTC, so do
270
not correct for timezones.
271
(main): Find the basekeyspacedn before we try to start TLS, so we
272
can give a better error message when a user tries to use TLS with
275
* Makefile.am: Add automake conditionals to symlink gpgkeys_ldaps
276
to gpgkeys_ldap when needed.
278
* gpgkeys_ldap.c (main): Add support for LDAPS and TLS
279
connections. These are only useful and usable when talking to
280
real LDAP keyservers. Add new "tls" option to tune TLS use from
281
off, to try quietly, to try loudly, or to require TLS.
283
* gpgkeys_ldap.c (find_basekeyspacedn): New function to figure out
284
what kind of LDAP server we're talking to (either real LDAP or the
285
LDAP keyserver), and return the baseKeySpaceDN to find keys under.
286
(main): Call it from here, and remove the old code that only
287
handled the LDAP keyserver.
289
2004-02-18 David Shaw <dshaw@jabberwocky.com>
291
* gpgkeys_ldap.c (ldap_to_gpg_err): Make sure that
292
LDAP_OPT_ERROR_NUMBER is defined before we use it.
294
* gpgkeys_mailto.in: Fix VERSION number.
296
2004-01-13 Werner Koch <wk@gnupg.org>
298
* gpgkeys_hkp.c (send_key): Add a content type.
300
2004-01-11 David Shaw <dshaw@jabberwocky.com>
302
* gpgkeys_hkp.c (search_key): Catch a mangled input file (useful
303
if something other than GnuPG is calling the program).
304
(main): Avoid possible pre-string write. Noted by Christian
307
* gpgkeys_ldap.c (main): Avoid possible pre-string write.
309
2003-12-28 David Shaw <dshaw@jabberwocky.com>
311
* gpgkeys_hkp.c (send_key, get_key, main): Work with new HTTP code
312
that passes the proxy in from the outside. If the command file
313
sends a proxy, use it. If it sends "http-proxy" with no
314
arguments, use $http_proxy from the environment. Suggested by
317
2003-12-28 Stefan Bellon <sbellon@sbellon.de>
319
* gpgkeys_hkp.c, gpgkeys_ldap.c [__riscos__]: Removal of
320
unnecessary #ifdef __riscos__ sections.
322
2003-11-27 Werner Koch <wk@gnupg.org>
324
* gpgkeys_hkp.c (get_key): Fixed invalid use of fprintf without
327
2003-10-25 Werner Koch <wk@gnupg.org>
329
* Makefile.am (gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL.
331
2003-07-10 David Shaw <dshaw@jabberwocky.com>
333
* Makefile.am: Use W32LIBS where appropriate.
335
2003-05-30 David Shaw <dshaw@jabberwocky.com>
337
* gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is
338
available. Also include extern references for optarg and optind
339
since there is no guarantee that any header file will include
340
them. Standards? We don't need no stinkin' standards.
342
* Makefile.am: Use @GETOPT@ to pull in libiberty on those
343
platforms that need it.
345
2003-04-08 David Shaw <dshaw@jabberwocky.com>
347
* gpgkeys_hkp.c (dehtmlize, parse_hkp_index): Fix memory
348
corruption bug on some platforms.
350
2003-03-11 David Shaw <dshaw@jabberwocky.com>
352
* gpgkeys_hkp.c (get_key): Properly handle CRLF line endings in
354
(main): Accept "try-dns-srv" option.
356
* Makefile.am: Use @CAPLIBS@ to link in -lcap if we are using
357
capabilities. Use @SRVLIBS@ to link in the resolver if we are
360
2003-02-11 David Shaw <dshaw@jabberwocky.com>
362
* Makefile.am: Use a local copy of libexecdir along with @PACKAGE@
363
so it can be easily overridden at make time.
365
2003-01-29 David Shaw <dshaw@jabberwocky.com>
367
* gpgkeys_mailto.in: Fix regexp to work properly if the "keyid" is
368
not a keyid, but rather a text string from the user ID.
370
2003-01-06 David Shaw <dshaw@jabberwocky.com>
372
* gpgkeys_hkp.c (get_key): Use options=mr when getting a key so
373
keyserver doesn't attach the HTML header which we will just have
376
2002-11-17 David Shaw <dshaw@jabberwocky.com>
378
* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver
381
2002-11-14 David Shaw <dshaw@jabberwocky.com>
383
* gpgkeys_ldap.c (get_key): The deduping code requires
384
"pgpcertid", but that was not available when running without
385
verbose on. Noted by Stefan.
387
2002-11-10 David Shaw <dshaw@jabberwocky.com>
389
* gpgkeys_ldap.c (get_key): Fix typo in deduping code.
391
2002-11-05 David Shaw <dshaw@jabberwocky.com>
393
* gpgkeys_ldap.c (key_in_keylist, add_key_to_keylist,
394
free_keylist, get_key, search_key): The LDAP keyserver doesn't
395
remove duplicates, so remove them locally. Do not include the key
396
modification time in the search response.
398
2002-11-04 David Shaw <dshaw@jabberwocky.com>
400
* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly
401
handle an input file that does not include any key data at all.
403
2002-10-24 David Shaw <dshaw@jabberwocky.com>
405
* gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to
406
output protocol and program version.
408
2002-10-21 David Shaw <dshaw@jabberwocky.com>
410
* Makefile.am: Anything linking with libutil.a needs INTLLIBS as
411
well on platforms where INTLLIBS is set.
413
2002-10-14 David Shaw <dshaw@jabberwocky.com>
415
* gpgkeys_hkp.c (write_quoted): Use %-encoding instead of
417
(parse_hkp_index): Use new keyserver key listing format, and add
418
support for disabled keys via include-disabled.
420
* gpgkeys_ldap.c (get_key): Don't print keysize unless it's >0.
421
(printquoted): Use %-encoding instead of \-encoding.
422
(search_key): Use new keyserver key listing format.
424
2002-10-08 David Shaw <dshaw@jabberwocky.com>
426
* gpgkeys_ldap.c (search_key, main): Make sure LDAP values are
427
freed in case of error.
429
* gpgkeys_ldap.c (fail_all): New function to unwind a keylist and
431
(main): Call fail_all from here, as needed. Also add a NO_MEMORY
432
error in an appropriate place and fix error return code.
433
(ldap_err_to_gpg_err): Add KEYSERVER_UNREACHABLE.
435
* gpgkeys_hkp.c (fail_all): New function to unwind a keylist and
437
(main): Call fail_all from here. Also add a NO_MEMORY error in an
439
(get_key): Use new UNREACHABLE error for network errors.
441
2002-09-26 Werner Koch <wk@gnupg.org>
443
* gpgkeys_ldap.c (send_key): Removed non-constant initializers.
445
2002-09-24 David Shaw <dshaw@jabberwocky.com>
447
* gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key,
448
get_key, search_key, main): Some minor error reporting
449
enhancements for use with GPA (show reasons for KEY FAILED).
451
* gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor
452
error reporting enhancements for use with GPA (show reasons for
455
2002-09-20 Werner Koch <wk@gnupg.org>
457
* gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid
460
2002-09-19 David Shaw <dshaw@jabberwocky.com>
462
* gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key):
463
Properly handle line truncation.
465
2002-09-16 David Shaw <dshaw@jabberwocky.com>
467
* gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from=
468
syntax so people can set their own email address to respond to.
470
* gpgkeys_hkp.c (get_key): Properly respond with KEY FAILED (to
471
gpg) and "key not found" (to user) on failure.
473
2002-09-13 David Shaw <dshaw@jabberwocky.com>
475
* gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and
476
request a machine-readable key index. If the server supports
477
this, pass it through. If the server does not support it, parse
480
2002-09-12 Stefan Bellon <sbellon@sbellon.de>
482
* gpgkeys_hkp.c: Tidied up RISC OS initializations.
484
2002-09-12 David Shaw <dshaw@jabberwocky.com>
486
* gpgkeys_hkp.c (main): Remove warning - this is no longer
489
2002-09-09 Werner Koch <wk@gnupg.org>
491
* gpgkeys_hkp.c (send_key, get_key, search_key): Check return
493
(dehtmlize): Use ascii_tolower to protect against weird locales.
494
Cast the argument for isspace for the sake of broken HP/UXes.
495
(search_key): Check return value of realloc.
497
2002-09-09 David Shaw <dshaw@jabberwocky.com>
499
* gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89)
500
don't like using variables as array initializers.
502
* gpgkeys_hkp.c (send_key): Use CRLF in headers.
504
2002-08-28 David Shaw <dshaw@jabberwocky.com>
506
* gpgkeys_hkp.c (parse_hkp_index): Use same types on all
507
platforms. This was probably leftover from earlier code where the
510
* gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be
511
consistent in m_alloc and malloc usage. Remove include-disabled
512
(meaningless on HKP). RISC OS tweak.
514
2002-08-27 David Shaw <dshaw@jabberwocky.com>
516
* gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs.
518
* gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings.
520
* gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan. Include
521
a replacement for hstrerror() for those platforms (such as RISC
522
OS) that don't have it.
524
2002-08-26 David Shaw <dshaw@jabberwocky.com>
526
* Makefile.am: May as well include gpgkeys_hkp.c in the
527
distribution now. It works well enough without proxies, and isn't
528
built by default. It would be good to get some test experience
531
* gpgkeys_hkp.c (main): Don't warn about include-subkeys - it
532
isn't unsupported, it's actually non-meaningful in the context of
535
* gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML
536
functionality into new "dehtmlize" function. Remove HTML before
537
trying to parse each line from the keyserver. If the keyserver
538
provides key type information in the listing, use it. (Copy over
541
2002-08-19 David Shaw <dshaw@jabberwocky.com>
543
* gpgkeys_hkp.c (get_key, parse_hkp_index): Bring over latest code
546
* gpgkeys_ldap.c (get_key): Fix cosmetic URL display problem
547
(extra ":" at the end).
549
2002-08-03 Stefan Bellon <sbellon@sbellon.de>
551
* gpgkeys_ldap.c: Tidied up RISC OS initializations.
553
2002-07-25 David Shaw <dshaw@jabberwocky.com>
555
* gpgkeys_hkp.c: "Warning" -> "WARNING"
557
2002-07-24 David Shaw <dshaw@jabberwocky.com>
559
* Makefile.am: Install keyserver helpers in @GNUPG_LIBEXECDIR@
561
2002-07-15 David Shaw <dshaw@jabberwocky.com>
563
* gpgkeys_ldap.c (send_key, get_key, main): Consult the server
564
version string to determine whether to use pgpKey or pgpKeyV2.
566
2002-07-09 David Shaw <dshaw@jabberwocky.com>
568
* gpgkeys_mailto.in: Use new OPAQUE tag for non net-path URIs.
569
Fail more elegantly if there is no email address to send to. Show
570
the GnuPG version in the message body.
572
2002-07-04 David Shaw <dshaw@jabberwocky.com>
574
* gpgkeys_ldap.c (get_key), gpgkeys_hkp.c (get_key): Display
575
keyserver URI as a URI, but only if verbose.
577
2002-07-01 David Shaw <dshaw@jabberwocky.com>
579
* gpgkeys_hkp.c (parse_hkp_index): Error if the keyserver returns
580
an unparseable HKP response.
582
* gpgkeys_hkp.c (main): Warn on honor-http-proxy,
583
broken-http-proxy, and include-subkeys (not supported yet).
585
* gpgkeys_ldap.c (main), gpgkeys_hkp.c (http_connect, main): Fix
586
some shadowing warnings.
588
2002-06-11 David Shaw <dshaw@jabberwocky.com>
590
* Makefile.am: Don't hard-code the LDAP libraries - get them from
591
LDAPLIBS via configure. Also, gpgkeys_hkp is a program, not a
594
2002-06-10 David Shaw <dshaw@jabberwocky.com>
596
* gpgkeys_ldap.c (include_subkeys): Default "include-subkeys" to
597
off, since GnuPG now defaults it to on.
599
2002-06-06 David Shaw <dshaw@jabberwocky.com>
601
* gpgkeys_hkp.c (parse_hkp_index): Type tweaks.
603
* gpgkeys_hkp.c (main): Add experimental code warning.
605
2002-06-05 David Shaw <dshaw@jabberwocky.com>
607
* Makefile.am, gpgkeys_hkp.c (new): Experimental HKP keyserver
610
2002-05-08 David Shaw <dshaw@jabberwocky.com>
612
* gpgkeys_ldap.c: Include <lber.h> if we absolutely must. This
613
helps when compiling against a very old OpenLDAP.
615
2002-04-29 David Shaw <dshaw@jabberwocky.com>
617
* gpgkeys_mailto.in: Properly handle key requests in full
620
2002-03-29 David Shaw <dshaw@jabberwocky.com>
622
* gpgkeys_ldap.c (printquoted): Quote backslashes within keyserver
625
2002-02-25 David Shaw <dshaw@jabberwocky.com>
627
* gpgkeys_ldap (get_key): LDAP keyservers do not support v3
628
fingerprints, so error out if someone tries. Actually, they don't
629
support any fingerprints, but at least we can calculate a keyid
630
from a v4 fingerprint.
632
2002-02-23 David Shaw <dshaw@jabberwocky.com>
634
* gpgkeys_ldap: Clarify the notion of a partial failure. This is
635
possible if more than one key is being handled in a batch, and one
636
fails while the other succeeds. Note that a search that comes up
637
with no results is not a failure - that is a valid response of "no
640
* gpgkeys_ldap.c (get_key): Allow GnuPG to send us full v4
641
fingerprints, long key ids, or short key ids while fetching.
642
Since the LDAP server doesn't actually handle fingerprints, chop
643
them down to long key ids for actual use.
645
* gpgkeys_ldap.c (main, get_key): When searching for a keyid,
646
search for subkeys as well as primary keys. This is mostly
647
significant when automatically fetching the key based on the id in
648
a header (i.e. "signature made by...."). "no-include-subkeys"
651
2002-02-14 David Shaw <dshaw@jabberwocky.com>
653
* gpgkeys_ldap.c: Fix compiler warning.
655
* gpgkeys_ldap.c: Be much more robust with mangled input files.
657
2001-12-28 David Shaw <dshaw@jabberwocky.com>
659
* gpgkeys_mailto.in: Use the new OUTOFBAND indicator so gpg knows
660
not to try and import anything. Also turn on perl -w for
663
* gpgkeys_ldap.c (main): If we're using temp files (rather than
664
stdin/stdout), make sure the file is closed when we're done.
666
2001-12-20 David Shaw <dshaw@jabberwocky.com>
668
* Properly free the LDAP response when we're done with it.
670
* Now that we handle multiple keys, we must remove duplicates as
671
the LDAP keyserver returns keys with multiple user IDs multiple
674
* Properly handle multiple keys with the same key ID (it's really
675
rare, so fetch "0xDEADBEEF" to test this).
677
2001-12-17 David Shaw <dshaw@jabberwocky.com>
679
* gpgkeys_ldap.c, gpgkeys_mailto.in: Fix GNU capitalization
680
issues. Prefix log messages with "gpgkeys" to clarify which
681
program is generating them.
683
2001-12-14 David Shaw <dshaw@jabberwocky.com>
685
* gpgkeys_ldap.c (search_key): Use unsigned int rather than uint
688
2001-12-04 David Shaw <dshaw@jabberwocky.com>
690
* Initial version of gpgkeys_ldap (LDAP keyserver helper) and
691
gpgkeys_mailto (email keyserver helper)
694
Copyright 1998, 1999, 2000, 2001, 2002, 2003,
695
2004 Free Software Foundation, Inc.
697
This file is free software; as a special exception the author gives
698
unlimited permission to copy and/or distribute it, with or without
699
modifications, as long as this notice is preserved.
701
This file is distributed in the hope that it will be useful, but
702
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
703
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.