Open s1lviu opened 2 years ago
@s1lviu thank for reaching us.
What version of PubNub JS SDK has been used on server? Is it possible to see server instance configuration (with keys and cipher key hidden)?
Is it possible to check history in other channel? Usually this happens, when cryptor configuration has been changed after part of data has been published to channel. Maybe from the start messages has been published by JS SDK w/o random IV usage and only after that it has been enabled?
I've performed local tests and Objective-C doesn't have any troubles with retrieving history generated by PubNub JS SDK, where useRandomIVs
is set to true.
Hello,
When our javascript back-end useRandomIVs is true, on our mobile app using latest PubNub Objective-c 4.17.0 with also useRandomInitializationVector true, we are receiving “Decrypt error”.
When we are setting useRandomInitializationVector on mobile to false (with no changed useRandomIVs on true), decryption works.
What can be the problem? Why is not successfully decrypting when useRandomInitializationVector is true on the mobile side?
Thanks,