I am currently working on a D7 port for a current project - https://github.com/erikwebb/password_policy
It is not a complete port, as we're only porting the needed functionality for this project. Having said that, this is largely a direct port without any liberal modifications.
The work will likely complete by EOY.
Comments
Comment #1
erikwebb commentedThis module is in working order and has been deployed to government sites, passing security audits. The tests and other features are not fully implemented, but this should serve as a useful starting point.
Comment #2
hadsie commentedJust tested this out, and it's working quite well for me so far. Would be great to see this rolled back into the drupal project.
Comment #3
wiifmHave downloaded master today, installed fine, small issue when adding a new password policy, the expiration field is currently mandatory, yet the form indicates it is not.
Submitting a new policy without the expiration left empty reveals
So either:
* the form needs to be altered to make this field mandatory
* or default the field to 0 or something to mean 'never expires'
Comment #4
erikwebb commentedThe field should now be defaulted to '0', both in the form and the database for consistency.
So about merging this copy onto d.o....
Comment #5
slashrsm commentedI've tested this and works fine on my websites.
Comment #6
slashrsm commented@erikwebb Do you also plan to port password_policy_password_tab?
Comment #7
erikwebb commented@slashrsm: No, this module was ported as part of a project at the end of last year. We had no need for password_policy_password_tab, so it wasn't ported during the same effort.
Comment #8
slashrsm commentedCan you give any estimate how much work is needed to do that?
Comment #9
erikwebb commentedI currently don't have to time to do that. Password Policy was relatively straightforward, so I can't imagine Password Policy Password Tab would be hard either. I was hoping this project could be committed into the project and someone could fill in the gaps.
Comment #10
deekayen commentedI merged it into master and gave you commit access in case I messed up the conflict resolution.
Comment #11
anavarreSubscribe