Closed Bug 1634787 Opened 4 years ago Closed 1 year ago

Honour the `pattern` attribute when generating a password

Categories

(Toolkit :: Password Manager, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: MattN, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [passwords:generation])

The pattern attribute specifies a regular expression the form control's value should match. If our generated password doesn't match it we should try other generated passwords.

TBD: how do we honour the requirements? Easiest would be to have many different formats available and test the pattern on each of them at different lengths until one works. e.g.

  • current character classes
  • add some symbols (see bug 1559986)
  • remove numbers from the current classes
  • remove letters from the current classes
Severity: -- → S3

There are too many edge cases and pattern in password field is a questionable feature we would not like to encourage.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.