Closed Bug 1712944 Opened 3 years ago Closed 3 years ago

Enable crypto on SDK client

Categories

(Chat Core :: Matrix, enhancement)

enhancement

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

Details

Attachments

(1 file)

To support encryption, we need to be able to load and run libolm (https://gitlab.matrix.org/matrix-org/olm/-/packages/10). There is a JS + WASM version of it available. However, it either relies on node crypto/fs/path etc. or expects a full browser environment.

Further, for cryptography to work, we need to provide a session store to the client. There is a session store implementation based on localStorage, so we need to create a localStorage for the matrix account, probably with Services.domStorageManager.createStorage.

Assignee: nobody → martin
Status: NEW → ASSIGNED
Depends on: 1715329

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/382cc73e0ed9
Enable lib olm crypto for Matrix SDK. r=clokep

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: