Skip to content

Store the password in hashed form. #4

@Zegnat

Description

@Zegnat

Several server implementations have been updated to allow for the password to be stored as a bcrypt hash. The PHP implementation supporting bcrypt will bring the minimal PHP version required up to 5.3.7.

While 5.3 (and 5.4) versions are no longer officially supported they are used in abundance. Over 40% of WordPress installations are on PHP 5.2 or 5.3 and according to W3Techs’ PHP statistics ~52% of all PHP servers use a version older than PHP 5.4. That is a huge part of the market that will be excluded, for a piece of open-source software that is relatively easy.

An alternative might be PBKDF2, which is the NIST recommended way of storing passwords. hash_pbkdf2 only came natively to PHP 5.5.0, but several pure-PHP implementations exist.

We could use the BSD licensed defuse/password-hashing for secure password storage without giving up on old PHP versions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions