chat-sdk / chat-sdk-ios

Chat SDK iOS - Open Source Mobile Messenger
http://sdk.chat
Other
913 stars 276 forks source link

Messages wont decrypt after using the method EncryptionHandler.importKeyPair(keyPairString #511

Open vineethsreekumar opened 9 months ago

vineethsreekumar commented 9 months ago
  1. The issue is there in ChatSDK project

  2. No Modifiations made just used the chatsdk provided method to decrypt the messages using the stored key pair.

  3. tried in both simulator and device

  4. steps to reproduce - Enable encryption module . send some messages . delete the app and reset simulator so that keychain get cleared . rerun app . load the previous key on a button click.

  5. Messages should be decrypted.

  6. messages are encrypted

  7. Its failing in iOS but working fine with Android .