Page MenuHomePhabricator

Use olm WASM with content hash on web in production
ClosedPublic

Authored by marcin on Nov 27 2023, 2:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 7, 7:30 PM
Unknown Object (File)
Tue, Aug 27, 2:29 AM
Unknown Object (File)
Sun, Aug 25, 11:46 AM
Unknown Object (File)
Sun, Aug 25, 11:46 AM
Unknown Object (File)
Sun, Aug 25, 11:46 AM
Unknown Object (File)
Sun, Aug 25, 11:46 AM
Unknown Object (File)
Sun, Aug 25, 11:45 AM
Unknown Object (File)
Jul 15 2024, 7:57 PM
Subscribers

Details

Summary

This differential fixes an urgent Linear issue: https://linear.app/comm/issue/ENG-5895/web-notification-decryption-error. Production web builds will use
olmFilename variable with content hash provided by the keyserver. Development builds will use default olm.wasm filename.

Test Plan
  1. Clear all cache files for localhost:3000/comm. This step is necessary since production builds might have used olm WASM from cache populated by dev builds.
  2. Builds production web app.
  3. Ensure that notifications are encrypted (MariaDB console) and correctly decrypted on the keyserver.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-5895
Lint
No Lint Coverage
Unit
No Test Coverage