]> eyrie.org Git - kerberos/krb5-strength.git/blob - NEWS
Merge tag 'upstream/2.1' into debian
[kerberos/krb5-strength.git] / NEWS
1                     User-Visible krb5-strength Changes
2
3 krb5-strength 2.1 (2013-10-10)
4
5     Fix the package build when CDB support is disabled or TinyCDB was not
6     found.
7
8     Some of the password rejection error messages have been changed to
9     make them more accurate or comprehensible to the user.
10
11     Passing --with-tinycdb to configure now correctly makes TinyCDB
12     support mandatory without adding bogus directories to the library and
13     include search paths.
14
15 krb5-strength 2.0 (2013-10-07)
16
17     Add support for the MIT Kerberos password quality plugin interface,
18     available in MIT Kerberos 1.9 and later, contributed by Greg Hudson
19     and MIT.  Drop the patch for MIT Kerberos 1.4 (and hence support for
20     versions of MIT Kerberos prior to 1.9).  A dictionary path set in
21     krb5.conf takes precedence over the dictionary path provided by MIT
22     Kerberos when the plugin is initialized, if both are set, to allow the
23     dict_path configuration setting to be used for other plugins while
24     using a separate dictionary for krb5-strength.
25
26     The default installation path for this plugin is now
27     /usr/local/lib/krb5/plugins/pwqual/strength.so (for both MIT and
28     Heimdal), assuming a --libdir setting of /usr/local/lib.  This may
29     require updates to the Kerberos KDC configuration or moving the plugin
30     when upgrading from earlier versions.
31
32     Add support for building with TinyCDB and then checking passwords
33     against a CDB database.  There is a new password_dictionary_cdb
34     krb5.conf configuration setting that configures a CDB directory to
35     use.  The tests with a CDB dictionary are much simpler: passwords are
36     rejected if found in the dictionary either literally, with one or two
37     characters removed from the start or end, or with one character
38     removed from both the start and the end.  Both a CrackLib and a CDB
39     dictionary can be specified to check both dictionaries.  A new
40     cdbmake-wordlist utility (written in Perl) is included to ease the
41     process of creating a CDB database from a simple word list.
42
43     A minimum password length can now be enforced directly via the plugin
44     or external check program without relying on CrackLib.  To set a
45     minimum password length, add a minimum_length setting to the
46     krb5-strength section of [appdefaults] in krb5.conf.
47
48     New boolean settings require_ascii_printable and require_non_letter
49     are supported in the krb5-strength setting of [appdefaults] in
50     krb5.conf.  The former rejects passwords containing characters other
51     than printable ASCII characters (including space), and the latter
52     requires that passwords contain at least one character that is not a
53     letter (upper or lower case) or a space.
54
55     The plugin can now be configured without a dictionary, in which case
56     only checks for a password based on the principal and the simpler
57     checks available through the new configuration variables are done.
58     This mode is mostly useful for testing, since such simple checking can
59     more easily be done via less complex password strength configurations.
60
61     The check for passwords based on the principal now check for passwords
62     formed by reversing or adding numbers before and after each separate
63     component of the principal.  This will catch passwords based on the
64     realm or components of the realm, which will often catch passwords
65     based on the name of the local institution.
66
67     The plugin now sets the Kerberos error message in the context to pass
68     error information, resulting in higher-quality error reporting in the
69     MIT Kerberos plugin.
70
71     CrackLib checks for passwords where a character is a simple increment
72     or decrement of the previous character.  In previous versions, the
73     embedded version of CrackLib allowed at most four such occurrences in
74     the entire password.  This results in false positives on long
75     passphrases, since such accidental letter relationships aren't
76     uncommon in human languages.  Change the embedded CrackLib to allow
77     one such simple increment for every three characters in the password,
78     which tightens the check somewhat for shorter passwords and loosens it
79     considerably for longer passwords.
80
81     Expect the Heimdal password strength checking plugin header in
82     kadm5/kadm5-pwcheck.h instead of outside of the kadm5 directory.  This
83     is the path used by current versions of Heimdal.  Drop support for
84     older versions of Heimdal that don't install this header file.
85
86     Update to rra-c-util 4.9:
87
88     * Probe for Kerberos headers using file checks instead of compiles.
89     * Improve probe for the Heimdal libroken library.
90     * Always build with large file support.
91     * Conditionally call AM_PROG_AR for portability to new Autotools.
92
93     Update to C TAP Harness 2.2:
94
95     * Allow more easily running single programs under tests/runtests.
96     * Flush the output from the test harness after each test.
97
98 krb5-strength 1.1 (2012-05-11)
99
100     Change the minimum password length in the embedded CrackLib to 8.
101
102     Reject passwords formed from the username portion of the principal
103     with digits appended.
104
105     In the embedded CrackLib, also check for a duplicated dictionary word.
106
107     Support linking with the system CrackLib instead of the embedded and
108     stricter copy by passing --with-cracklib to configure.
109
110     Fix variable sizes in the embedded CrackLib on 64-bit platforms.  This
111     may fix interoperability problems with databases created on platforms
112     with a different native integer size.  Thanks, Karl Lehnberger and
113     Benj Carson.
114
115     Stop using local in the test suite for portability to Solaris /bin/sh.
116
117     Update to rra-c-util 4.4:
118
119     * Use PATH_KRB5_CONFIG to override krb5-config location.
120     * Fix probing for ibm_svc/krb5_svc.h on AIX.
121     * Support Heimdal libraries without libroken, like OpenBSD.
122     * Fix manual Kerberos library probing without transitive dependencies.
123     * Support systems that only have krb5/krb5.h.
124     * Pass --deps to krb5-config in the non-reduced-dependencies case.
125     * Silence __attribute__ warnings on more compilers.
126     * Update warning flags for make warnings.
127     * Flesh out MAINTCLEANFILES to remove autogen results.
128     * Add notices to all files copied from rra-c-util.
129
130     Update to C TAP Harness 1.12:
131
132     * Drop is_double from the C TAP library to avoid requiring -lm.
133     * Avoid using local in the shell libtap.sh library.
134     * Silence __attribute__ warnings on more compilers.
135     * runtests now frees all allocated resources on exit.
136     * Fix runtests to still honor SOURCE and -s without BUILD and -b.
137     * Add tests/HOWTO documenting how to add new tests.
138     * Ensure correct output ordering in test results.
139     * Add -h and a better usage message to tests/runtests.
140
141 krb5-strength 1.0 (2010-02-16)
142
143     Add heimdal-strength, a program that checks password strength using
144     the protocol for a Heimdal external check program.
145
146     The shared module now also exports the interface expected by Heimdal's
147     dynamically loaded password strength checking API and can be used as a
148     Heimdal kadmin plugin.
149
150     Add a new plugin API for MIT Kerberos modelled after the plugin API
151     used for other MIT Kerberos plugins.  Thanks to Marcus Watts for
152     substantial research and contributions to the interface design.  This
153     work is incomplete in this release, missing the corresponding patch to
154     MIT Kerberos.
155
156     Fixed the data format written by the included packer program to add
157     enough nul bytes at the end of the data.  Previously, there was not
158     enough trailing nul bytes for the expected input format, leading to
159     uninitialized memory reads in the password lookup.
160
161     Add a test suite using the driver and library from C TAP Harness 1.1.
162
163     Add portability code for platforms without a working snprintf or other
164     deficiencies and updated the code to take advantage of those
165     guarantees.
166
167 krb5-strength 0.5 (2007-07-18)
168
169     The check of the password against the principal checked against the
170     fully-qualified principal, which is not the usual problem.
171     Additionally check that the password doesn't match the principal with
172     the realm removed or the reverse of that (case-insensitive).
173
174 krb5-strength 0.4 (2007-03-28)
175
176     The patches directory was omitted from the distribution.  Really
177     include it.
178
179 krb5-strength 0.3 (2007-03-23)
180
181     Initial public release.  Includes a patch for MIT Kerberos, a slightly
182     modified version of CrackLib, and glue wrapped around CrackLib to make
183     a loadable module.