Compute a new enc-state.json for the recovered profile after recovery
Categories
(Firefox :: Profile Backup, task, P3)
Tracking
()
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.
Updated•16 days ago
|
Assignee | ||
Updated•6 days ago
|
Assignee | ||
Comment 1•6 days ago
|
||
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
Comment 3•2 days ago
|
||
Backed out for causing xpc failures @ test_BackupService_renderTemplate.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/ba3427ddddb6b457ba8ab233bc0e6506aa9bc350
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
Description
•