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