Skip to content

Constraint: PasswordStrength #109

Description

@cursor

Goal

Add a PasswordStrength constraint — heuristic password strength evaluation inspired by Symfony (Assert\PasswordStrength), without external APIs.

Reference

  • Symfony: Symfony\Component\Validator\Constraints\PasswordStrength.
  • Align thresholds/levels with the reference as much as possible without copying third-party dictionaries.

Constraints

  • No new dependencies — stdlib only (length, character classes, simple heuristics such as repeats/sequences).

Scope

  • Explicitly document that this is not zxcvbn and not Have I Been Pwned; tests for weak/sufficient passwords.

Complexity

3 / 5.


Migrated from Linear: IGO-37
Priority: Medium
Estimate: 3 points

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions