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