fix: reintegrate PasswordStrength (#4111)#4291
fix: reintegrate PasswordStrength (#4111)#4291singhh-piyush wants to merge 1 commit intoarchlinux:masterfrom
Conversation
5de29ec to
20576ab
Compare
PR DescriptionRestores the Changes:
Tests and Checks
Verification:
|
5ce42c4 to
bb2a849
Compare
374096d to
d4f916f
Compare
|
Logic and tests for Technical Note: The All logic has been verified locally with |
d4f916f to
c9d01da
Compare
c9d01da to
fcaff8b
Compare
|
Thanks for the feedback! I integrated Files changed
Tests Tested locally in a QEMU VM running the Arch ISO. Screenshots attached.
|
|
My personal opinion is that adding this functionality if it forces you to make a more complex password makes no sense at all, but if it’s just a warning and then it will skip this password, then that’s a different matter. |
Hey, it's a non-blocking warning only. You can still proceed with any password regardless of strength, more of a hint/warning for the user. i added this to address issue #4111 where |
|
hey @svartkanin , you were right, I made changes as suggested. Extended the Could you take a look at the PR when you get a chance? Solves issue #4111 |
|
I'll try getting around to test this this week |
79b6e20 to
122e9f2
Compare
122e9f2 to
33b0131
Compare
|
Thank you for the feedback. Sorry for the messy commit history. I was working on my local archinstall at the same time, testing some BTRFS formatting changes and some of those unrelated changes got added into this branch by accident. The PR is now clean. All three points from the review addressed:
Regarding |
|
Could you rebase master, there was a bigger change merged which unfortunately conflicted with your branch |






PR Description:
Removes
PasswordStrengthenum and associated logic fromlib/models/users.py. This is dead code following the refactor in88b91ae.Changes:
lib/models/users.py: DeletedPasswordStrengthclass and methods (value,color,strength,_check_password_strength).Enum,auto, andtrfromusers.py.lib/models/__init__.py: RemovedPasswordStrengthfrom imports and__all__.Tests and Checks
Verification:
pytest tests/passed (13/13).ruff,mypy,flake8, andpylint.grep -r "PasswordStrength" archinstall/returned 0 results.