Closed Bug 1607542 Opened 5 years ago Closed 4 years ago

Stop deleting key3.db in Firefox init

Categories

(Core :: Security: PSM, enhancement, P1)

73 Branch
enhancement

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: KaiE, Assigned: keeler)

References

Details

(Whiteboard: [psm-assigned])

Attachments

(1 file)

Now that you have completely removed support for key3.db, by disabling DBM in bug 1594931, firefox is no longer able to perform a migration from key3.db to key4.db

Consequently, I think you can stop cleaning up key3.db.

If a user previously used firefox 57 (pre bug 783994), and directly executes firefox 73+ on that profile, you probably don't want to delete the user's key3.db because it wasn't yet migrated.

If the user already ran 63+ on that profile, you had already deleted the key3.db file (bug 1475775).

Version: unspecified → 73 Branch

We should have a release watershed at Firefox 72 to prevent dataloss.
Moreover, key3.db may not be removed even if migration has done due to bug 1607652.

Priority: -- → P3
Whiteboard: [psm-blocked]

As of bug 1594931, Firefox does not migrate old NSS DB files to the newer
version. As a result, any old NSS DB files that exist in the profile directory
either were already migrated or will never be migrated. To avoid data loss,
this patch removes the functionality that would remove key3.db if it existed in
the profile directory.

Assignee: nobody → dkeeler
Status: NEW → ASSIGNED
Severity: normal → N/A
Priority: P3 → P1
Whiteboard: [psm-blocked] → [psm-assigned]
Pushed by dkeeler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6b54ed81bf78 don't remove old key3.db files that won't get migrated anyway r=mbirghan
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Regressions: 1685589
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: