Closed
Bug 2057164
Opened 11 days ago
Closed
Primary Password reprompt after cancelled on subsequent sync requests
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
155 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox153 | --- | unaffected |
| firefox154 | --- | fixed |
| firefox155 | --- | fixed |
People
(Reporter: joschmidt, Assigned: joschmidt)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [fxcm-storage])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
No description provided.
| Assignee | ||
Updated•11 days ago
|
Updated•11 days ago
|
Comment 1•11 days ago
|
||
Set release status flags based on info from the regressing bug 2053724
status-firefox153:
--- → unaffected
status-firefox154:
--- → affected
status-firefox155:
--- → affected
status-firefox-esr140:
--- → unaffected
status-firefox-esr153:
--- → unaffected
| Assignee | ||
Updated•11 days ago
|
Component: Password Manager → Sync
Product: Toolkit → Firefox
| Assignee | ||
Comment 2•11 days ago
|
||
Updated•11 days ago
|
Assignee: nobody → joschmidt
Status: NEW → ASSIGNED
Pushed by joschmidt@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/998102077320
https://hg.mozilla.org/integration/autoland/rev/eb80b5c63625
Skip Rust logins sync while Primary Password is locked r=bdk,sync-reviewers
Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Comment 6•10 days ago
|
||
The patch landed in nightly and beta is affected.
:joschmidt, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox154towontfix.
For more information, please visit BugBot documentation.
Flags: needinfo?(joschmidt)
Comment 7•10 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: With the Rust logins storage backend active (default), users who have set a Primary Password and use Sync get caught in a Primary Password prompt loop: after they cancel the prompt once, the Rust logins sync engine re-prompts on the very next scheduled sync (every few minutes) instead of backing off. The legacy JS backend went silent after a cancel and retried at the 15-minute master-password-locked interval; this patch restores that behaviour for the Rust backend.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: Ensure the Rust logins storage is active (
signon.storage.rust.active= true).
- Set a Primary Password (about:preferences#privacy → "Use a Primary Password").
- Sign in to a Firefox Account, enable Sync with Passwords syncing on.
- Restart Firefox so the Primary Password is locked.
- When the Primary Password prompt appears during a sync, click Cancel.
- Expected (with fix): no further prompts for ~15 min; password sync silently backs off and resumes after you unlock. Without fix: the prompt reappears on every scheduled sync (every few minutes).
- Risk associated with taking this patch: low
- Explanation of risk level: Small, self-contained change: an early-return guard in
RustPasswordEngine._sync()that only fires when the Primary Password is locked (!Services.logins.isLoggedIn). It touches only the Rust logins sync path (signon.storage.rust.active); the legacy backend and all other engines are unaffected. When unlocked, behaviour is unchanged (delegates to the normal sync). It reuses the existing, long-standing scheduler backoff (MASTER_PASSWORD_LOCKED/ 15-min retry) rather than adding new machinery. Covered by a new xpcshell test. - String changes made/needed?: None
- Is Android affected?: no
Attachment #9615615 -
Flags: approval-mozilla-beta?
| Assignee | ||
Comment 8•10 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D313691
Updated•8 days ago
|
Attachment #9615615 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•8 days ago
|
| Assignee | ||
Updated•6 days ago
|
Flags: needinfo?(joschmidt)
You need to log in
before you can comment on or make changes to this bug.
Description
•