]> eyrie.org Git - kerberos/krb5-strength.git/blob - NEWS
Document heimdal-history keeps infinite history
[kerberos/krb5-strength.git] / NEWS
1                     User-Visible krb5-strength Changes
2
3 krb5-strength 3.2 (unreleased)
4
5     Support building without CrackLib support by passing
6     --without-cracklib to configure.  This makes the code a bit simpler
7     and lighter if you don't intend to ever use the CrackLib support.
8
9 krb5-strength 3.1 (2016-12-25)
10
11     A new configuration option, cracklib_maxlen, can be set to skip
12     CrackLib checks of passwords longer than that length.  The CrackLib
13     rules were designed in a world in which most passwords were four to
14     eight characters long and tend to spuriously reject longer passwords.
15     SQLite dictionaries work better for checking longer passwords and
16     passphrases.  Patch from Jorj Bauer.
17
18     The require_classes configuration option can now require a particular
19     number of character classes in the password (whatever those classes
20     are).  Patch from Toby Blake.
21
22     Change the error messages returned for passwords that fail strength
23     checking to start with a capital letter.  This appears to be more
24     consistent with the error message conventions used inside Heimdal.
25
26     Change the DB_File::Lock calling method in heimdal-history to work
27     properly with the (buggy) CPAN version of DB_File::Lock, instead of
28     relying on Debian's patched version.  Thanks to Bernt Jernberg for the
29     report.
30
31     Apply the SuSE patch for a buffer overflow when using duplicate rules
32     to the embedded CrackLib.  No duplicating rules are used in the rule
33     set included with this package, and this package doesn't expose the
34     general API, so this was not exploitable, but best to close the latent
35     issue.  (The other recent CrackLib vulnerability, CVE-2016-6318,
36     doesn't apply since all the GECOS manipulation code was removed from
37     the embedded CrackLib in this package.)
38
39     Patch the mkdict and packer in the embedded copy of CrackLib to force
40     C locale when sorting (avoiding a corrupted dictionary) and warn and
41     skip out-of-order words rather than creating a corrupted dictionary.
42     Patch from Mark Sirota.
43
44     Configuration instrutions are now in the heimdal-history and
45     heimdal-strength man pages and a new krb5-strength man page (which
46     documents configuration of the KDC plugin) instead of the README file
47     to make it more accessible after the software has been installed.
48
49     Update to rra-c-util 6.2:
50
51     * Use calloc in preference to malloc wherever appropriate.
52     * Use reallocarray in preference to realloc wherever appropriate.
53     * Suppress warnings from Kerberos headers under make warnings.
54     * Support the embedded Kerberos in Solaris 10 in library probes.
55     * Add missing va_end in xasprintf implementation.
56     * Fix logic in Test::RRA::Automake for new Automake dist checking.
57     * Fix all return-value checks for snprintf to avoid off-by-one error.
58     * Update warning flags for make warnings to GCC 6.1.0.
59     * Fix Test::RRA::Config for new "do" semantics in Perl 5.22.2.
60     * Add a new test for obsolete eyrie.org URLs.
61     * Require Test::Strict 0.25 or newer for Perl strictness checks.
62
63     Update to C TAP Harness 4.1:
64
65     * Replace all remaining uses of sprintf.
66     * Test lists may now have comments and blank lines.
67     * runtests -v will show the complete output from a test.
68     * Fix segfault in runtests when given an empty test list.
69     * Tests use C_TAP_SOURCE and C_TAP_BUILD instead of SOURCE and BUILD.
70
71 krb5-strength 3.0 (2014-03-25)
72
73     The krb5-strength plugin and heimdal-strength program now support a
74     SQLite password dictionary.  This format of dictionary can detect any
75     password within edit distance one of a dictionary word, meaning that
76     the dictionary word can be formed by adding, removing, or changing a
77     single character in the password.  A SQLite password dictionary can be
78     used alone or in combination with any of the other supported
79     dictionary types.  SQLite dictionary support is based on work by David
80     Mazières.
81
82     cdbmake-wordlist has been renamed to krb5-strength-wordlist.
83     Generating CDB dictionaries now requires the -c option; see the
84     documentation for more information.  A SQLite database of dictionary
85     words can now be created instead, using the -s option.
86
87     A password history implementation for Heimdal is now included.  This
88     is a separate Perl program, heimdal-history, that stacks with the
89     external program implementation of strength checking.  It is not
90     available in the form of a plugin, only as a Heimdal external password
91     quality check.  (MIT Kerberos provides its own password history
92     mechanism.)  This program has more extensive Perl module dependencies
93     than the other programs in this distribution.
94
95     A new configuration option, minimum_different, can be set to require
96     that passwords contain at least that many unique characters.  This can
97     be used to reject long strings of identical characters or short
98     patterns, which may pass other checks but still be too easy to guess.
99
100     Update to rra-c-util 5.4:
101
102     * Fix portable/krb5.h build with a C++ compiler.
103     * Use Lancaster Consensus environment variables to control tests.
104     * Work around perltidy bug that leaves behind stray log files.
105
106     Update to C TAP Harness 3.0:
107
108     * Reopen standard input to /dev/null when running a test list.
109     * Don't leak extraneous file descriptors to tests.
110
111 krb5-strength 2.2 (2013-12-16)
112
113     More complex character class requirements can be specified with the
114     configuration option require_classes.  This option lists the character
115     classes the password must contain.  These restrictions may be
116     qualified with password length ranges, allowing the requirements to
117     change with the length of the password.  See README for more details
118     and the option syntax.
119
120     cdbmake-wordlist now supports filtering out words based on maximum
121     length (-L) and arbitrary user-provided regular expressions (-x).  It
122     also supports running in filter mode to produce a new wordlist instead
123     of a CDB file (-o).
124
125     Close a file descriptor and memory leak in the included version of
126     CrackLib.  This problem was already fixed in CrackLib 2.9.0.
127
128     Update to rra-c-util 4.12:
129
130     * Properly check the return status of snprintf and friends.
131
132     Update to C TAP Harness 2.3:
133
134     * Suppress lazy plans and test summaries if the test failed with bail.
135     * Add warn_unused_result gcc attributes to relevant functions.
136
137 krb5-strength 2.1 (2013-10-10)
138
139     Fix the package build when CDB support is disabled or TinyCDB was not
140     found.
141
142     Some of the password rejection error messages have been changed to
143     make them more accurate or comprehensible to the user.
144
145     Passing --with-tinycdb to configure now correctly makes TinyCDB
146     support mandatory without adding bogus directories to the library and
147     include search paths.
148
149 krb5-strength 2.0 (2013-10-07)
150
151     Add support for the MIT Kerberos password quality plugin interface,
152     available in MIT Kerberos 1.9 and later, contributed by Greg Hudson
153     and MIT.  Drop the patch for MIT Kerberos 1.4 (and hence support for
154     versions of MIT Kerberos prior to 1.9).  A dictionary path set in
155     krb5.conf takes precedence over the dictionary path provided by MIT
156     Kerberos when the plugin is initialized, if both are set, to allow the
157     dict_path configuration setting to be used for other plugins while
158     using a separate dictionary for krb5-strength.
159
160     The default installation path for this plugin is now
161     /usr/local/lib/krb5/plugins/pwqual/strength.so (for both MIT and
162     Heimdal), assuming a --libdir setting of /usr/local/lib.  This may
163     require updates to the Kerberos KDC configuration or moving the plugin
164     when upgrading from earlier versions.
165
166     Add support for building with TinyCDB and then checking passwords
167     against a CDB database.  There is a new password_dictionary_cdb
168     krb5.conf configuration setting that configures a CDB directory to
169     use.  The tests with a CDB dictionary are much simpler: passwords are
170     rejected if found in the dictionary either literally, with one or two
171     characters removed from the start or end, or with one character
172     removed from both the start and the end.  Both a CrackLib and a CDB
173     dictionary can be specified to check both dictionaries.  A new
174     cdbmake-wordlist utility (written in Perl) is included to ease the
175     process of creating a CDB database from a simple word list.
176
177     A minimum password length can now be enforced directly via the plugin
178     or external check program without relying on CrackLib.  To set a
179     minimum password length, add a minimum_length setting to the
180     krb5-strength section of [appdefaults] in krb5.conf.
181
182     New boolean settings require_ascii_printable and require_non_letter
183     are supported in the krb5-strength setting of [appdefaults] in
184     krb5.conf.  The former rejects passwords containing characters other
185     than printable ASCII characters (including space), and the latter
186     requires that passwords contain at least one character that is not a
187     letter (upper or lower case) or a space.
188
189     The plugin can now be configured without a dictionary, in which case
190     only checks for a password based on the principal and the simpler
191     checks available through the new configuration variables are done.
192     This mode is mostly useful for testing, since such simple checking can
193     more easily be done via less complex password strength configurations.
194
195     The check for passwords based on the principal now check for passwords
196     formed by reversing or adding numbers before and after each separate
197     component of the principal.  This will catch passwords based on the
198     realm or components of the realm, which will often catch passwords
199     based on the name of the local institution.
200
201     The plugin now sets the Kerberos error message in the context to pass
202     error information, resulting in higher-quality error reporting in the
203     MIT Kerberos plugin.
204
205     CrackLib checks for passwords where a character is a simple increment
206     or decrement of the previous character.  In previous versions, the
207     embedded version of CrackLib allowed at most four such occurrences in
208     the entire password.  This results in false positives on long
209     passphrases, since such accidental letter relationships aren't
210     uncommon in human languages.  Change the embedded CrackLib to allow
211     one such simple increment for every three characters in the password,
212     which tightens the check somewhat for shorter passwords and loosens it
213     considerably for longer passwords.
214
215     Expect the Heimdal password strength checking plugin header in
216     kadm5/kadm5-pwcheck.h instead of outside of the kadm5 directory.  This
217     is the path used by current versions of Heimdal.  Drop support for
218     older versions of Heimdal that don't install this header file.
219
220     Update to rra-c-util 4.9:
221
222     * Probe for Kerberos headers using file checks instead of compiles.
223     * Improve probe for the Heimdal libroken library.
224     * Always build with large file support.
225     * Conditionally call AM_PROG_AR for portability to new Autotools.
226
227     Update to C TAP Harness 2.2:
228
229     * Allow more easily running single programs under tests/runtests.
230     * Flush the output from the test harness after each test.
231
232 krb5-strength 1.1 (2012-05-11)
233
234     Change the minimum password length in the embedded CrackLib to 8.
235
236     Reject passwords formed from the username portion of the principal
237     with digits appended.
238
239     In the embedded CrackLib, also check for a duplicated dictionary word.
240
241     Support linking with the system CrackLib instead of the embedded and
242     stricter copy by passing --with-cracklib to configure.
243
244     Fix variable sizes in the embedded CrackLib on 64-bit platforms.  This
245     may fix interoperability problems with databases created on platforms
246     with a different native integer size.  Thanks, Karl Lehnberger and
247     Benj Carson.
248
249     Stop using local in the test suite for portability to Solaris /bin/sh.
250
251     Update to rra-c-util 4.4:
252
253     * Use PATH_KRB5_CONFIG to override krb5-config location.
254     * Fix probing for ibm_svc/krb5_svc.h on AIX.
255     * Support Heimdal libraries without libroken, like OpenBSD.
256     * Fix manual Kerberos library probing without transitive dependencies.
257     * Support systems that only have krb5/krb5.h.
258     * Pass --deps to krb5-config in the non-reduced-dependencies case.
259     * Silence __attribute__ warnings on more compilers.
260     * Update warning flags for make warnings.
261     * Flesh out MAINTCLEANFILES to remove autogen results.
262     * Add notices to all files copied from rra-c-util.
263
264     Update to C TAP Harness 1.12:
265
266     * Drop is_double from the C TAP library to avoid requiring -lm.
267     * Avoid using local in the shell libtap.sh library.
268     * Silence __attribute__ warnings on more compilers.
269     * runtests now frees all allocated resources on exit.
270     * Fix runtests to still honor SOURCE and -s without BUILD and -b.
271     * Add tests/HOWTO documenting how to add new tests.
272     * Ensure correct output ordering in test results.
273     * Add -h and a better usage message to tests/runtests.
274
275 krb5-strength 1.0 (2010-02-16)
276
277     Add heimdal-strength, a program that checks password strength using
278     the protocol for a Heimdal external check program.
279
280     The shared module now also exports the interface expected by Heimdal's
281     dynamically loaded password strength checking API and can be used as a
282     Heimdal kadmin plugin.
283
284     Add a new plugin API for MIT Kerberos modelled after the plugin API
285     used for other MIT Kerberos plugins.  Thanks to Marcus Watts for
286     substantial research and contributions to the interface design.  This
287     work is incomplete in this release, missing the corresponding patch to
288     MIT Kerberos.
289
290     Fixed the data format written by the included packer program to add
291     enough nul bytes at the end of the data.  Previously, there was not
292     enough trailing nul bytes for the expected input format, leading to
293     uninitialized memory reads in the password lookup.
294
295     Add a test suite using the driver and library from C TAP Harness 1.1.
296
297     Add portability code for platforms without a working snprintf or other
298     deficiencies and updated the code to take advantage of those
299     guarantees.
300
301 krb5-strength 0.5 (2007-07-18)
302
303     The check of the password against the principal checked against the
304     fully-qualified principal, which is not the usual problem.
305     Additionally check that the password doesn't match the principal with
306     the realm removed or the reverse of that (case-insensitive).
307
308 krb5-strength 0.4 (2007-03-28)
309
310     The patches directory was omitted from the distribution.  Really
311     include it.
312
313 krb5-strength 0.3 (2007-03-23)
314
315     Initial public release.  Includes a patch for MIT Kerberos, a slightly
316     modified version of CrackLib, and glue wrapped around CrackLib to make
317     a loadable module.