Closed dominic22 closed 1 year ago
use channel info asymPubKey and private encryption key by identity to create shared key
asymPubKey
If an identity wants to read/write to channel it needs to send the shared key to the backend
Using the shared key the api can decrypt the state of the subscriber and encrypt the received or written messages
when reading send decrypted messages to frontend
add tests
use channel info
asymPubKey
and private encryption key by identity to create shared keyIf an identity wants to read/write to channel it needs to send the shared key to the backend
Using the shared key the api can decrypt the state of the subscriber and encrypt the received or written messages
when reading send decrypted messages to frontend
add tests