Crypt::Cracklib(3pm)

Crypt::Cracklib3pm

Perl interface to alec muffett's cracklib.

Usage

  use Crypt::Cracklib;
  my $reason = fascist_check($password, $dictionary);
  print "Ok"  if  check($password, $dictionary);
  print "Bad" if !check($password, $dictionary);

Overview

This is a simple interface to the cracklib library.

Functions

•

fascist_check( $password, [ $dictionary ] )

Returns a string value. Either an error, or "ok".

•

bad_pass( $password, [ $dictionary ] )

Returns a non-empty string on success or an empty string on failure.

•

check( $password, [ $dictionary ] )

Returns a true or false value if the password is acceptable or not.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Dan Sully <[email protected]>

Bugs

Please file bugs at https://github.com/dsully/perl-crypt-cracklib/issues

From libcrypt-cracklib-perl 1.7-4+b4 in Debian 13 (Trixie). Parsed by carta from the page's man source.