? Pending

User tests: Successful: Unsuccessful:

avatar photodude
photodude
30 Apr 2017

Pull Request for Issue new version of phpass .

Summary of Changes

Update to current version of phpass found at http://cvsweb.openwall.com/cgi/cvsweb.cgi/projects/phpass/PasswordHash.php?r1=1.9#rev1.9

additional release note information in the official announcment
http://www.openwall.com/lists/announce/2017/05/07/1

  • Dropped PHP 3 & 4 support in favor of PHP 7 friendliness (no deprecation warnings). Specifically:
    • Added the new-php5-style constructor.
  • Just assume md5() supports a second argument, which it does since PHP 5.
  • Use the === and !== comparison operators.
  • While at it, dropped the fallback to CRYPT_EXT_DES (if there's no working CRYPT_BLOWFISH, fallback to the portable hashes right away).

Testing Instructions

unit tests pass / code review

Documentation Changes Required

none

Note

Remember within Joomla, this is only used to verify then migrate old passwords to the new hashing methods.

/CC @mbabker @wilsonge @rdeutz

avatar photodude photodude - open - 30 Apr 2017
avatar photodude photodude - change - 30 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Apr 2017
Category External Library Libraries
avatar photodude
photodude - comment - 30 Apr 2017

Please ignore the php5.6 failure on AppVeyor. One of the required downloads to run SQLSRV seems to be having DNS issues.

avatar photodude photodude - change - 1 May 2017
The description was changed
avatar photodude photodude - edited - 1 May 2017
avatar photodude photodude - change - 1 May 2017
The description was changed
avatar photodude photodude - edited - 1 May 2017
avatar laoneo
laoneo - comment - 1 May 2017

I like the "Dropped PHP 3 & 4 support" changelog ?

avatar photodude
photodude - comment - 7 May 2017

This is now an official phpass release
http://www.openwall.com/lists/announce/2017/05/07/1

avatar photodude photodude - change - 7 May 2017
The description was changed
avatar photodude photodude - edited - 7 May 2017
avatar photodude
photodude - comment - 7 May 2017

@mbabker will you restart the appveyor tests.

avatar photodude
photodude - comment - 9 May 2017

@demis-palma @zero-24 please consider reviewing this PR so we can get the PHPASS lib updated.

avatar PhilETaylor
PhilETaylor - comment - 12 May 2017

I have tested this item successfully on f59f9c6


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15704.

avatar PhilETaylor PhilETaylor - test_item - 12 May 2017 - Tested successfully
avatar mbabker
mbabker - comment - 12 May 2017

@mbabker will you restart the appveyor tests.

So either I'm signing into the wrong account or there's a limit on how after a build you can re-run it, I can't retrigger this one.

avatar rdeutz
rdeutz - comment - 12 May 2017

restartet /cc @mbabker

avatar photodude
photodude - comment - 12 May 2017

@mbabker I think when you restart an appveyor build the build is put back into the bottom of the queued stack as the builds do not run in parallel like they do on travis. This PR currently shows that it has a queued status, so it's "restarted" just pending when it gets to the top of the stack.

avatar photodude
photodude - comment - 12 May 2017

@mbabker thanks for restarting. All green as expected.
@rdeutz do we just want to merge on review here?

avatar photodude
photodude - comment - 18 May 2017

@rdeutz is there a reason to wait for 3.7.3 rather than merging for 3.7.2? This is just a library update.

avatar rdeutz
rdeutz - comment - 19 May 2017

@photodude yes, 3.7.2 will only include fixes for regressions or bugs we introduce with 3.7.[0|1]. We still need to stabilize 3.7 so I am not taking any risk on merging other PR

avatar photodude
photodude - comment - 19 May 2017

understood, thanks for the explanation.

avatar rdeutz rdeutz - change - 23 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-23 20:05:25
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 23 May 2017
avatar rdeutz rdeutz - merge - 23 May 2017
avatar photodude
photodude - comment - 23 May 2017

Thanks for merging @rdeutz
One more PHP 7 improvement done. No more depreciation notices related to PasswordHash.

Add a Comment

Login with GitHub to post a comment