HomePhabricator
Diffusion Comm 28b85097b9f1

Implement methods in NotificationsCryptoModule to decrypt data

Description

Implement methods in NotificationsCryptoModule to decrypt data

Summary:
This differential implements a method to decrypt data in NotificationsCryptoModule. Additionally some CryptoModule code is
simplified. I don't see the reason the ckeck for matching inbound sessions every time we receive a message. Additionally we would
have to store keyserver identity keys which would make the code more complicated.

Test Plan:
After succesfull log-in execute in the keyserver code to encrypt some mock data. Then hardcode this data in
NotificationsService and call NotificationsCryptoModule::decrypt() method on it. Build the app again and send a notif to trigger
decryption code execution. Examine logs from the NSE.

Reviewers: tomek, atul, bartek, ashoat

Reviewed By: ashoat

Subscribers: anunay, ashoat

Differential Revision: https://phab.comm.dev/D7796

Details

Provenance
marcinAuthored on May 11 2023, 7:14 AM
Reviewer
ashoat
Differential Revision
D7796: Implement methods in NotificationsCryptoModule to decrypt data
Parents
rCOMMcbe5181ccb9f: Handle client response to initial notifications encrypted message request
Branches
Unknown
Tags
Unknown