Open Bug 1901640 Opened 3 months ago Updated 2 months ago

Toggling encryption (enabled or disabled) should create a new backup

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

People

(Reporter: kpatenio, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-device-migration])

According to the spec:

The backup will be recreated automatically in the location configured in user settings if it is deleted

So if we disable encryption:

  1. We should call BackupService.createBackup() to update the staging folder within the Profile directory. With this new backup, only non sensitive data will be saved.
  2. Then, we should call BackupService.createArchive() to regenerate the "backup file" (archive) located in the Documents folder or user's specified directory of choice. The new archive should no longer hold any information needed for encryption/decryption upon JSON extraction.

As for enabling encryption:

  • I assume we'll want to do something similar in this case. We should call BackupService.createBackup to ensure we save sensitive data and then BackupService.createArchive following that.
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [fidefe-device-migration]
Duplicate of this bug: 1906947
No longer duplicate of this bug: 1906947
You need to log in before you can comment on or make changes to this bug.