Closed Bug 1718368 Opened 4 years ago Closed 4 years ago

Lost all passwords after a window reboot

Categories

(Core :: Security: PSM, defect)

Firefox 90
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: tctuvan, Unassigned)

Details

Attachments

(1 file)

Attached image 2021-06-26_115541.jpg

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

I tried to import password from csv.
I do not sync for passwords.

Actual results:

When start FF after a windows reboot, FF seems to regenerate key4.db , the modifed time is 2018. After some mins, the modified time is now.

Key4.db is changed, it caused all passwords are not appeared, even the logins.json still there with my passwords.

Why key4.db is changed whenever I started FF after a windows reboot.
I disabled all addons, but this issue still exists

Expected results:

Do not change key4.db

Setting this to Toolkit: Password Manager so that someone with more knowledge in this area can take a look. If this is not the correct component, please move it to a more appropriate one. Thanks!

Component: Untriaged → Password Manager
Product: Firefox → Toolkit

I guess :keeler might have more insight what could cause this issue. I'll move this bug to PSM, if it is not the right component for this bug, feel free to move it back.

Component: Password Manager → Security: PSM
Product: Toolkit → Core

Firefox creates a new key4.db if one doesn't exist, but there's no reason it would replace an existing one with a new(?) one with a modified time of 2018. Maybe this is due to malware? Or some sort of setup that wipes all changes to your drive on reboot?

Flags: needinfo?(tctuvan)

I have kaspersky, i don't think there are some malwares.
I double checked. The key4.db is modifed just when FF is started the first after a windows reboot. I think there is a reason that make FF auto regenerate the key4.db. I think it could be the Sync function?

Flags: needinfo?(tctuvan)

If you disable sync, does it still happen?
Does this only happen after you restart your machine? If you close and reopen Firefox, does it happen?

Flags: needinfo?(tctuvan)

No, It still exists. Even if I logged out of firefox account.
It only happend 1 time after reboot windows.
If close and reopen firefox, it did not modify key4.db and no problem happen

Flags: needinfo?(tctuvan)

(In reply to Tctuvan from comment #6)

It only happend 1 time after reboot windows.
If close and reopen firefox, it did not modify key4.db and no problem happen

To me this indicates the issue is with how your copy of Windows works, not Firefox. Is the key4.db from 2018 empty or does it have keys in it?

Flags: needinfo?(tctuvan)

The key4.db still have keys in it. I believe it was regenerated by ff. Because the modified time is in the past 2018. You can see in the image above

Flags: needinfo?(tctuvan)

(In reply to Tctuvan from comment #8)

The key4.db still have keys in it. I believe it was regenerated by ff. Because the modified time is in the past 2018. You can see in the image above

Unless you're migrating from another Firefox profile, there's no reason Firefox would create a key4.db file containing keys with a modification time in the past. Some other software is doing this. After all, if Firefox were doing it, it would do it every time, and not just after a Windows reboot, right?

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID

In the past, I tried to migrating from old Firefox profile. Anyway, I deleted key4.db then let FF generated new one.
Now I can't even save a new password. After reboot, all passwords are hidden because of key4.db
I don't know why it go that way. But i still think FF did this. The FF developer should know when FF regenerated or modified key4.
Maybe Firefox found that key4 incompatible so it recreated it. Maybe FF only check key4 incompatible onetime after windows reboot.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: