Closed Bug 1901534 Opened 16 days ago Closed 1 day ago

Compute a new enc-state.json for the recovered profile after recovery

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: mconley, Assigned: mconley, NeedInfo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-device-migration])

Attachments

(1 file)

If an encrypted backup is recovered from, this implies that encryption was enabled when the backup was created - and that scheduled backups were also enabled. In order to continue that behaviour in the recovered profile, we'll need an enc-state.json in the backup folder of the recovered profile.

The problem, however, is that the OSKeyStoreSecret might not be the same on the machine that the backup was recovered on! We'll need to generate a new one. We can do this with the passed in recovery code as part of the restoration, in the profile that is performing the restoration, before launching the new profile.

Assignee: nobody → mconley
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5e494cb0aff6
Compute a new ArchiveEncryptionState for a recovered, encrypted profile. r=backup-reviewers,fchasen
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/35124ba24398
Compute a new ArchiveEncryptionState for a recovered, encrypted profile. r=backup-reviewers,fchasen
Status: NEW → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: