feat: policy-aware password generation in autofill (parity A3) (v2.10.4) Browser parity gap A3 (MEDIUM). The autofill surface now detects a signup / password field's length constraints and offers to generate a password the site will accept, instead of a fixed-length one. - PasswordPolicy (pure): fromHtmlAttributes reads minlength/maxlength and falls back to pattern quantifiers (.{N,M} / .{N,} / .{N}) with the same precedence as the browser's policy.ts; generationLength offers the strongest length the site accepts (generator-policy.ts); constraintNote for the UI - AssistStructureParser: read the password field's htmlInfo attributes into passwordPolicy, and flag isNewPassword from autocomplete=new-password - AutofillResponseBuilder.generateDatasetFor: fill the password field with a PasswordGenerator value sized to the policy; menu-only row - PeachAutofillService: offer the generate dataset on new-password fields or any password form with no matching login (never over a known match); the existing save flow captures the generated value like any other fill - PasswordPolicyTest: 15 tests Scope: only HTML attribute constraints port — AssistStructure does not expose the page prose the browser also scrapes, so prose-derived char-class rules are out of reach on Android. Live generate-row needs on-device QA.

dev · 4 weeks ago · 2026-08-02 · 5.8 MB

$ koh steal kepr.uk/peach-android@2d77bd8340ee
·
← d8244eb8a3b9 8d6c20159911 →
⇓ download .face