chat-e2ee icon indicating copy to clipboard operation
chat-e2ee copied to clipboard

[WIP] Fix encryption and decryption methods in sdk.ts

Open Copilot opened this issue 6 months ago • 1 comments

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

work folder: ./service/src File sdk.ts Medthod: setChannel Fix: Encrypt aesPlain before sending it via sharePublicKey, use cryptoUtils.encryptMessage

Method: getPublicKey Fix: Decrypt receiverPublicKey.aesKey then set it await this.symEncryption.setRemoteAesKey, use cryptoUtils.decryptMessage


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot avatar Oct 10 '25 09:10 Copilot