[Proftpd-user] authenticate against password in mysql, created by password_hash function in php
Catscrash <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, is it possible to authenticate proftpd against a mysql table, filled with passwords created by the php password_hash function? mod_sql or mod_sql_password don't seem to have a fitting option, but maybe I missed something? http://de2.php.net/manual/en/function.password-hash.php - password will look something like "$2y$10$.vGA1O9wmRjrwAVXD98HNOgsNpDczlqm3Jq7KnEd1rVAGv3Fykk1a" 2y is the marker for bcrypt algorithm, 10 is cost, 22 characters after last $ are salt, then hash Thanks for any help best regards! ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html