I have an architecture where:
- a user can have multiple devices (phones)
- the server needs to broadcast the payload to all devices through the same channel (basically, all devices listen and receive the same payload)
Now, I need encryption for messages from server to devices.
- the first phone will have to create a private/public key
- server will use this public key to send encrypted messages. How do I solve the problem for the other devices? Is this mechanism (private/public) wrong and not appropriate in such case? User can't obviously ssh between devices to exchange data here...
The encryption protocol itself has not been chosen yet. If you believe one is more appropriate in this case, let me know!