|
await sharePublicKey({ aesKey: aesPlain, publicKey: this.publicKey, sender: this.userId, channelId: this.channelId}); |
Right now AES encryption key is sent to server for exchange which is a vulnerability. It should be send via end-to-end encrypted channel.
chat-e2ee/service/src/sdk.ts
Line 148 in 905c8c0
Right now AES encryption key is sent to server for exchange which is a vulnerability. It should be send via end-to-end encrypted channel.