Bug 1900892 - Part 3: Add ArchiveEncryptor and ArchiveDecryptor. r=djackson,backup-reviewers,kpatenio

These classes allow us to encrypt and decrypt chunks of a backup archive
if encryption is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D212861
This commit is contained in:
Mike Conley
2024-06-21 14:07:27 +00:00
parent 9520e97295
commit 4916692def
8 changed files with 1149 additions and 1 deletions

View File

@@ -1013,6 +1013,7 @@ export class BackupService extends EventTarget {
? {
publicKey: encState.publicKey,
salt: encState.salt,
nonce: encState.nonce,
backupAuthKey: encState.backupAuthKey,
wrappedSecrets: encState.wrappedSecrets,
}