-
Notifications
You must be signed in to change notification settings - Fork 49
Instance of 'InvalidKeyException' #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I see that you're not making use of the Then, in your
... do something like this instead:
|
Thanks @xni06 , The encryption part seems to be working with this. The decryption part is giving the following error:
The code for my decryption is :
Also, can the |
Similar to when encrypting a message - it all depends on whether your store contains a session or not. In the case of decrypting:
Yes |
Thanks @xni06 , I have made the changes, but now getting the following error on the recieving end:
I am converting the encrypted message from Uint8List to String using
I have checked the string after encrypting and the string recieved before decrypting, and they are the same.
It has a length of 514. I tried removing the final 0 using removeLast(), but still getting the same error. |
Are there any obvious differences in approach between your implementation and that of the existing unit tests? |
Hey, @xni06 I am not getting how to implement this package into my flutter chatting app. Can you please guide me on how to implement signal protocall? |
Example work now. |
I am getting the following error when tryng to encrypt text:
This is my code - SignalProtocol class:
`class SignalProtocol{
}
}`
I should have mostly followed the example and cant figure out why I am still getting error. The receivedBundle is being reconstructed from its components saved in the server and fetched. The code used for bundle is as follows:
`var bundle = json.decode(otherUser.publicKey);
Need some help in figuring out what I am doing wrong in the implementation.
The text was updated successfully, but these errors were encountered: