Firefox corrupted the database of passwords (logins.json)
In the middle of my FF session, about:logins stopped showing any stored logins/passwords. Although the automatic form filling continued to work on every page I tested.
- FF version is 115.9.0esr (64-bit) on Debian 12 Linux
- I use Master Password
According older questions for the similar topic:
- there is no logins.json.corrupt file in the profile directory
- I'm running FF on Linux and there is no "Old data" or similar subdirectory
- for the same reason, I do not run AVG or any other MS Windows utility and no external program touched directories with FF profiles
- FF restart did not help but, surprise, the form filling continued working
- I tried to create new empty profile, copy logins.json and key4.db files into it and start FF with this new profile - resulted same behavior
After more debugging, I've found the probable cause: in logins.json file, the first item contains unecrypted username and password instead of encrypted ones. As a test, I stopped FF, removed this item from logins.json and restarted FF. Now, everything looks OK, for the first sight.
1. Is it really OK or something else crashes tomorrow? :) 2. What's the correct way to fix such issue? 3. Is it a known problem? I cannot reproduce it in any way nor I know what caused this corruption. So I cannot report new Bug.
Thanks for your answers. Milan
Сви одговори (3)
S takovým "náhlým" zmizením hesel jsem se nesetkal. Možná, pokud používáš nějakou synchronizaci Firefoxu, tak se to zesynchronizovalo nějakým opačným směrem.
Neklikl jsi někde ve Firefoxu na Obnovu Firefoxu? Pak by na PLoše měla být záloha toho starého profilu (i s hesly).
Ono se to špatně poslouchá, ale stále platí ZÁLOHOVAT!
Yes, I was surprised because I do not use any sync or anything touching my DB of logins/passwords. Yes, I had a backup but it was some months old so I'm really glad I, hopefully, fixed it. And that's my question - can I check it is fixed? No missing or unreadeable items or so.
BTW: about backups... Sure one should make backups regularly but, on the other hand, such service like this database should be taken really seriously by FF team. I was surprised how many issues I've found and several of them without any clear resolution.
Poděkování můžeš napsat na web autorů Firefoxu. Přístup k němu najdeš přes nabídku Nápověda.