Build out archive encryption mechanism for single-file backup archives
Categories
(Firefox :: Profile Backup, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox129 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Whiteboard: [fidefe-device-migration])
Attachments
(3 files)
This covers adding the mechanism for encrypting backup archives, but does not yet add the hooks that perform the encryption of backups. This will instead come in a follow-up bug.
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Factoring this out, as computing these keys is something that we need to do both
when generating the ArchiveEncryptionState, as well as when performing a
decryption.
This also renames "authKey" and "encKey" in ArchiveEncryptionState to use
"backupAuthKey" and "backupEncKey", as these are more in-line with what the
encryption design document uses (and because there are "authKeys" and "encKeys"
that will be used by the encryption mechanism that are distinct from the
backupAuthKey and backupEncKey).
| Assignee | ||
Comment 2•2 years ago
|
||
Since the ArchiveJSONBlock uses a $ref to reference the metadata in the
BackupManifest schema, we have to change the JSON validation mechanism
we're using to one that supports $ref's.
| Assignee | ||
Comment 3•2 years ago
|
||
These classes allow us to encrypt and decrypt chunks of a backup archive
if encryption is enabled.
Updated•2 years ago
|
Updated•2 years ago
|
https://hg.mozilla.org/mozilla-central/rev/e043ded7c3f4
https://hg.mozilla.org/mozilla-central/rev/a9b3bd5abdd2
https://hg.mozilla.org/mozilla-central/rev/3639c8341f69
Description
•