Doc #76716 [NEW]: PASSWORD_ARGON2I not always being available not documented.
| From: | phpdoc at mail dot my1 dot info | Date: | Tue, 07 Aug 2018 12:58:54 +0000 |
| Subject: | Doc #76716 [NEW]: PASSWORD_ARGON2I not always being available not documented. | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15948@lists.php.net to get a copy of this message | ||
From: phpdoc at mail dot my1 dot info
Operating system: -
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:PASSWORD_ARGON2I not always being available not documented.
Description:
------------
---
From manual page: http://www.php.net/function.password-hash
---
According to the relevant RFC at [1] Argon2i via password_hash() is not
only optional but needs extra work for inclusion into the respective PHP
installation unless one uses a precompiled build with everything inside
(e.g. PHP's official Windows builds), this leads to it being unavailable
at some webhosters which, while not being really great, leads to a whole
different problem.
one cannot expect Argon2i to be available just because PHP is 7.2 (and
Argon2id on 7.3 respectively), meaning users need to know that the PHP
Version is NOT the correct way to judge Argon2 availability, and that
they will need to check for it even if the PHP is new enough, and either
fail gracefully or at least fall back to default.
[1]
https://wiki.php.net/rfc/argon2_password_hash
--
Edit bug report at https://bugs.php.net/bug.php?id=76716&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76716&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76716&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76716&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76716&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76716&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76716&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76716&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76716&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76716&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76716&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76716&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76716&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76716&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76716&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76716&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76716&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76716&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76716&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76716&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76716&r=mysqlcfg