We are getting a DuplicateMessageException while decrypting an Omemo encrypted message from ChatSecure(iOS). Omemo encryption is working fine with android to android. Getting following errors from smack:
- SignalOmemoSession: Error decrypting message header, org.whispersystems.libsignal.DuplicateMessageException: Received message with old counter: 1 , 0
- OmemoService: internal omemoMessageListener failed to decrypt incoming OMEMO message: MessageKey has wrong length: 16. Probably legacy auth tag format.
Please help me to find the cause for this incompatibility between chatSecure-iOS and our smack framework.