[GIT-PULLS] [php-src] PR #23076: ext/standard: notice on long passwords in bcrypt

[email protected] (Sjord)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23076
Author: Sjord

Bcrypt supports passwords up to 72 characters. The remainder is ignored.

Earlier proposed here:
- https://news-web.php.net/php.internals/75692
- https://wiki.php.net/rfc/password_hash_spec

Bcrypt truncation can result in serious security bugs:
- https://pentesterlab.com/blog/freshrss-bcrypt-truncation-auth-bypass
- https://www.invicti.com/blog/web-security/okta-vulnerability-bcrypt-auth
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.