]> eyrie.org Git - kerberos/krb5-strength.git/log
kerberos/krb5-strength.git
10 years agoUpdate EXTRA_DIST for file changes
Russ Allbery [Wed, 2 Oct 2013 04:16:17 +0000 (21:16 -0700)]
Update EXTRA_DIST for file changes

Various things have been moved around and a bunch of new files
added.  Update EXTRA_DIST accordingly.

10 years agoMove heimdal-strength test
Russ Allbery [Wed, 2 Oct 2013 04:15:58 +0000 (21:15 -0700)]
Move heimdal-strength test

Now that the program is in tools, move the test accordingly.

10 years agoRename plugin/api.h to plugin/internal.h
Russ Allbery [Wed, 2 Oct 2013 04:09:29 +0000 (21:09 -0700)]
Rename plugin/api.h to plugin/internal.h

This no longer defines the default API, since that is now an
internal implementation detail.  Rename the header file to match
the sort of thing I do with other projects.

10 years agoUse krb5_free_string to free krb5_appdefault_string results
Russ Allbery [Wed, 2 Oct 2013 04:04:13 +0000 (21:04 -0700)]
Use krb5_free_string to free krb5_appdefault_string results

After parsing a numeric setting, free the string returned by
krb5_appdefault_string with krb5_free_string instead of free.

10 years agoAdd configurable checks for ASCII and for non-letters
Russ Allbery [Wed, 2 Oct 2013 03:51:55 +0000 (20:51 -0700)]
Add configurable checks for ASCII and for non-letters

New boolean settings require_ascii_printable and require_non_letter
are supported in the krb5-strength setting of [appdefaults] in
krb5.conf.  The former rejects passwords containing characters other
than printable ASCII characters (including space), and the latter
requires that passwords contain at least one character that is not a
letter (upper or lower case) or a space.

10 years agoSupport UTF-8 data in password test cases
Russ Allbery [Wed, 2 Oct 2013 03:43:41 +0000 (20:43 -0700)]
Support UTF-8 data in password test cases

In make-c-data, when generating C source from the JSON data,
properly encode UTF-8 strings.  This still requires a C compiler
that can handle raw UTF-8 input, but hopefully that won't be a
serious portability issue.

10 years agoAdd support for enforcing a minimum password length
Russ Allbery [Wed, 2 Oct 2013 00:55:30 +0000 (17:55 -0700)]
Add support for enforcing a minimum password length

This is configured using the minimum_length setting in krb5.conf
in the krb5-strength section of [appdefaults].  This length check
is independent of CrackLib's checks.

10 years agoProbe for setrlimit for the xmalloc tests
Russ Allbery [Wed, 2 Oct 2013 00:27:45 +0000 (17:27 -0700)]
Probe for setrlimit for the xmalloc tests

Testing the xmalloc utility library requires knowing whether
setrlimit exists.  Add the check to configure.

10 years agoSeparate generic tests from CrackLib tests
Russ Allbery [Tue, 1 Oct 2013 22:03:03 +0000 (15:03 -0700)]
Separate generic tests from CrackLib tests

Move the generic password tests into a separate file so that
they can be run independent from the CrackLib tests, and run
them for both CrackLib and CDB configurations.

10 years agoMove password test data into a subdirectory
Russ Allbery [Tue, 1 Oct 2013 21:21:09 +0000 (14:21 -0700)]
Move password test data into a subdirectory

The number of files is only going to grow, so move it into a
subdirectory and use a loop in autogen to generate C versions of
every file to make it easier to add new blocks of test data.

10 years agoAdd Perl testing from rra-c-util
Russ Allbery [Tue, 1 Oct 2013 21:07:11 +0000 (14:07 -0700)]
Add Perl testing from rra-c-util

Delete the old, simple POD tests that only looked at the docs for
heimdal-strength and add full POD and Perl testing using the
generic tests from rra-c-util.

10 years agoAdd missing POD spelling stopword for cdbmake-wordlist
Russ Allbery [Tue, 1 Oct 2013 21:06:53 +0000 (14:06 -0700)]
Add missing POD spelling stopword for cdbmake-wordlist

10 years agoFix style problems in the heimdal/external test
Russ Allbery [Tue, 1 Oct 2013 21:06:26 +0000 (14:06 -0700)]
Fix style problems in the heimdal/external test

Some style and formatting issues crept in via various rewrites.
Clean those up again.

10 years agoFix naming of cdbmake-wordlist test
Russ Allbery [Tue, 1 Oct 2013 20:58:03 +0000 (13:58 -0700)]
Fix naming of cdbmake-wordlist test

We've been using -t instead of .t since this is an Automake
project.  Be consistent.

10 years agoAdd test suite for util/messages-krb5
Russ Allbery [Tue, 1 Oct 2013 20:52:30 +0000 (13:52 -0700)]
Add test suite for util/messages-krb5

10 years agoMove heimdal-strength to the tools directory
Russ Allbery [Tue, 1 Oct 2013 20:49:35 +0000 (13:49 -0700)]
Move heimdal-strength to the tools directory

Try to keep the proliferation of directories to a minimum and put
all the command-line tools in the same directory.

10 years agoRenamed cdb.m4 to tinycdb.m4
Russ Allbery [Tue, 1 Oct 2013 06:19:58 +0000 (23:19 -0700)]
Renamed cdb.m4 to tinycdb.m4

Reflect the contents more accurately in the name.

10 years agoAdd support for checking against a CDB database
Russ Allbery [Tue, 1 Oct 2013 06:15:51 +0000 (23:15 -0700)]
Add support for checking against a CDB database

Add support for building with TinyCDB and then checking passwords
against a CDB database.  There is a new password_dictionary_cdb
krb5.conf configuration setting that configures a CDB directory to
use.  The tests with a CDB dictionary are much simpler: passwords are
rejected if found in the dictionary either literally, with one or two
characters removed from the start or end, or with one character
removed from both the start and the end.  Both a CrackLib and a CDB
dictionary can be specified to check both dictionaries.

10 years agoInclude strerror results in Kerberos error messages
Russ Allbery [Tue, 1 Oct 2013 03:46:40 +0000 (20:46 -0700)]
Include strerror results in Kerberos error messages

When reporting a Kerberos error message from a system call failure,
include the strerror results in the message.

10 years agoAdd cdbmake-wordlist test to the default test suite
Russ Allbery [Tue, 1 Oct 2013 03:46:23 +0000 (20:46 -0700)]
Add cdbmake-wordlist test to the default test suite

10 years agoAdd a test suite for cdbmake-wordlist
Russ Allbery [Tue, 1 Oct 2013 02:17:56 +0000 (19:17 -0700)]
Add a test suite for cdbmake-wordlist

10 years agoAdd initial version of cdbmake-wordlist tool
Russ Allbery [Tue, 1 Oct 2013 01:38:26 +0000 (18:38 -0700)]
Add initial version of cdbmake-wordlist tool

This creates a *.cdb file from a wordlist and will be used for the
new cdb support coming to krb5-strength.  For right now, there's no
test suite.

10 years agoRemove appdefaults realm support for MIT from TODO
Russ Allbery [Sat, 28 Sep 2013 18:47:40 +0000 (11:47 -0700)]
Remove appdefaults realm support for MIT from TODO

This was completed.

10 years agoUse the Kerberos context to set the error message
Russ Allbery [Fri, 27 Sep 2013 05:21:35 +0000 (22:21 -0700)]
Use the Kerberos context to set the error message

The plugin now sets the Kerberos error message in the context to pass
error information, resulting in higher-quality error reporting in the
MIT Kerberos plugin.

10 years agoUse die_krb5 in the external password checker
Russ Allbery [Fri, 27 Sep 2013 04:36:31 +0000 (21:36 -0700)]
Use die_krb5 in the external password checker

This is pointless at the moment, since we're only using it for
failures in krb5_init_context, but it will be more useful later.

10 years agoMove krb5.conf configuration into the plugin
Russ Allbery [Wed, 25 Sep 2013 06:59:02 +0000 (23:59 -0700)]
Move krb5.conf configuration into the plugin

Load the configuration inside the plugin when we initialize it,
and pass in a Kerberos context to the plugin so that this is
possible.  Obtain or pass in an existing Kerberos context in the
places where we weren't already doing so.

This loses some more detailed error reporting, particularly around
non-existent configured dictionaries, which will be restored later
by using the Kerberos error message.

10 years agoFix memory management in the MIT plugin test
Russ Allbery [Wed, 25 Sep 2013 06:58:40 +0000 (23:58 -0700)]
Fix memory management in the MIT plugin test

We were freeing one of our testing paths before using it again.

10 years agoRemove some reachable leaks, static data in cracklib, tests
Russ Allbery [Wed, 25 Sep 2013 06:00:44 +0000 (23:00 -0700)]
Remove some reachable leaks, static data in cracklib, tests

Don't attempt an optimization where we keep the last block of
the dictionary in memory to answer questions, since each call
may use a different dictionary.  Close the password dictionary
after each lookup (although this doesn't recover all of the
memory due to more static data elsewhere).

Free more memory at the end of the MIT plugin test.

10 years agoUse standard CrackLib tools when not using embedded
Russ Allbery [Wed, 25 Sep 2013 04:43:36 +0000 (21:43 -0700)]
Use standard CrackLib tools when not using embedded

When building with the system CrackLib, use the standard tools to
build the test dictionary instead of building the embedded code
just to use the packer.

Also use the tools to build the dictionary so that the word list
in the test suite doesn't have to be sorted.

10 years agoRemove explicit CPPFLAGS setting for the plugin
Russ Allbery [Wed, 25 Sep 2013 02:27:57 +0000 (19:27 -0700)]
Remove explicit CPPFLAGS setting for the plugin

This is handled by the global setting.

10 years agoUpdate EXTRA_DIST and libportable sources
Russ Allbery [Wed, 25 Sep 2013 02:27:25 +0000 (19:27 -0700)]
Update EXTRA_DIST and libportable sources

Add the new header files to libportable so that they're included
in the distribution, and remove obsolete files from EXTRA_DIST.

10 years agoMake the way too short error consistent with CrackLib
Russ Allbery [Wed, 25 Sep 2013 02:26:21 +0000 (19:26 -0700)]
Make the way too short error consistent with CrackLib

Current CrackLib returns "it is WAY too short" rather than
"it's WAY too short".  Be consistent so that more of the test
suite will pass correctly.

10 years agoRewrite the MIT plugin tests in C
Russ Allbery [Wed, 25 Sep 2013 01:14:45 +0000 (18:14 -0700)]
Rewrite the MIT plugin tests in C

Rewrite the MIT plugin test in pure C, using the generated C
data and calling the shell script to create the necessary krb5.conf
file.  Check configuration both via the internal dictionary path
and via appdefaults.

10 years agoFix configuration and status codes in the MIT plugin
Russ Allbery [Wed, 25 Sep 2013 01:10:05 +0000 (18:10 -0700)]
Fix configuration and status codes in the MIT plugin

Modify the MIT plugin to support [appdefaults] configuration in
addition to the dictionary path configured in the KDC.  Modify the
core code to return meaningful error codes instead of just 0 and 1,
adjust the Heimdal module accordingly to translate them into 0 and
1, and use that to allow the MIT code to return real error codes.

In order to support this, import more of the Kerberos portability
layer including new portability for kadmin headers.

10 years agoReport a real plan for the heimdal/external test
Russ Allbery [Tue, 24 Sep 2013 22:27:29 +0000 (15:27 -0700)]
Report a real plan for the heimdal/external test

We can calculate how many tests we're going to run, so do so and
report a real plan.

10 years agoRewrite the Heimdal plugin tests in C
Russ Allbery [Tue, 24 Sep 2013 22:22:58 +0000 (15:22 -0700)]
Rewrite the Heimdal plugin tests in C

Add a new Perl program to generate a C version of the password
test data from the JSON source, and run that program during
autogen so that we can ship the source in the distribution and
not require JSON support for the basic test suite.  Add a new
shell script to generate the necessary krb5.conf file.

Rewrite the Heimdal plugin test in pure C, using the generated C
data and calling the shell script to create the necessary krb5.conf
file.

10 years agoRewrite the heimdal-strength tests in Perl
Russ Allbery [Tue, 24 Sep 2013 04:22:47 +0000 (21:22 -0700)]
Rewrite the heimdal-strength tests in Perl

Externalize the passwords and expected results in a JSON file
and rewrite the test case in Perl, making it read the list of
test cases from that file.  Add a stripped-down krb5.conf file
used by the test suite instead of trying to manipulate the system
krb5.conf file.

10 years agoImport Perl test support modules from rra-c-util
Russ Allbery [Tue, 24 Sep 2013 04:20:52 +0000 (21:20 -0700)]
Import Perl test support modules from rra-c-util

Import Test::RRA, Test::RRA::Automake, and Test::RRA::Config
from rra-c-util 4.10 for the use of test cases written in Perl.

10 years agoClean up the leading comment on the MIT plugin code
Russ Allbery [Thu, 19 Sep 2013 23:57:05 +0000 (16:57 -0700)]
Clean up the leading comment on the MIT plugin code

10 years agoReformat the prototype for pwqual_strength_initvt
Russ Allbery [Thu, 19 Sep 2013 23:56:28 +0000 (16:56 -0700)]
Reformat the prototype for pwqual_strength_initvt

10 years agoUse util/macros.h for the UNUSED macro
Russ Allbery [Thu, 19 Sep 2013 23:55:12 +0000 (16:55 -0700)]
Use util/macros.h for the UNUSED macro

Also reorganize the MIT plugin code a little bit.

10 years agoImport the util layer from rra-c-util, use for heimdal-strength
Russ Allbery [Thu, 19 Sep 2013 23:50:15 +0000 (16:50 -0700)]
Import the util layer from rra-c-util, use for heimdal-strength

Rather than rolling our own versions of xmalloc, xstrdup, and die,
import the util layer and use the standard versions of those
functions.  Also import the test suite.

10 years agoUse the correct Stanford copyright notice, update dates
Russ Allbery [Thu, 19 Sep 2013 05:43:06 +0000 (22:43 -0700)]
Use the correct Stanford copyright notice, update dates

10 years agoInclude portable/krb5.h instead of krb5.h
Russ Allbery [Thu, 19 Sep 2013 04:44:34 +0000 (21:44 -0700)]
Include portable/krb5.h instead of krb5.h

Make use of the portability layer to figure out which Kerberos
header to include.

10 years agoRemove an old TODO item related to the MIT patch
Russ Allbery [Thu, 19 Sep 2013 04:39:54 +0000 (21:39 -0700)]
Remove an old TODO item related to the MIT patch

10 years agoDon't purge the autom4te.cache directory
Russ Allbery [Thu, 19 Sep 2013 04:38:52 +0000 (21:38 -0700)]
Don't purge the autom4te.cache directory

Retain this to make subsequent autogen runs faster.

10 years agoUse the portability layer and close a memory leak
Russ Allbery [Thu, 19 Sep 2013 04:27:43 +0000 (21:27 -0700)]
Use the portability layer and close a memory leak

Free the unparsed principal name when checking passwords in
Heimdal, and use the portability layer in the external strength
program.

10 years agoAdd a more extensive Kerberos portability layer
Russ Allbery [Thu, 19 Sep 2013 04:26:27 +0000 (21:26 -0700)]
Add a more extensive Kerberos portability layer

We don't really care about portability for krb5_get_error_message
since we effectively will require that it exists, but may as well
use the same structure as other code.  Add some other functions
that we're using (or should be using).

10 years agoAdd support for new MIT plugin interface, drop old patch
Russ Allbery [Thu, 19 Sep 2013 03:55:02 +0000 (20:55 -0700)]
Add support for new MIT plugin interface, drop old patch

Add support for the MIT Kerberos password quality plugin interface,
available in MIT Kerberos 1.9 and later, contributed by Greg Hudson
and MIT.  Drop the patch for MIT Kerberos 1.4 (and hence support for
versions of MIT Kerberos prior to 1.9).

10 years agoAdd additional CrackLib changes to cracklib/HISTORY
Russ Allbery [Thu, 19 Sep 2013 00:51:53 +0000 (17:51 -0700)]
Add additional CrackLib changes to cracklib/HISTORY

10 years agoFix the path to the Heimdal password strength header
Russ Allbery [Thu, 19 Sep 2013 00:41:58 +0000 (17:41 -0700)]
Fix the path to the Heimdal password strength header

Expect the Heimdal password strength checking plugin header in
kadm5/kadm5-pwcheck.h instead of outside of the kadm5 directory.  This
is the path used by current versions of Heimdal.

10 years agoUpdate to the latest warning flags fromr rra-c-util 4.9
Russ Allbery [Thu, 19 Sep 2013 00:34:36 +0000 (17:34 -0700)]
Update to the latest warning flags fromr rra-c-util 4.9

10 years agoAdd a missing ANSI C prototyping fix
Russ Allbery [Thu, 19 Sep 2013 00:34:26 +0000 (17:34 -0700)]
Add a missing ANSI C prototyping fix

10 years agoRemove the need for tests/data/.placeholder
Russ Allbery [Wed, 18 Sep 2013 23:30:27 +0000 (16:30 -0700)]
Remove the need for tests/data/.placeholder

Just create the tests/data directory if needed before running
the packer to create the dictionary.

10 years agoUpdate to rra-c-util 4.9 and C TAP Harness 2.2
Russ Allbery [Wed, 18 Sep 2013 23:27:45 +0000 (16:27 -0700)]
Update to rra-c-util 4.9 and C TAP Harness 2.2

Update to rra-c-util 4.9:

* Probe for Kerberos headers using file checks instead of compiles.
* Improve probe for the Heimdal libroken library.
* Always build with large file support.
* Conditionally call AM_PROG_AR for portability to new Autotools.

Update to C TAP Harness 2.2:

* Allow more easily running single programs under tests/runtests.
* Flush the output from the test harness after each test.

10 years agoMake the simplicity check dependent on password length
Russ Allbery [Wed, 18 Sep 2013 22:47:10 +0000 (15:47 -0700)]
Make the simplicity check dependent on password length

CrackLib checks for passwords where a character is a simple increment
or decrement of the previous character.  In previous versions, the
embedded version of CrackLib allowed at most four such occurrences in
the entire password.  This results in false positives on long
passphrases, since such accidental letter relationships aren't
uncommon in human languages.  Change the embedded CrackLib to allow
one such simple increment for every three characters in the password,
which tightens the check somewhat for shorter passwords and loosens it
considerably for longer passwords.

12 years agoImported Upstream version 1.1 upstream/1.1
Russ Allbery [Fri, 11 May 2012 21:48:01 +0000 (14:48 -0700)]
Imported Upstream version 1.1

12 years agoAdd new rra-c-util files to the distribution release/1.1
Russ Allbery [Fri, 11 May 2012 21:44:53 +0000 (14:44 -0700)]
Add new rra-c-util files to the distribution

12 years agoRelease 1.1
Russ Allbery [Fri, 11 May 2012 21:41:22 +0000 (14:41 -0700)]
Release 1.1

12 years agoStop using local in the test suite for portability to Solaris /bin/sh
Russ Allbery [Fri, 11 May 2012 21:40:38 +0000 (14:40 -0700)]
Stop using local in the test suite for portability to Solaris /bin/sh

12 years agoUpdate LICENSE statements
Russ Allbery [Fri, 11 May 2012 21:37:02 +0000 (14:37 -0700)]
Update LICENSE statements

Use the correct form of the Stanford University copyright.

12 years agoIn the embedded CrackLib, also check for a duplicated dictionary word
Russ Allbery [Fri, 11 May 2012 21:28:07 +0000 (14:28 -0700)]
In the embedded CrackLib, also check for a duplicated dictionary word

12 years agoUpdate to rra-c-util 4.4 and C TAP Harness 1.12
Russ Allbery [Fri, 11 May 2012 21:07:18 +0000 (14:07 -0700)]
Update to rra-c-util 4.4 and C TAP Harness 1.12

Update to rra-c-util 4.4:

* Use PATH_KRB5_CONFIG to override krb5-config location.
* Fix probing for ibm_svc/krb5_svc.h on AIX.
* Support Heimdal libraries without libroken, like OpenBSD.
* Fix manual Kerberos library probing without transitive dependencies.
* Support systems that only have krb5/krb5.h.
* Pass --deps to krb5-config in the non-reduced-dependencies case.
* Silence __attribute__ warnings on more compilers.
* Include strings.h where available for additional prototypes.
* Update warning flags for make warnings.
* Flesh out MAINTCLEANFILES to remove autogen results.
* Add notices to all files copied from rra-c-util.

Update to C TAP Harness 1.12:

* Drop is_double from the C TAP library to avoid requiring -lm.
* Avoid using local in the shell libtap.sh library.
* Silence __attribute__ warnings on more compilers.
* runtests now frees all allocated resources on exit.
* Add bmalloc, bcalloc, brealloc, and bstrdup TAP library functions.
* Fix runtests to still honor SOURCE and -s without BUILD and -b.
* Add tests/HOWTO documenting how to add new tests.
* More correct handling of system-specific errors in output checking.
* Ensure correct output ordering in test results.
* Add -h and a better usage message to tests/runtests.
* Add diag and sysdiag functions to the basic TAP library.
* Clean up data types in the basic C TAP library.
* Add the GCC nonnull attribute to the TAP library bail functions.

12 years agoUpdate Heimdal plugin test for changes to CrackLib rules
Russ Allbery [Fri, 11 May 2012 21:06:43 +0000 (14:06 -0700)]
Update Heimdal plugin test for changes to CrackLib rules

12 years agoConditionally add cracklib/packer to check_PROGRAMS
Russ Allbery [Fri, 11 May 2012 20:42:40 +0000 (13:42 -0700)]
Conditionally add cracklib/packer to check_PROGRAMS

This is better than noinst_PROGRAMS since it will be built with
make warnings.

12 years agoUpdate test suite for new length restriction, new username check
Russ Allbery [Fri, 11 May 2012 20:31:58 +0000 (13:31 -0700)]
Update test suite for new length restriction, new username check

Make the dictionary word we use to test longer now that we require
at least eight character passwords.  Also update the whitespace
tests.  Add tests for rejecting the username with digits appended.

12 years agoReject username followed by digits as the password
Russ Allbery [Fri, 11 May 2012 20:31:30 +0000 (13:31 -0700)]
Reject username followed by digits as the password

Reject passwords formed from the username portion of the principal
with digits appended.

12 years agoChange the minimum password length in the embedded CrackLib to 8
Russ Allbery [Fri, 11 May 2012 20:01:26 +0000 (13:01 -0700)]
Change the minimum password length in the embedded CrackLib to 8

14 years agoSupport linking with the system CrackLib
Russ Allbery [Mon, 15 Mar 2010 02:00:04 +0000 (19:00 -0700)]
Support linking with the system CrackLib

Support linking with the system CrackLib instead of the embedded and
stricter copy by passing --with-cracklib to configure.

14 years agoNote type handling fix in cracklib/HISTORY
Russ Allbery [Mon, 15 Mar 2010 01:04:52 +0000 (18:04 -0700)]
Note type handling fix in cracklib/HISTORY

14 years agoRemove to-do item about variable sizes in CrackLib
Russ Allbery [Sun, 14 Mar 2010 23:44:18 +0000 (16:44 -0700)]
Remove to-do item about variable sizes in CrackLib

14 years agoUse the correct variable sizes for int8/int16/int32 in CrackLib
Russ Allbery [Sun, 14 Mar 2010 23:42:34 +0000 (16:42 -0700)]
Use the correct variable sizes for int8/int16/int32 in CrackLib

Fix variable sizes in the embedded CrackLib on 64-bit platforms.  This
may fix interoperability problems with databases created on platforms
with a different native integer size.  Thanks, Karl Lehnberger and
Benj Carson.

14 years agoImported Upstream version 1.0 upstream/1.0
Russ Allbery [Wed, 17 Feb 2010 06:07:41 +0000 (22:07 -0800)]
Imported Upstream version 1.0

14 years agoAdd some missing statements from LICENSE release/1.0
Russ Allbery [Wed, 17 Feb 2010 06:00:56 +0000 (22:00 -0800)]
Add some missing statements from LICENSE

14 years agoLink the plugin with the Kerberos libraries
Russ Allbery [Wed, 17 Feb 2010 05:55:15 +0000 (21:55 -0800)]
Link the plugin with the Kerberos libraries

14 years agoImported Upstream version 1.0
Russ Allbery [Wed, 17 Feb 2010 02:41:01 +0000 (18:41 -0800)]
Imported Upstream version 1.0

14 years agoAdd some more missing files to the distribution
Russ Allbery [Wed, 17 Feb 2010 02:36:09 +0000 (18:36 -0800)]
Add some more missing files to the distribution

14 years agoDistribute and rename POD checks
Russ Allbery [Wed, 17 Feb 2010 02:29:14 +0000 (18:29 -0800)]
Distribute and rename POD checks

Include the POD checks in the distribution and rename them to match
the naming of other test programs.

14 years agoDistribute tests/data/wordlist
Russ Allbery [Wed, 17 Feb 2010 02:22:18 +0000 (18:22 -0800)]
Distribute tests/data/wordlist

14 years agoRelease 1.0
Russ Allbery [Wed, 17 Feb 2010 02:10:49 +0000 (18:10 -0800)]
Release 1.0

14 years agoNote that the MIT Kerberos plugin work is incomplete
Russ Allbery [Wed, 17 Feb 2010 02:09:40 +0000 (18:09 -0800)]
Note that the MIT Kerberos plugin work is incomplete

14 years agoUpdate LICENSE for portability layer and test suite addition
Russ Allbery [Wed, 17 Feb 2010 01:49:49 +0000 (17:49 -0800)]
Update LICENSE for portability layer and test suite addition

14 years agoAdd tests for POD documentation and spelling stopwords
Russ Allbery [Fri, 15 Jan 2010 07:47:02 +0000 (23:47 -0800)]
Add tests for POD documentation and spelling stopwords

14 years agoAdd a manual page for heimdal-strength
Russ Allbery [Fri, 15 Jan 2010 07:43:12 +0000 (23:43 -0800)]
Add a manual page for heimdal-strength

14 years agoUpdate README, add documentation for Heimdal
Russ Allbery [Fri, 15 Jan 2010 07:20:14 +0000 (23:20 -0800)]
Update README, add documentation for Heimdal

Remove the beta notification for this software, since we've been running
it in production for a while.  Explain more clearly how it compares to
just embedding CrackLib.  Add configuration instructions for Heimdal and
details about the new external password quality check function.

14 years agoAllow for Heimdal passing the principal as argv[0] to external check
Russ Allbery [Thu, 14 Jan 2010 21:25:16 +0000 (13:25 -0800)]
Allow for Heimdal passing the principal as argv[0] to external check

Current versions of Heimdal appear to pass the principal as the first
element of argv rather than passing the program name as the first element
and the principal as the first conventional argument.  Allow for this in
the external check implementation.

14 years agoAdd new plugin API for MIT Kerberos
Russ Allbery [Thu, 7 Jan 2010 04:50:08 +0000 (20:50 -0800)]
Add new plugin API for MIT Kerberos

Add a new plugin API for MIT Kerberos modelled after the plugin API
used for other MIT Kerberos plugins.  Thanks to Marcus Watts for
substantial research and contributions to the interface design.

14 years agoAdd a NEWS entry for the portability layer
Russ Allbery [Thu, 10 Dec 2009 21:24:47 +0000 (13:24 -0800)]
Add a NEWS entry for the portability layer

14 years agoAdd a changelog entry for supporting Heimdal's plugin API
Russ Allbery [Thu, 10 Dec 2009 06:51:59 +0000 (22:51 -0800)]
Add a changelog entry for supporting Heimdal's plugin API

14 years agoMove the external Heimdal check program to a separate directory
Russ Allbery [Thu, 10 Dec 2009 06:50:28 +0000 (22:50 -0800)]
Move the external Heimdal check program to a separate directory

14 years agoSkip the Heimdal plugin test if not built with Heimdal
Russ Allbery [Thu, 10 Dec 2009 06:45:38 +0000 (22:45 -0800)]
Skip the Heimdal plugin test if not built with Heimdal

14 years agoFix the Heimdal plugin and test suite
Russ Allbery [Thu, 10 Dec 2009 06:20:28 +0000 (22:20 -0800)]
Fix the Heimdal plugin and test suite

The plugin code now passes all of its test cases, and the test suite
is run by default.

14 years agoAdd a test for the Heimdal shared module
Russ Allbery [Thu, 10 Dec 2009 05:32:05 +0000 (21:32 -0800)]
Add a test for the Heimdal shared module

14 years agoTake advantage of the portability layer for plugin code
Russ Allbery [Thu, 10 Dec 2009 01:26:09 +0000 (17:26 -0800)]
Take advantage of the portability layer for plugin code

Use the new portable/system.h header and rely on the existence of a
sane snprintf and working strlcpy.

14 years agoRename Heimdal external password strength test
Russ Allbery [Thu, 10 Dec 2009 01:25:40 +0000 (17:25 -0800)]
Rename Heimdal external password strength test

heimdal/external is more accurate than heimdal/basic, since a plugin
test is coming next.

14 years agoAdd a basic portability library
Russ Allbery [Thu, 10 Dec 2009 01:13:49 +0000 (17:13 -0800)]
Add a basic portability library

Add a basic portability library that ensures that functions like snprintf
and strlcpy are available, since I want to use them in the plugin code.
Synchronized with rra-c-util 2.1.

14 years agoInitial implementation of Heimdal plugin API
Russ Allbery [Wed, 9 Dec 2009 07:50:25 +0000 (23:50 -0800)]
Initial implementation of Heimdal plugin API

Support the Heimdal shared module API for embedded password strength
checking and build that interface only if building against Heimdal.

14 years agoAdd TODO items for better integration with regular CrackLib
Russ Allbery [Thu, 19 Nov 2009 06:38:59 +0000 (22:38 -0800)]
Add TODO items for better integration with regular CrackLib

14 years agoAdd a test suite
Russ Allbery [Thu, 19 Nov 2009 06:35:54 +0000 (22:35 -0800)]
Add a test suite

Add a test suite using the driver and library from C TAP Harness 1.1.

14 years agoFixed the padding written by the packer utility
Russ Allbery [Thu, 19 Nov 2009 06:26:02 +0000 (22:26 -0800)]
Fixed the padding written by the packer utility

Fixed the data format written by the included packer program to add
enough nul bytes at the end of the data.  Previously, there was not
enough trailing nul bytes for the expected input format, leading to
uninitialized memory reads in the password lookup.