![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Password file with a Primary password which has been forgotten
Dead in water. Can the primary password be reset using the"Account Recovery Key"? And how without losing the encrypted data for all user names and passwords?
Ndryshuar
Krejt Përgjigjet (2)
Robert, a local primary password and an online Mozilla account password are completely independent.
To make sure that we are talking about the same password, then the local primary password is what you would enter into the small "Password Required - Mozilla Firefox" dialogue box that can appear when you visit specific sites? and entering it results in the autofilling of that site's login fields?
If so, then as far as I know there is no way to recover or bypass a lost local primary password (short of brute force methods), and your online Mozilla account recovery information won't help here, unfortunately.
If you use Sync then the logins stored on the Sync servers are encrypted with a key derived from the password of the Sync account just like all other data that is uploaded to the Sync server. On a desktop device you can use the Primary Password to protect the logins stored in logins.json in the Firefox profile folder. The only way to recover from a forgotten PP is having access to a copy of key4.db from before you used the PP.
If you have the logins on the Sync server then you can create a new profile and connect this profile to Sync using the same email address and password.