powered by Jive Software

Can not encrypt Message (one to one and group chat both) due to recipient's corrupted key bundle

I can not send message from my app. I found exception.

2020-01-21 12:19:22.858 23644-19914/org.yaxim.mist W/OmemoService: Could not load fingerprint of ewce.g2@mydomain.com:69053805
    org.jivesoftware.smackx.omemo.exceptions.NoIdentityKeyException
        at org.jivesoftware.smackx.omemo.OmemoStore.getFingerprint(OmemoStore.java:203)
        at org.jivesoftware.smackx.omemo.OmemoService.getUndecidedDevices(OmemoService.java:503)
        at org.jivesoftware.smackx.omemo.OmemoService.encrypt(OmemoService.java:195)
        at org.jivesoftware.smackx.omemo.OmemoService.createOmemoMessage(OmemoService.java:313)
        at org.jivesoftware.smackx.omemo.OmemoManager.encrypt(OmemoManager.java:307)
        at org.jivesoftware.smackx.omemo.OmemoManager.encrypt(OmemoManager.java:390)
        at org.yaxim.mist.service.SmackableImp.sendMucMessage(SmackableImp.java:3223)
        at org.yaxim.mist.service.SmackableImp.sendMUCMessage(SmackableImp.java:1731)
        at org.yaxim.mist.service.XMPPService$2.sendMUCMessage(XMPPService.java:308)
        at org.yaxim.mist.chat.XMPPMucServiceAdapter.sendMUCMessage(XMPPMucServiceAdapter.java:54)
        at org.yaxim.mist.chat.MUCChatWindow$17.run(MUCChatWindow.java:931)

then I tried to send one to one message to ewce.g2@mydomain.com, I found

2020-01-21 12:26:26.244 23644-20483/org.yaxim.mist W/OmemoService: kotha_dev@mydomain.com:1873405537 could not establish session with ewce.g2@mydomain.com:69053805because their bundle seems to be corrupt.
    org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException: Invalid signature on device key!
        at org.jivesoftware.smackx.omemo.signal.SignalOmemoService.processBundle(SignalOmemoService.java:61)
        at org.jivesoftware.smackx.omemo.signal.SignalOmemoService.processBundle(SignalOmemoService.java:24)
        at org.jivesoftware.smackx.omemo.OmemoService.buildFreshSessionWithDevice(OmemoService.java:441)
        at org.jivesoftware.smackx.omemo.OmemoService.buildMissingSessionsWithDevices(OmemoService.java:468)
        at org.jivesoftware.smackx.omemo.OmemoService.encrypt(OmemoService.java:194)
        at org.jivesoftware.smackx.omemo.OmemoService.createOmemoMessage(OmemoService.java:313)
        at org.jivesoftware.smackx.omemo.OmemoManager.encrypt(OmemoManager.java:307)
        at org.jivesoftware.smackx.omemo.OmemoManager.encrypt(OmemoManager.java:291)
        at org.yaxim.mist.service.SmackableImp.handleInput(SmackableImp.java:761)
        at org.yaxim.mist.service.SmackableImp.sendMessage(SmackableImp.java:1688)
        at org.yaxim.mist.service.XMPPService$1.sendMessage(XMPPService.java:239)
        at org.yaxim.mist.chat.XMPPChatServiceAdapter.sendMessage(XMPPChatServiceAdapter.java:30)

I understand that the keys of recipient (ewce.g2@mydomain.com) are corrupted, but he doesn’t aware.
and for one recipient, group chat of all users are destroyed.

can anyone help me in this regard?

My smack version is 4.2.4

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.