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