I suggest using the .inc file in HEAD to replace (or as an alternative for) the external library. Obviously, this limits you to portable hashes, but it will make the D6->D7 upgrade path easy.

Comments

naheemsays’s picture

WHat are the chances of this being implemented?

I am the maintainer of the phpbb2drupal module, and for phpbb3 imports, I want to have this module as a dependency so that passwords continue to work after import.

pwolanin’s picture

@nbz - I might propose some minor changes for the D7 library in the near future. After that it's on my list for sometime this summer.

naheemsays’s picture

no probs.

pumpkinkid’s picture

Would this imply that transitioning between using phpass with D6 and D7 without phpass would be possible? If so, what is the status of this?

lpalgarvio’s picture

the alternative would be placing PasswordHash.php in the /sites/all/libraries directory.

that would be a quick easy fix for Drush & other usage, before attempting the backport.

pwolanin’s picture

Status: Active » Fixed

added D7 code to 6.x-2.x branch

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.