1 Release Notes - Heimdal - Version Heimdal 1.3
5 - Partital support for MIT kadmind rpc protocol in kadmind
6 - Better support for finding keytab entries when using SPN aliases in the KDC
7 - Support BER in ASN.1 library (needed for CMS)
8 - Support decryption in Keychain private keys
9 - Support for new sqlite based credential cache
10 - Try both to KDC referals the the common DNS reverse lookup in GSS-API.
11 - Fix the KCM not not leak resources on failure
12 - Add IPv6 support to iprop.
13 - Support localization of error strings in
14 kinit/klist/kdestroy and Kerberos library.
15 - Remove Kerberos 4 support in application (still in KDC)
17 - Support i18n password in windows domains (using utf8)
18 - More complete API emulation of OpenSSL in hcrypto
22 - Support for settin friendly name on credential caches
23 - Move to using doxygen to generate documentation.
24 - Sprinkling __attribute__((depricated)) for old function to be removed
25 - Support to export LAST-REQUST information in AS-REQ
26 - Support for client deferrals in in AS-REQ
27 - Add seek support for krb5_storage.
28 - Support for split AS-REQ, first step for IA-KERB
29 - Fix many memory leaks and bugs
30 - Improved regression test
32 - Switch to krb5_set_error_message
33 - Support krb5_crypto_*_iov
34 - Switch to use EVP for most function
35 - Use SOCK_CLOEXEC and O_CLOEXEC (close on exec)
36 - Add support for GSS_C_DELEG_POLICY_FLAG
37 - Add krb5_cc_[gs]et_config to store data in the credential caches
38 - PTY testing application
41 - Make building on AIX6 possible.
42 - Bugfixes in LDAP KDC code to make it more stable
43 - Make ipropd-slave reconnect when master down gown
46 Release Notes - Heimdal - Version Heimdal 1.2.1
50 [HEIMDAL-147] - Heimdal 1.2 not compiling on Solaris
51 [HEIMDAL-151] - Make canned tests work again after cert expired
52 [HEIMDAL-152] - iprop test: use full hostname to avoid realm
54 [HEIMDAL-153] - ftp: Use the correct length for unmap, msync
56 Release Notes - Heimdal - Version Heimdal 1.2
60 [HEIMDAL-10] - Follow-up on bug report for SEGFAULT in
61 gss_display_name/gss_export_name when using SPNEGO
62 [HEIMDAL-15] - Re: [Heimdal-bugs] potential bug in Heimdal 1.1
63 [HEIMDAL-17] - Remove support for depricated [libdefaults]capath
64 [HEIMDAL-52] - hdb overwrite aliases for db databases
65 [HEIMDAL-54] - Two issues which affect credentials delegation
66 [HEIMDAL-58] - sockbuf.c calls setsockopt with bad args
67 [HEIMDAL-62] - Fix printing of sig_atomic_t
68 [HEIMDAL-87] - heimdal 1.1 not building under cygwin in hcrypto
69 [HEIMDAL-105] - rcp: sync rcp with upstream bsd rcp codebase
70 [HEIMDAL-117] - Use libtool to detect symbol versioning (Debian Bug#453241)
73 [HEIMDAL-67] - Fix locking and store credential in atomic writes
74 in the FILE credential cache
75 [HEIMDAL-106] - make compile on cygwin again
76 [HEIMDAL-107] - Replace old random key generation in des module
77 and use it with RAND_ function instead
78 [HEIMDAL-115] - Better documentation and compatibility in hcrypto
82 [HEIMDAL-3] - pkinit alg agility PRF test vectors
83 [HEIMDAL-14] - Add libwind to Heimdal
84 [HEIMDAL-16] - Use libwind in hx509
85 [HEIMDAL-55] - Add flag to krb5 to not add GSS-API INT|CONF to
87 [HEIMDAL-74] - Add support to report extended error message back
88 in AS-REQ to support windows clients
89 [HEIMDAL-116] - test pty based application (using rkpty)
90 [HEIMDAL-120] - Use new OpenLDAP API (older deprecated)
93 [HEIMDAL-63] - Dont try key usage KRB5_KU_AP_REQ_AUTH for TGS-REQ.
94 This drop compatibility with pre 0.3d KDCs.
95 [HEIMDAL-64] - kcm: first implementation of kcm-move-cache
96 [HEIMDAL-65] - Failed to compile with --disable-pk-init
97 [HEIMDAL-80] - verify that [VU#162289]: gcc silently discards some
98 wraparound checks doesn't apply to Heimdal
100 Changes in release 1.1
102 * Read-only PKCS11 provider built-in to hx509.
104 * Documentation for hx509, hcrypto and ntlm libraries improved.
106 * Better compatibilty with Windows 2008 Server pre-releases and Vista.
108 * Mac OS X 10.5 support for native credential cache.
110 * Provide pkg-config file for Heimdal (heimdal-gssapi.pc).
114 Changes in release 1.0.2
120 Changes in release 1.0.1
122 * Serveral bug fixes to iprop.
124 * Make work on platforms without dlopen.
126 * Add RFC3526 modp group14 as default.
128 * Handle [kdc] database = { } entries without realm = stanzas.
130 * Make krb5_get_renewed_creds work.
132 * Make kaserver preauth work again.
136 Changes in release 1.0
138 * Add gss_pseudo_random() for mechglue and krb5.
140 * Make session key for the krbtgt be selected by the best encryption
143 * Better interoperability with other PK-INIT implementations.
145 * Inital support for Mac OS X Keychain for hx509.
147 * Alias support for inital ticket requests.
149 * Add symbol versioning to selected libraries on platforms that uses
150 GNU link editor: gssapi, hcrypto, heimntlm, hx509, krb5, and libkdc.
152 * New version of imath included in hcrypto.
158 Changes in release 0.8.1
160 * Make ASN.1 library less paranoid to with regard to NUL in string to
161 make it inter-operate with MIT Kerberos again.
163 * Make GSS-API library work again when using gss_acquire_cred
165 * Add symbol versioning to libgssapi when using GNU ld.
171 Changes in release 0.8
175 * HDB extensions support, used by PK-INIT.
177 * New ASN.1 compiler.
179 * GSS-API mechglue from FreeBSD.
181 * Updated SPNEGO to support RFC4178.
183 * Support for Cryptosystem Negotiation Extension (RFC 4537).
185 * A new X.509 library (hx509) and related crypto functions.
187 * A new ntlm library (heimntlm) and related crypto functions.
189 * Updated the built-in crypto library with bignum support using
190 imath, support for RSA and DH and renamed it to libhcrypto.
192 * Subsystem in the KDC, digest, that will perform the digest
193 operation in the KDC, currently supports: CHAP, MS-CHAP-V2, SASL
194 DIGEST-MD5 NTLMv1 and NTLMv2.
196 * KDC will return the "response too big" error to force TCP retries
197 for large (default 1400 bytes) UDP replies. This is common for
200 * Libkafs defaults to use 2b tokens.
202 * Default to use the API cache on Mac OS X.
204 * krb5_kuserok() also checks ~/.k5login.d directory for acl files,
205 see manpage for krb5_kuserok for description.
207 * Many, many, other updates to code and info manual and manual pages.
211 Changes in release 0.7.2
213 * Fix security problem in rshd that enable an attacker to overwrite
214 and change ownership of any file that root could write.
216 * Fix a DOS in telnetd. The attacker could force the server to crash
217 in a NULL de-reference before the user logged in, resulting in inetd
218 turning telnetd off because it forked too fast.
220 * Make gss_acquire_cred(GSS_C_ACCEPT) check that the requested name
221 exists in the keytab before returning success. This allows servers
222 to check if its even possible to use GSSAPI.
224 * Fix receiving end of token delegation for GSS-API. It still wrongly
225 uses subkey for sending for compatibility reasons, this will change
228 * telnetd, login and rshd are now more verbose in logging failed and
233 Changes in release 0.7.1
237 Changes in release 0.7
239 * Support for KCM, a process based credential cache
241 * Support CCAPI credential cache
245 * AES (and the gssapi conterpart, CFX) support
247 * Adding new and improve old documentation
251 Changes in release 0.6.6
253 * Fix security problem in rshd that enable an attacker to overwrite
254 and change ownership of any file that root could write.
256 * Fix a DOS in telnetd. The attacker could force the server to crash
257 in a NULL de-reference before the user logged in, resulting in inetd
258 turning telnetd off because it forked too fast.
260 Changes in release 0.6.5
262 * fix vulnerabilities in telnetd
264 * unbreak Kerberos 4 and kaserver
266 Changes in release 0.6.4
268 * fix vulnerabilities in telnet
270 * rshd: encryption without a separate error socket should now work
272 * telnet now uses appdefaults for the encrypt and forward/forwardable
277 Changes in release 0.6.3
279 * fix vulnerabilities in ftpd
281 * support for linux AFS /proc "syscalls"
283 * support for RFC3244 (Windows 2000 Kerberos Change/Set Password) in
286 * fix possible KDC denial of service
290 Changes in release 0.6.2
292 * Fix possible buffer overrun in v4 kadmin (which now defaults to off)
294 Changes in release 0.6.1
296 * Fixed ARCFOUR suppport
298 * Cross realm vulnerability
300 * kdc: fix denial of service attack
302 * kdc: stop clients from renewing tickets into the future
306 Changes in release 0.6
308 * The DES3 GSS-API mechanism has been changed to inter-operate with
309 other GSSAPI implementations. See man page for gssapi(3) how to turn
310 on generation of correct MIC messages. Next major release of heimdal
311 will generate correct MIC by default.
313 * More complete GSS-API support
315 * Better AFS support: kdc (524) supports 2b; 524 in kdc and AFS
316 support in applications no longer requires Kerberos 4 libs
318 * Kerberos 4 support in kdc defaults to turned off (includes ka and 524)
322 Changes in release 0.5.2
324 * kdc: add option for disabling v4 cross-realm (defaults to off)
328 Changes in release 0.5.1
330 * kadmind: fix remote exploit
332 * kadmind: add option to disable kerberos 4
334 * kdc: make sure kaserver token life is positive
336 * telnet: use the session key if there is no subkey
338 * fix EPSV parsing in ftp
342 Changes in release 0.5
344 * add --detach option to kdc
346 * allow setting forward and forwardable option in telnet from
347 .telnetrc, with override from command line
349 * accept addresses with or without ports in krb5_rd_cred
351 * make it work with modern openssl
353 * use our own string2key function even with openssl (that handles weak
356 * more system-specific requirements in login
358 * do not use getlogin() to determine root in su
360 * telnet: abort if telnetd does not support encryption
362 * update autoconf to 2.53
364 * update config.guess, config.sub
368 Changes in release 0.4e
370 * improve libcrypto and database autoconf tests
372 * do not care about salting of server principals when serving v4 requests
374 * some improvements to gssapi library
376 * test for existing compile_et/libcom_err
382 Changes in release 0.4d
384 * fix some problems when using libcrypto from openssl
386 * handle /dev/ptmx `unix98' ptys on Linux
388 * add some forgotten man pages
390 * rsh: clean-up and add man page
392 * fix -A and -a in builtin-ls in tpd
394 * fix building problem on Irix
396 * make `ktutil get' more efficient
400 Changes in release 0.4c
402 * fix buffer overrun in telnetd
404 * repair some of the v4 fallback code in kinit
406 * add more shared library dependencies
408 * simplify and fix hprop handling of v4 databases
410 * fix some building problems (osf's sia and osfc2 login)
414 Changes in release 0.4b
416 * update the shared library version numbers correctly
418 Changes in release 0.4a
420 * corrected key used for checksum in mk_safe, unfortunately this
421 makes it backwards incompatible
423 * update to autoconf 2.50, libtool 1.4
425 * re-write dns/config lookups (krb5_krbhst API)
427 * make order of using subkeys consistent
433 * remove rfc2052 support, now only rfc2782 is supported
435 * always build with kaserver protocol support in the KDC (assuming
436 KRB4 is enabled) and support for reading kaserver databases in
439 Changes in release 0.3f
441 * change default keytab to ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab,
442 the new keytab type that tries both of these in order (SRVTAB is
443 also an alias for krb4:)
445 * improve error reporting and error handling (error messages should
446 be more detailed and more useful)
448 * improve building with openssl
450 * add kadmin -K, rcp -F
452 * fix two incorrect weak DES keys
454 * fix building of kaserver compat in KDC
456 * the API is closer to what MIT krb5 is using
458 * more compatible with windows 2000
460 * removed some memory leaks
464 Changes in release 0.3e
466 * rcp program included
468 * fix buffer overrun in ftpd
470 * handle omitted sequence numbers as zeroes to handle MIT krb5 that
471 cannot generate zero sequence numbers
473 * handle v4 /.k files better
475 * configure/portability fixes
477 * fixes in parsing of options to kadmin (sub-)commands
479 * handle errors in kadmin load better
483 Changes in release 0.3d
487 * fix a bug in 3des gss-api mechanism, making it compatible with the
488 specification and the MIT implementation
490 * make telnetd only allow a specific list of environment variables to
491 stop it from setting `sensitive' variables
493 * try to use an existing libdes
495 * lib/krb5, kdc: use correct usage type for ap-req messages. This
496 should improve compatability with MIT krb5 when using 3DES
499 * kdc: fix memory allocation problem
501 * update config.guess and config.sub
503 * lib/roken: more stuff implemented
505 * bug fixes and portability enhancements
507 Changes in release 0.3c
509 * lib/krb5: memory caches now support the resolve operation
511 * appl/login: set PATH to some sane default
513 * kadmind: handle several realms
515 * bug fixes (including memory leaks)
517 Changes in release 0.3b
519 * kdc: prefer default-salted keys on v5 requests
521 * kdc: lowercase hostnames in v4 mode
523 * hprop: handle more types of MIT salts
525 * lib/krb5: fix memory leak
529 Changes in release 0.3a:
531 * implement arcfour-hmac-md5 to interoperate with W2K
533 * modularise the handling of the master key, and allow for other
534 encryption types. This makes it easier to import a database from
535 some other source without having to re-encrypt all keys.
537 * allow for better control over which encryption types are created
539 * make kinit fallback to v4 if given a v4 KDC
541 * make klist work better with v4 and v5, and add some more MIT
542 compatibility options
544 * make the kdc listen on the krb524 (4444) port for compatibility
545 with MIT krb5 clients
547 * implement more DCE/DFS support, enabled with --enable-dce, see
548 lib/kdfs and appl/dceutils
550 * make the sequence numbers work correctly
554 Changes in release 0.2t:
558 Changes in release 0.2s:
560 * add OpenLDAP support in hdb
562 * login will get v4 tickets when it receives forwarded tickets
564 * xnlock supports both v5 and v4
566 * repair source routing for telnet
568 * fix building problems with krb4 (krb_mk_req)
572 Changes in release 0.2r:
574 * fix realloc memory corruption bug in kdc
576 * `add --key' and `cpw --key' in kadmin
578 * klist supports listing v4 tickets
580 * update config.guess and config.sub
582 * make v4 -> v5 principal name conversion more robust
584 * support for anonymous tickets
588 * telnetd: do not negotiate KERBEROS5 authentication if there's no keytab.
590 * use and set expiration and not password expiration when dumping
591 to/from ka server databases / krb4 databases
593 * make the code happier with 64-bit time_t
595 * follow RFC2782 and by default do not look for non-underscore SRV names
597 Changes in release 0.2q:
599 * bug fix in tcp-handling in kdc
601 * bug fix in expand_hostname
603 Changes in release 0.2p:
605 * bug fix in `kadmin load/merge'
607 * bug fix in krb5_parse_address
609 Changes in release 0.2o:
611 * gss_{import,export}_sec_context added to libgssapi
613 * new option --addresses to kdc (for listening on an explicit set of
616 * bug fixes in the krb4 and kaserver emulation part of the kdc
620 Changes in release 0.2n:
622 * more robust parsing of dump files in kadmin
623 * changed default timestamp format for log messages to extended ISO
624 8601 format (Y-M-DTH:M:S)
625 * changed md4/md5/sha1 APIes to be de-facto `standard'
626 * always make hostname into lower-case before creating principal
627 * small bits of more MIT-compatability
630 Changes in release 0.2m:
632 * handle glibc's getaddrinfo() that returns several ai_canonname
638 Changes in release 0.2l:
642 Changes in release 0.2k:
646 * make struct sockaddr_storage in roken work better on alphas
648 * some missing [hn]to[hn]s fixed.
650 * allow users to change their own passwords with kadmin (with initial
653 * fix stupid bug in parsing KDC specification
655 * add `ktutil change' and `ktutil purge'
657 Changes in release 0.2j:
661 * ftpd works in passive mode
663 * should build on cygwin
665 * work around broken IPv6-code on OpenBSD 2.6, also add configure
666 option --disable-ipv6
668 Changes in release 0.2i:
670 * use getaddrinfo in the missing places.
672 * fix SRV lookup for admin server
674 * use get{addr,name}info everywhere. and implement it in terms of
675 getipnodeby{name,addr} (which uses gethostbyname{,2} and
678 Changes in release 0.2h:
680 * fix typo in kx (now compiles)
682 Changes in release 0.2g:
686 * repair appl/test programs
687 * sockaddr_storage works on solaris (alignment issues)
688 * works better with non-roken getaddrinfo
690 * some non standard C constructs removed
692 Changes in release 0.2f:
694 * support SRV records for kpasswd
695 * look for both _kerberos and krb5-realm when doing host -> realm mapping
697 Changes in release 0.2e:
699 * changed copyright notices to remove `advertising'-clause.
700 * get{addr,name}info added to roken and used in the other code
701 (this makes things work much better with hosts with both v4 and v6
702 addresses, among other things)
703 * do pre-auth for both password and key-based get_in_tkt
704 * support for having several databases
705 * new command `del_enctype' in kadmin
706 * strptime (and new strftime) add to roken
707 * more paranoia about finding libdb
710 Changes in release 0.2d:
712 * new configuration option [libdefaults]default_etypes_des
713 * internal ls in ftpd builds without KRB4
714 * kx/rsh/push/pop_debug tries v5 and v4 consistenly
718 Changes in release 0.2c:
720 * bug fixes (see ChangeLog's for details)
722 Changes in release 0.2b:
725 * actually bump shared library versions
727 Changes in release 0.2a:
729 * a new program verify_krb5_conf for checking your /etc/krb5.conf
730 * add 3DES keys when changing password
731 * support null keys in database
732 * support multiple local realms
733 * implement a keytab backend for AFS KeyFile's
734 * implement a keytab backend for v4 srvtabs
735 * implement `ktutil copy'
736 * support password quality control in v4 kadmind
737 * improvements in v4 compat kadmind
738 * handle the case of having the correct cred in the ccache but with
739 the wrong encryption type better
740 * v6-ify the remaining programs.
741 * internal ls in ftpd
742 * rename strcpy_truncate/strcat_truncate to strlcpy/strlcat
743 * add `ank --random-password' and `cpw --random-password' in kadmin
744 * some programs and documentation for trying to talk to a W2K KDC
747 Changes in release 0.1m:
749 * support for getting default from krb5.conf for kinit/kf/rsh/telnet.
750 From Miroslav Ruda <ruda@ics.muni.cz>
751 * v6-ify hprop and hpropd
752 * support numeric addresses in krb5_mk_req
753 * shadow support in login and su. From Miroslav Ruda <ruda@ics.muni.cz>
754 * make rsh/rshd IPv6-aware
755 * make the gssapi sample applications better at reporting errors
757 * handle systems with v6-aware libc and non-v6 kernels (like Linux
758 with glibc 2.1) better
759 * hide failure of ERPT in ftp
762 Changes in release 0.1l:
764 * make ftp and ftpd IPv6-aware
765 * add inet_pton to roken
766 * more IPv6-awareness
767 * make mini_inetd v6 aware
769 Changes in release 0.1k:
771 * bump shared libraries versions
772 * add roken version of inet_ntop
773 * merge more changes to rshd
775 Changes in release 0.1j:
777 * restore back to the `old' 3DES code. This was supposed to be done
778 in 0.1h and 0.1i but I did a CVS screw-up.
779 * make telnetd handle v6 connections
781 Changes in release 0.1i:
783 * start using `struct sockaddr_storage' which simplifies the code
784 (with a fallback definition if it's not defined)
785 * bug fixes (including in hprop and kf)
786 * don't use mawk which seems to mishandle roken.awk
787 * get_addrs should be able to handle v6 addresses on Linux (with the
788 required patch to the Linux kernel -- ask within)
789 * rshd builds with shadow passwords
791 Changes in release 0.1h:
793 * kf: new program for forwarding credentials
795 * make forwarding credentials work with MIT code
796 * better conversion of ka database
797 * add etc/services.append
798 * correct `modified by' from kpasswdd
801 Changes in release 0.1g:
803 * kgetcred: new program for explicitly obtaining tickets
808 Changes in release 0.1f;
810 * experimental support for v4 kadmin protokoll in kadmind
813 Changes in release 0.1e:
815 * try to handle old DCE and MIT kdcs
816 * support for older versions of credential cache files and keytabs
817 * postdated tickets work
818 * support for password quality checks in kpasswdd
819 * new flag --enable-kaserver for kdc
821 * prototype su program
822 * updated (some) manpages
823 * support for KDC resource records
824 * should build with --without-krb4
827 Changes in release 0.1d:
829 * Support building with DB2 (uses 1.85-compat API)
830 * Support krb5-realm.DOMAIN in DNS
831 * new `ktutil srvcreate'
832 * v4/kafs support in klist/kdestroy
835 Changes in release 0.1c:
837 * fix ASN.1 encoding of signed integers
838 * somewhat working `ktutil get'
839 * some documentation updates
840 * update to Autoconf 2.13 and Automake 1.4
841 * the usual bug fixes
843 Changes in release 0.1b:
845 * some old -> new crypto conversion utils
848 Changes in release 0.1a:
852 * make sure we ask for DES keys in gssapi
853 * support signed ints in ASN1
856 Changes in release 0.0u:
860 Changes in release 0.0t:
862 * more robust parsing of krb5.conf
863 * include net{read,write} in lib/roken
866 Changes in release 0.0s:
868 * kludges for parsing options to rsh
869 * more robust parsing of krb5.conf
870 * removed some arbitrary limits
873 Changes in release 0.0r:
875 * default options for some programs
878 Changes in release 0.0q:
880 * support for building shared libraries with libtool
883 Changes in release 0.0p:
885 * keytab moved to /etc/krb5.keytab
886 * avoid false detection of IPv6 on Linux
887 * Lots of more functionality in the gssapi-library
888 * hprop can now read ka-server databases
891 Changes in release 0.0o:
893 * FTP with GSSAPI support.
896 Changes in release 0.0n:
898 * Incremental database propagation.
899 * Somewhat improved kadmin ui; the stuff in admin is now removed.
900 * Some support for using enctypes instead of keytypes.
901 * Lots of other improvement and bug fixes, see ChangeLog for details.