Page MenuHomePhabricator

Add AES cryptography to EncryptedNotifUtilsAPI
ClosedPublic

Authored by marcin on Wed, Sep 25, 11:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 25, 12:22 PM
Unknown Object (File)
Wed, Sep 25, 12:21 PM
Unknown Object (File)
Wed, Sep 25, 12:04 PM
Subscribers

Details

Summary

This differential adds AES cryptography to EncryptedNotifUtilsAPI

Test Plan

Tested in the final diff

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Update to simpler approach

bartek added inline comments.
web/push-notif/encrypted-notif-utils-api.js
50 ↗(On Diff #44590)

TIL: we have Webpack polyfill for Buffer on web.
I was sure Buffer is a Node-only type and I was using plain ArrayBuffer and Uint8Array on web

This revision is now accepted and ready to land.Thu, Sep 26, 2:14 AM
This revision was landed with ongoing or failed builds.Fri, Sep 27, 7:48 AM
This revision was automatically updated to reflect the committed changes.