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