Closed Bug 1784966 Opened 2 years ago Closed 2 years ago

Encrypt blob files under idb/*.files directory with a separate cipher key

Categories

(Firefox :: Private Browsing, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: hsingh, Assigned: hsingh)

References

Details

Attachments

(2 files, 1 obsolete file)

In order to support IndexedDB in Private Browsing mode; we need to ensure that any data touching disk is encrypted. We encrypt IndexedDB data under *.files and .sqlite using AEAD (Authenticated Encryption with Associated Data) mechanism. We generate a separate IV (Initialization Vector) to encrypt every file under *.files directory. Even these files are encrypted with different IVs; they all use the same cipher key. It is however even better if all these files could use a separate key.

Attached image Screenshot on 2022-08-15 at 19:56:58.png (obsolete) —
Attachment #9289951 - Attachment is obsolete: true

For more detailed explanation, look at the attached pdf file.

Status: NEW → ASSIGNED
Attachment #9297157 - Attachment description: WIP: Bug 1784966: Encrypt IDB files and data in PBM, r=#dom-storage-reviewers → Bug 1784966: Encrypt IDB files and data in PBM, r=#dom-storage-reviewers
Pushed by hsingh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a266f691a68c Encrypt IDB files and data in PBM, r=dom-storage-reviewers,jari,webdriver-reviewers,whimboo

Backed out for causing IDB Encryption related marionette failures

Backout link

Push with failures

Failure log

Flags: needinfo?(hsingh)
Blocks: 1781200
Type: task → enhancement
Priority: -- → P2
Pushed by hsingh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2516c6475047 Encrypt IDB files and data in PBM, r=dom-storage-reviewers,jari,webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Regressions: 1797868

Fix for the above regression was pushed on Friday.

Flags: needinfo?(hsingh)
Regressions: 1818214
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: