Open Bug 1634787 Opened 1 year ago Updated 5 months ago

Honour the `pattern` attribute when generating a password


(Toolkit :: Password Manager, defect, P3)





(Reporter: MattN, Unassigned)


(Blocks 1 open bug, )


(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
You need to log in before you can comment on or make changes to this bug.