Bump versions.
[shishi.git] / NEWS
blob8bd5171596a349c97abbbce22f1b103f7e690431
1 Shishi NEWS -- History of user-visible changes.                 -*- outline -*-
2 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson
3 See the end for copying conditions.
5 * Version 0.0.32 (unreleased)
7 * Version 0.0.31 (released 2007-06-11)
9 ** Shishi is now developed using Git instead of CVS.
10 A public git mirror is available from
11 <http://repo.or.cz/w/shishi.git>.
13 ** Verify the KDC's certificate against a CA certificate in the client.
14 The CA is by default stored in ~/.shishi/client.ca in PEM format.
15 Suggested by Alberto Fondi <alberto.fondi@lnf.infn.it>.
17 ** Update gnulib files.
19 * Version 0.0.30 (released 2006-11-01)
21 ** Update STARTTLS extension to match latest drafts.
22 Shishi now implements draft-josefsson-krb-tcp-expansion-02.txt and
23 draft-josefsson-kerberos5-starttls-02.txt.
25 ** Fix failure when reading large integers from ASN.1 structure.
26 This can manifest itself by giving error messages such as 'Replay
27 protection value (nonce) differ between request and reply.'.  Added a
28 new self test "nonce" to detect errors in these routines.  Reported by
29 Alberto Fondi.
31 * Version 0.0.29 (released 2006-11-01)
33 ** Add man page for ccache2shishi.
35 * Version 0.0.28 (released 2006-11-01)
37 ** New command line tool "ccache2shishi".
38 The tool will read tickets from /tmp/krb5cc_UID (by default) and will
39 write them to ~/.shishi/tickets.
41 ** A description of the ccache file format were added in doc/ccache.txt.
43 ** A self-contained standalone parser of the ccache format added.
44 See lib/ccache.h and lib/ccache.c.  The intention is that they should
45 be usable outside of Shishi, and it doesn't use any Shishi specific
46 header files or functions.  It also avoids heap memory handling.
48 ** New APIs to read MIT ccache files.
49 shishi_tkts_add_ccache_mem
50 shishi_tkts_add_ccache_file
51 shishi_tkts_from_ccache_mem
52 shishi_tkts_from_ccache_file
54 ** New APIs to support ccache reading.
55 shishi_enckdcreppart_authtime_set
56 shishi_enckdcreppart_starttime_set
57 shishi_enckdcreppart_renew_till_set
58 shishi_tkts_default_ccache_guess
59 shishi_tkts_default_ccache
60 shishi_tkts_default_ccache_set
62 ** Fix build errors for missing arcfour_stream when using --with-libgcrypt.
63 Reported by abhijit mitra <abhijit_kly@yahoo.co.in>.
65 * Version 0.0.27 (released 2006-09-15)
67 ** New command line tool "keytab2shishi".
68 The tool will read host keys from /etc/krb5.keytab (by default) and
69 will write them to $(prefix)/etc/shishi.keys.
71 ** New APIs to read MIT keytab files.
72 Thanks to Michael B Allen who reverse-engineered the format and
73 published a freely licensed description, available from
74 <http://www.ioplex.com/utilities/keytab.txt>.  The APIs are
75 shishi_keys_add_keytab_mem, shishi_keys_add_keytab_file,
76 shishi_keys_from_keytab_mem, and shishi_keys_from_keytab_file.
78 ** New APIs to manage set of keys.
79 shishi_keys
80 shishi_keys_done
81 shishi_keys_size
82 shishi_keys_nth
83 shishi_keys_remove
84 shishi_keys_add
85 shishi_keys_print
86 shishi_keys_to_file
88 ** Libtasn1 updated to 0.3.6.
89 This fixes a bug that caused self-test failures in Shishi on 64-bit
90 platforms.
92 ** Remove path from syslog messages for shishid.
94 ** Update of gnulib files.
96 ** Some minor code cleanups.
98 * Version 0.0.26 (released 2006-05-15)
100 ** Requests for service tickets (TGS) are now sent without a sub-session key.
101 This solves interop problems with Windows 2003 and Heimdal, thanks to
102 Elrond for debugging.
104 ** Fix buggy MD4 implementation on 64-bit platforms.
106 ** The Shishi PAM module in extra/pam-shishi/ is now built by default.
107 The installation path has also been changed to $prefix/lib/security,
108 but you can change it with `configure --with-pam-dir=/somewhere/else'
109 or `make install PAMDIR=/somewhere/else'.
111 ** Fix mem leaks.
113 ** Self-tests are now run under valgrind, if it is installed.
115 ** Updated Polish translation, thanks to Jakub Bogusz.
117 * Version 0.0.25 (released 2006-04-27)
119 ** Fix bug in code to get service tickets.
120 The problem was in the libtasn1 DER encoder which include ASN.1 tags
121 for SEQUENCE members when calling asn1_der_coding() on a SEQUENCE
122 element, thanks to Elrond for debugging.
124 ** Improved handling of key versions.
125 Shishi should not send kvno for a session keys in TGS requests any
126 more.  Internally, the UINT32_MAX kvno is now used to denote a
127 "kvno"-less (i.e., non-permenant) key, earlier 0 was used which
128 collided with the perfectly valid real kvno of 0.
130 ** Improved translation of messages in shishi.
132 ** Doc fixes.
134 * Version 0.0.24 (released 2006-04-22)
136 ** Fix bug in shishid which caused it to listen on standard input and crash.
138 ** Pre-authentication support.
139 Only the PA-ENC-TIMESTAMP, ETYPE-INFO and ETYPE-INFO2 mechanisms are
140 supported.  Tested againt MIT, Heimdal, and Windows 2003 KDCs.
142 ** Clarified the copyright on lib/kerberos5.asn1.
144 ** Updated gnulib compatibility files.
146 ** Fix some memory leaks and crashes.
148 * Version 0.0.23 (released 2006-03-25)
150 ** Debian packages are available from http://josefsson.org/shishi/debian/
151 Thanks to Russ Allbery, Yvan Bassuel and Elrond for help on the Debian
152 packaging.
154 ** Added shishi_derive_default_salt and shishi_key_from_name APIs.
155 Used to create a key from principal and password.  Suggested by Elrond
156 <elrond@samba-tng.org>.
158 ** Replace internal crypto code with modules from gnulib.
160 ** Added shared library versioning script, suggested by Steve Langasek.
162 ** Improved libidn detection code.
164 ** The manual doesn't have any invariant sections.
166 ** Updated gnulib compatibility files.
168 ** Updated libtasn1.
170 ** Minor bugfixes and improvements.
172 * Version 0.0.22 (released 2005-08-10)
174 ** Fix build error when STARTTLS support is enabled.
176 ** The help-shishi@gnu.org mailing list is now mentioned in documentation.
178 ** Should now build with objdir != srcdir on systems that lack stdbool.h.
180 ** The license template in files were updated with the new FSF address.
182 ** The internal libtasn1 copy was updated to version 0.2.14.
184 ** Gnulib files updated, and uses within the library updated.
186 * Version 0.0.21 (released 2004-12-17)
188 ** Libtasn1 updated to 0.2.13.
190 ** Gnulib files updated, and uses within the library updated.
192 ** Fix srcdir != objdir building, reported by Mike Castle.
194 * Version 0.0.20 (released 2004-11-21)
196 ** Fix formatting of man pages, based on warnings from Doclifter.
198 ** Updated gnulib compatibility files.
200 * Version 0.0.19 (released 2004-11-12)
202 ** Documentation improvements.
203 For example, you can now browse the Shishi API manual using DevHelp.
205 ** Updated gnulib compatibility files.
207 * Version 0.0.18 (released 2004-10-15)
209 ** When generating an AP-REP, the generated EncAPRepPart is now remembered.
211 ** Fix some memory leaks.
213 ** Revamp of autogenerated documentation.
215 ** Documentation improvements.
217 ** Included libtasn1 updated to 0.2.11.
219 ** ASN.1 API cleanup:
220 shishi_new_a2d: RENAMED to shishi_asn1_to_der.
221 shishi_a2d_new_field: RENAMED to shishi_asn1_to_der_field.
222 shishi_a2d, shishi_a2d_field: REMOVED.
223 shishi_asn1_read: RENAMED to shishi_asn1_read_inline.
224 shishi_asn1_read2: RENAMED to shishi_asn1_read.
225 shishi_asn1_read2_optional: RENAMED to shishi_asn1_read_optional.
226 shishi_asn1_read_optional: MODIFIED, now allocate output.
228 ** Various other API fixes.
229 Functions that take fixed size buffers have been replaced by functions
230 that allocate dynamically sized buffer of the correct length.
232 * Version 0.0.17 (released 2004-08-08)
234 ** Revamp of gnulib compatibility files.
236 ** Fix warnings.
238 * Version 0.0.16 (released 2004-08-01)
240 ** New environment variables to override defaults in Shishi library.
241 SHISHI_USER specifies default client username, SHISHI_HOME specifies
242 user Shishi home directory (for configuration file, ticket cache,
243 etc), SHISHI_TICKETS the ticket cache file, SHISHI_CONFIG for the
244 system configuration file, SHISHI_KEYS for system wide host keys.
246 ** Experimental KDC now handle non-default ticket life time.
248 ** Nettle is now preferred over Libgcrypt, even if Libgcrypt is available.
249 Use configure parameter --with-libgcrypt to override.  Nettle is the
250 minimalistic crypto library included with Shishi.
252 ** The pkg-config script no longer use the linker parameter -R.
254 ** Libtasn1 updated to 0.2.10.
256 ** Many gnulib compatibility files were updated.
258 ** Cross compile builds should work.
259 It should work for any sane cross compile target, but the only tested
260 platform is uClibc/uClinux on Motorola Coldfire.
262 * Version 0.0.15 (released 2004-04-18)
264 ** Sequence numbers in Authenticator and EncAPRepPart are now randomized.
266 ** Low-level fixes of AES Cipher Text Stealing mode.
267 Also added more AES/CTS self tests.
269 ** Configuration tokens spelled correctly ("verbose-noice" -> "verbose-noise").
271 ** Polish translation added, by Jakub Bogusz.
273 ** Various bugfixes and cleanups.
275 * Version 0.0.14 (released 2004-01-22)
277 ** High-level AP interface now support setting raw checksum field values.
278 This is needed for certain applications that, like GSS-API, put
279 non-standard data in the checksum field of the Authenticator in a
280 AP-REQ.
282 ** Various minor bugfixes.
284 * Version 0.0.13 (released 2004-01-15)
286 ** Fixed salt calculation in shisa.
287 The earlier salt computed was incorrect, so existing keys in your
288 Shisa database, that were derived from passwords, are incorrect, and
289 should be changed.
291 ** Fixed shisa key file parser to handle keys with leading whitespace.
292 The parser used fscanf, which skip whitespace.  If your cryptographic
293 key (not passwords), in binary format, had leading whitespace, it
294 would fail to read the correct key.
296 ** Fix shishid crash on startup when sockets can't be opened.
298 ** Various minor bugfixes.
300 * Version 0.0.12 (released 2004-01-02)
302 ** The user database library Shisa has been improved.
303 Shisa now support multiple keys for users, and you can now selectively
304 add and remove keys via the command line interface.
306 ** The Shishi client and Shishid KDC now support TLS resumption.
307 This improve TLS handshake speed, in particular for the normal AS plus
308 TGS combination.  Currently the TLS resume database is only stored in
309 memory, so if either the client or server process is restarted, the
310 TLS resume information is lost.  This add --resume-limit to Shishid,
311 which can be used to specify the size of the TLS resume database (or
312 to disable it).
314 ** The KDC has been cleaned up and the error handling is more robust.
316 ** The Shisa programming API is documented in the manual.
318 * Version 0.0.11 (released 2003-12-21)
320 ** The Shishi library now support X.509 authenticated KDC connections via TLS.
321 The client currently do not check server authentication, however this
322 is no worse than existing UDP/TCP connections.  If client certificates
323 are available, the X.509 client certificate is simply sent (via TLS
324 handshake) to the KDC for possible pre-authentication purposes.
326 ** The KDC now support X.509 authentication.
327 If server certificates are available, X.509 authenticated TLS may be
328 negotiated.  The KDC currently only use the client certificate details
329 for logging purposes.  However, it do verify client certificate
330 against CA certificates, if those are available.
332 ** The KDC has been cleaned up and the error handling is more robust.
334 * Version 0.0.10 (released 2003-12-16)
336 ** The TLS support in Shishid now works.
338 ** All command line interfaces now uses getopt instead of argp.
340 * Version 0.0.9 (released 2003-12-12)
342 ** An information storage system added, called Shisa.
343 Shisa is used by KDCs (e.g., Shishid) to find information about
344 principals.  Shisa can be extended to support various backends, such
345 as LDAP and SQL databases, but currently only a file system based
346 database is supported.  Shisa consists of two parts, a library
347 (libshisa, see db/) and a command line tool (shisa, see src/).  Shisa
348 is designed to be concurrent write safe, i.e., multiple writers to the
349 same database is permitted.  This is very much work in progress.
351 ** A new tool 'shisa' added to add/remove/list/modify the Shisa database.
353 ** The Administration and Reference Manual has been (re)written.
354 There is now a step-by-step walk-through on creating the database for
355 a new realm, adding a few principals, starting the server and testing
356 it by getting tickets.
358 ** Shishid (the KDC server) now read keys via the Shisa database.
359 The old hostkeys-alike file based "database" is no longer supported.
361 ** A sample Shisa database and host keys are created during installation.
362 The default realm name (typically your hostname) is used, which might
363 not be what you prefer, but should get you started.
365 ** Improve behaviour with poorly synchronized clocks.
366 Earlier newly acquired tickets were discarded if they were not yet
367 valid when you acquire them.  Now tickets are only discarded when
368 their end time is in the past.
370 ** Support for DES and 3DES without integrity checking re-added.
371 Those encryption algorithms are needed by GSS Wrap/Unwrap, but was
372 accidently removed from Shishi during an earlier cleanup.
374 ** When Libgcrypt is used, ARCFOUR now handle streamed operations.
375 This is needed for, e.g., rsh in the Shishi patched version of GNU
376 InetUtils.
378 ** Paths to configurations files and host keys changed.
379 The configuration files and host keys are now stored (by default, but
380 see next entry) in $prefix/etc/shishi/, instead of, as it was before,
381 in $prefix/etc (for configuration and host keys) and
382 $prefix/share/shishi (for user configuration file template).
384 ** Paths to configurations, host keys and the database root now configurable.
385 The configure parameters --with-conf-dir, --with-skel-dir,
386 --with-key-dir, and --with-db-dir can be used to specify the location
387 of shishi.conf and shisa.conf (system configuration files),
388 shishi.skel (user configuration file template), shishi.keys (host
389 specific keys) and the Shisa database root, respectively.
391 ** IANA allocated Telnet Encrypt command 12 for the AES-CCM mode.
393 ** Autoconf 2.59, Automake 1.8, and Libtool from CVS is used.
395 ** Some more self tests were added.
397 * Version 0.0.8 (released 2003-10-16)
399 ** Passwords are processed with SASLprep instead of KRBprep.
401 ** Authorization improvements.
403 ** Documentation additions.
404 Protocol descriptions for STARTTLS, AES-CCM encrypted telnet, and
405 Shishi rsh/rlogin.
407 ** Support for upgrading TCP connections to KDC to TLS supported (STARTTLS).
408 STARTTLS support will be compiled in automatically, if you have GNUTLS
409 installed, but can be disabled unconditionally by configuring with
410 --disable-tls.  Use the 'realm-kdc' configuration token to specify
411 which KDCs the client should use it against, e.g.,
412 'realm-kdc=MYREALM.ORG,kdc.myrealm.org/tls'.
414 * Version 0.0.7 (released 2003-09-21)
416 ** Encryption types can now be referred to using shorter aliases.
417 E.g., you can write "aes" instead of "aes256-cts-hmac-sha1-96".
419 ** ARCFOUR encryption support according to draft-brezak-win2k-krb-rc4-hmac-04.
421 ** DES-CBC-CRC now works.
423 * Version 0.0.6 (released 2003-09-14)
425 ** Proxiable, proxy, forwardable and forwarded tickets supported.
426 See the User Manual for discussion and examples.
428 ** Man pages for all public functions are included.
430 ** Installed versions of Libgcrypt and libtasn1 used where possible.
431 Shishi need Libgcrypt 1.1.44 or later, and libtasn1 0.2.5 or later.
432 If a usable version is not found, the internal Nettle (crypto/) and/or
433 libminitasn1 (asn1/) libraries are used instead.
435 ** It is possible to enable and disable part of the system at compile time.
436 See --disable-des, --disable-3des, --disable-aes, --disable-md,
437 --disable-null, and --enable-arcfour.
439 ** The internal crypto interface now fully modularized.
440 If you wish to add support for a new low-level cryptographic library,
441 to, e.g., utilize specialized hardware, it is now easy to do so.  Two
442 wrappers for Nettle (lib/nettle.c) and Libgcrypt (lib/libgcrypt.c) are
443 included.
445 ** Logging destination for warnings and informational messages can be changed.
446 By default, message are sent to stderr for clients, and syslog for
447 servers.  See the new API functions shishi_outputtype and
448 shishi_set_outputtype for more information.
450 * Version 0.0.5 (released 2003-09-07)
452 ** Server host name to realm mapping via DNS supported.
454 ** SAFE functions improved.
455 Example code of a client using integrity protected application data
456 exchanges is in examples/client-safe.c and examples/server.c.
458 ** PRIV functions added.
459 Example code of a client using privacy protected application data
460 exchanges is in examples/client-priv.c.
462 ** Documentation improvements.
463 E.g., a reference manual was added, that document the configuration
464 file, and the shishi and shishid parameters.
466 ** Various API changes.
468 * Version 0.0.4 (released 2003-08-31)
470 ** The rsh/rlogin client 'rsh-redone' ported to Shishi, by Nicolas Pouvesle.
471 The client is located in extra/rsh-redone/.  It supports
472 authentication and encryption.  It interoperate with other
473 implementations.
475 ** Authenticator subkeys are supported, and is used by default in AP/TGS.
476 Some KDCs does not understand subkeys in TGS requests, and use the
477 session key instead.  Shishi detect and work around this problem but
478 prints a warning.
480 ** Simplistic key distribution center (KDC) is working.
481 See the Administration Manual for a walk through on how to get it up
482 and running.
484 ** Various API changes.
486 * Version 0.0.3 (released 2003-08-22)
488 ** Documentation fixes.
490 ** Cleanups.
492 * Version 0.0.2 (released 2003-08-17)
494 ** Command line handling of the 'shishi' application rewritten.
495 See the (updated) user manual and --help output for the new story.
497 ** It is possible to acquire renewable tickets.
499 ** Example client and server included.
500 Application data protection is not supported, but authentication is
501 demonstrated.  The files are in src/client.c and src/server.c.
503 ** New configuration verbs: 'ticket-life' and 'renew-life'.
505 ** AES ciphers didn't work when nettle was used.
507 ** Cleanups, bug fixes and improved portability.
509 * Version 0.0.1 (released 2003-08-10)
511 ** InetUtils copy removed.
512 The patches (also found in extra/inetutils.diff) are forwarded upstream.
514 ** Libidn copy removed.
515 Libidn is optional, but recommended.  It is used automatically if
516 present on your system.
518 ** Gettext not included.
519 Due to some conflicts between libtool and gettext, if you want i18n on
520 platforms that does not already have a useful gettext implementation,
521 you can install GNU gettext before building this package.  If you
522 don't care about i18n, this package should work fine (except for i18n,
523 of course).
525 ** Low-level crypto uses nettle if libgcrypt is not installed.
526 Libgcrypt is not shipped with Shishi any more, instead a more
527 streamlined crypto implementation based on nettle is included.
528 Specify --with-libgcrypt to use libgcrypt.
530 ** Libtasn1 updated and replaced by "minitasn1" from gnutls.
531 Specify --with-system-libtasn1 to link with the installed libtasn1, if
532 you have it.
534 ** KDC addresses are now found via DNS SRV RRs as a last resort.
535 This is only enabled if libresolv and resolv.h is found on your
536 system.
538 ** Argp and other compatibility files replaced by gl/ directory.
540 ** Cleanups, bug fixes and various improvements.
542 * Version 0.0.0 (released 2003-06-02)
544 ** Initial release
546 ----------------------------------------------------------------------
547 Copying and distribution of this file, with or without modification,
548 are permitted in any medium without royalty provided the copyright
549 notice and this notice are preserved.