Index of /pub/projects/pam/modules/pam_passwdqc/contrib/php
Name Last modified Size
Parent Directory 23-Jun-2016 07:37 -
historical/ 11-Mar-2017 23:24 -
GenPhrase-1.2.1.tar.gz 11-Mar-2017 23:21 47k
GenPhrase-1.2.1.zip 11-Mar-2017 23:20 52k
PHP_passwdqc_check-20130307.tar.gz 23-Jun-2016 05:33 22k
PHP_passwdqc_check-20130307.zip 23-Jun-2016 05:33 25k
README.txt 17-Jul-2016 05:01 1k
PHP_passwdqc_check is a PHP port of passwdqc-check.c, by Eric Helvey
<helvdog> @solardiz Just wrote PHP version of passwdqc-check.c usable as a AJAX password strength checker. Interested in the code?
<@solardiz> @helvdog Yes, I'd like to take a look at your PHP version of passwdqc-check.c usable as a AJAX password strength checker. Thanks!
<@helvdog> @solardiz https://github.com/helver/PHP_passwdqc_check Be gentle. My ego is fragile.
<@solardiz> @helvdog Thanks! Are the pass/fail results from your PHP code meant to always match those of passwdqc_check.c? What testing did you perform?
<@helvdog> @solardiz My testing was not thorough. Mostly eyeballs and small samples. Do you have a test suite with results that I could run against?
<@solardiz> @helvdog You may also run both C and PHP on randomly generated strings for a long while and spot any different results
<@helvdog> @solardiz *grin* Yeah... I can do that. gonna take awhile though. The PHP code is not fast...
<@solardiz> @helvdog How fast is your code, e.g. in ms to check a typical good password on a modern CPU core with current versions of PHP?
<@helvdog> @solardiz I'm going to find out...
GenPhrase is based on passwdqc's pwqgen program, by Timo H