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