Delete all passwords from Desktop and syncing does not remove them from other devices
Categories
(Firefox :: about:logins, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox120 | --- | wontfix |
| firefox121 | --- | wontfix |
| firefox122 | --- | wontfix |
| firefox123 | --- | wontfix |
| firefox124 | --- | wontfix |
| firefox125 | --- | fix-optional |
People
(Reporter: esajic, Unassigned, NeedInfo)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [fxcm-bugs])
User Agent: Mozilla/5.0 (Android 8.1.0; Mobile; rv:109.0) Gecko/119.0 Firefox/119.0
Steps to reproduce:
Prerequisites
- Firefox Desktop (Ubuntu) attached to Sync account
- Firefox Android (Android 10) on mobile phone attached to the same Sync account
- Password sync enabled on both devices
- Same password entries visible in Saved Logins on both devices
Steps
A. In Firefox Desktop go to Saved Logins > Delete All and confirm. Manually run sync by clicking on user profile in hamburger menu and choosing Sync now.
B. Uninstall Firefox Android on mobile phone using Play Store
C. Reinstall Firefox Android 119.1.1 on mobile phone using Play Store
D. Go to Firefox saved logins on mobile phone - no entries present
E. Open Firefox on mobile phone and associate with Sync account.
F. Go to Firefox saved logins on mobile phone - password entries present
Actual results:
Password entries appear in the phone at step F although they are completely removed from Firefox Desktop in step A and synced at step B.
Problem also occurs on Firefox Android 119.1.1 on my tablet when following the steps above.
Expected results:
Phone should show same entries as Desktop i.e. zero entries.
There is no Delete All in Saved Logins on Firefox Android and I have hundreds of entries.
So it seems that the only way to get rid of these is to completely delete my Mozilla account and lose bookmarks/history, which I'm not keen to do.
Is there a workaround for this? Thanks.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
I was able to reproduce this issue on the latest versions of the application: the saved logins remained available on Firefox for Android, although they were all deleted from Firefox Desktop and manual sync was performed on both devices.
Comment 2•2 years ago
|
||
The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.
I have encountered the same issue. I believe this is happening across all devices. I've deleted some passwords that I no longer want to store while using Firefox on Windows, but those deletions haven't been reflected on my other devices (an Android phone and macOS laptop). Password changes are being synced, but deletions are not.
Comment 4•2 years ago
|
||
This looks like a desktop bug - I can reproduce it and the deletions are not being synced. We'll look into this.
Updated•2 years ago
|
Yes, it's just a desktop bug. I've just tried the opposite: deleting a password in Firefox for Android and Firefox for iOS, and it has been removed from my Firefox for desktop. So, the sync problem is just one way. I hope it can get solved soon. Thank you.
Updated•2 years ago
|
Comment 6•2 years ago
|
||
In my tests, I find that at https://searchfox.org/mozilla-central/rev/896042a1a71066254ceb5291f016ca3dbca21cb7/toolkit/components/passwordmgr/storage-json.sys.mjs#753, my logins generally do not have everSynced even though they clearly have. Having another quick look at bug 1752839, it looks like new logins get that field (I'm assuming false but it's possible it's undefined, I didn't check), and get set to true only after the device next has a local change and therefore syncs. Most of my logins have not changed since that landed, so do not have that field.
Because these records don't have everSynced, it should be easy to identify impacted logins (ie, that attribute will be undefined). It's less clear what to do about them, but it seems like unconditionally setting them to true is the right thing (either that, or in the line above, treat undefined as true). The worst this will cause is that sometimes we might write a tombstone for a record that never synced, but after this much time has passed, I can't see how any login without that attribute will not have synced, and that tombstone will do no harm.
Comment 7•2 years ago
|
||
Set release status flags based on info from the regressing bug 1752839
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
:enndeakin, since you are the author of the regressor, bug 1752839, could you take a look?
For more information, please visit BugBot documentation.
Comment 10•2 years ago
|
||
Set release status flags based on info from the regressing bug 1752839
Updated•2 years ago
|
Updated•2 years ago
|
Comment 12•1 year ago
|
||
does this mean the passwords I deleted on desktop may actually still be in the server...? Do I need to completely delete my account to actually delete my previously stored passwords?
Comment 13•1 year ago
|
||
that's possible - although they are encrypted such that they are unable to be re-read by anyone. You can check the current state of the server via the https://addons.mozilla.org/en-US/firefox/addon/about-sync/ addon, and that will also let you delete items. Further, if you explicitly disable passwords from syncing, then do a "sync now", all passwords on the server are removed. You can then re-enable it, and only current logins on your device will be re-uploaded.
Comment 14•1 year ago
|
||
Here's what I tried:
- wipe firefox android storage data
- on desktop's about sync, reset and wipe passwords
- confirm it's gone (the whole section is gone)
- start firefox android, login to sync account
- wait a bit
- open save passwords dialog
- see all previously deleted passwords back
- refresh about sync page on desktop, see all the "wiped" passwords back as well
did I do it wrong somewhere?
Comment 15•10 months ago
|
||
I just did a massive cleanup of my logins and was dismayed to run into this bug. Here is how I ended up getting everything in a consistent state:
- On the "good" instance of Firefox, export all passwords to a file, then remove all passwords from Firefox.
- On the same instance, I disabled password sync, then performed a "sync now" to remove passwords from the server (per comment 13).
- On every other instance of Firefox signed in to Sync, used the option to remove all passwords, then used "sync now."
- On the same instance I exported passwords from, I re-enabled password sync, then imported from the exported file.
- For some reason, as soon as I did this, I watched all of the passwords begin to disappear. As soon as they were all gone, I ran the import again, and then they persisted.
- Use "sync now" on the "good" instance.
- After sync completed, use "sync now" on each of the other instances.
- Now everything is consistent!
Comment 16•10 months ago
|
||
(In reply to nanaya from comment #14)
- on desktop's about sync, reset and wipe passwords
...
did I do it wrong somewhere?
Yes, using about:sync in this way does not delete the passwords.
I just did a massive cleanup of my logins and was dismayed to run into this bug. Here is how I ended up getting everything in a consistent state:
I just tried this again and I can not reproduce it. After removing all passwords on Desktop Firefox and syncing, I used about:sync and observed that all passwords on the server were now "tombstones" - it tells me I have "512 records (512 deleted)", and looking at any record shows it only contains deleted: true. I then synced on Android and all passwords were removed there too.
So best I can tell, any logins added before bug 1752839 landed - either added manually or by sync - will strike this bug. But logins added after (again, either manually or by sync) are handled correctly. For anyone else trying, the important part is whether about:sync thinks all passwords are deleted records or not. I also think that this bug remains actionable for logins which haven't changed in a couple of years, so I'm keeping it open.
Description
•