Jump to content

Use new PHP5.5 password functions in IPS4

Featured Replies

Posted

It may be worth moving to bring the password features being added to PHP 5.5 into IPS4.

Here's a library that brings the features forwards into PHP 5.3.7+

https://github.com/ircmaxell/password_compat

These methods use BCRYPT by default for hashing passwords.

P.S. It is MIT licensed.

  • Management

We plan to use different functions than MD5 for password storage.

  • Author

We plan to use different functions than MD5 for password storage.

In that case then. this is a good future proof way, since it gives you the ability to change hash algorithm with ease.

i think md5 + salt is a great way for hash the password that IPB using it ( md5(md5(pwd) . md5(salt)) )

Our minimum requirement is 5.3.0+. That library requires 5.3.7+ you said, so what you are looking at doesn't sound possible based on minimum requirements alone.

  • Author

Our minimum requirement is 5.3.0+. That library requires 5.3.7+ you said, so what you are looking at doesn't sound possible based on minimum requirements alone.

That's related to

Version Description 5.3.7 Added $2x$ and $2y$ Blowfish modes to deal with potential high-bit attacks.

Realistically you're requiring 5.3+, I can't imaging anyone would want to use a lower version 5.3.7 anyway.

I support this.

  • 2 weeks later...

That's related to

Version Description 5.3.7 Added

$2x$

and

$2y$

Blowfish modes to deal with potential high-bit attacks.

Realistically you're requiring 5.3+, I can't imaging anyone would want to use a lower version 5.3.7 anyway.

Our minimum requirement is 5.3.0. If it requires 5.3.7, we can't make use of it.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.