Doc #70615 [NEW]: 72-character password limit

From: Date: Thu, 01 Oct 2015 17:52:15 +0000
Subject: Doc #70615 [NEW]: 72-character password limit
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12797@lists.php.net to get a copy of this message
From: dave at qccareerschool dot com Operating system: PHP version: 5.6.13 Package: *General Issues Bug Type: Documentation Problem Bug description:72-character password limit Description: ------------ --- From manual page: http://www.php.net/function.password-hash --- >Caution >Using the PASSWORD_BCRYPT for the algo parameter, will result in the password parameter being truncated to a maximum length of 72 characters. Since PASSWORD_DEFAULT is currently set to PASSWORD_BCRYPT, does using PASSWORD_DEFAULT for the algo paramater _also_ result in a truncated password? It's not entirely clear. Maybe the section should be reworded to >Caution >Using bcrypt will result in the password parameter being truncated to a maximum length of 72 characters. or perhaps >Caution >Using PASSWORD_BCRYPT (and, by extension, PASSWORD_DEFAULT) for the algo parameter will result in the password parameter being truncated to a maximum length of 72 characters. -- Edit bug report at https://bugs.php.net/bug.php?id=70615&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70615&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70615&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70615&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70615&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70615&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70615&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70615&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70615&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70615&r=support Expected behavior: https://bugs.php.net/fix.php?id=70615&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70615&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70615&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70615&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70615&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70615&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70615&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70615&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70615&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70615&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70615&r=mysqlcfg

« previous php.doc.bugs (#12797) next »