xabber-android icon indicating copy to clipboard operation
xabber-android copied to clipboard

OTR problem between psi+ and xabber

Open SpontaneousOverthrow opened this issue 3 years ago • 1 comments

I've faced with very strange problem in psi plus v1.4.554 . When I try to start OTR dialogue with contact who has xabber I always get this kind of message:

?OTR:AAMCkDfq4AAAAAAAAADE7mQeDmVH9oowj+0YW2yHIg9E9mCMRlF7/9Zsgb0e5VodCBZuay9mHkwgWq//yPn7yqs31luqHmcpsUuX6orJha/MdUjpaMfIcg7citqwd+Z7zQpiXvGUqXJpAt2aPVAjGNbb2J45xFVPhwBuTHhZEdG5JW0P4L83u13X/tErSutlUIN30GoZuJeCBYAhrc1HSMMQpciA0mfWPxD8P5weI2W18eTVQF8v78amVYB6LyAzThRs2INtFCw4G8+Skc9zUHKnWAAAACCFNI7bU9ULQfz1YFBZTxNmATGoV23RGT9prV7PrpJ7ng==. And OTR dialogue doesn't start for sure. I've tryed with different kind of version xabber with the newest 2.6.6.645 and elder one 2.6.2. But with 2.2 it works fine.

Moreover psi+ v0.16 works fine with all kind of version xabber. Dialogues start as usual.

This information below which I get in console when I try to start conversation (contact information has been deleted):

<message to='' type='chat'><subject></subject><body>?OTRv23? ** has requested an Off-the-Record private conversation.  However, you do not have a plugin to support that. If you are using Pidgin in Debian or Ubuntu,install the pidgin-otr package. See https://otr.cypherpunks.ca/ for more information.</body></message>
<r xmlns="urn:xmpp:sm:3"/>

<a xmlns="urn:xmpp:sm:3" h="13"/>

<message to="/Psi+" from="/xabber-android-td36tHn7" xml:lang="en" type="chat" id="kpxrr-3018">
<private xmlns="urn:xmpp:carbons:2"/>
<no-store xmlns="urn:xmpp:hints"/>
<request xmlns="urn:xmpp:receipts"/>
<body>?OTR:AAMC32j9agAAAAAAAADEEP4DvpNiHNjtKKZyOlv1+QkvVwNWWA/z8oG8NRn5bGXVuYHRiz5WCAaH8pniU9uG3ElVUuUoLIP7RDV1u08/xl1uARYzmkPwIx6mQ9xfAFgd9rRgR9Sg+yJzTOzMkT78PY9x7x1Eton6JsnQAquP8Wb7yvmGfqWaTEE7/ZnK9jLRBDIZofdQfXbyZn3f+mbndwWYeyBOeyQUeDYVsuglQ+eEZLzQCG2wwi4+zYv3o1R45i5NvLEYCqElpwBOYuaif56F7gAAACAaFNR/TkA44G9nFRw2BA0VIjJgYrMsT3y/5VD5uPfhZg==.</body>
<thread>ohgJU8w48Rx7</thread>
</message>

also same issue was created for psi-plus: https://github.com/psi-im/plugins/issues/64

SpontaneousOverthrow avatar Feb 18 '21 20:02 SpontaneousOverthrow

Is this correct that xabber use OTRv1? https://github.com/jitsi/otr4j/blob/a2d2c00aa569009fd850da6b4c74f87c3f3cad74/docs/Protocol-v3-4.1.1.html#L274 In logs i see: ?OTR:AAMC32j9agAAAAAAAADEEP4DvpNiHNjtKKZyOlv1+QkvVwNWWA/z8oG8NRn5bGXVuYHRiz5WCAaH8pniU9uG3ElVUuUoLIP7RDV1u08/xl1uARYzmkPwIx6mQ9xfAFgd9rRgR9Sg+yJzTOzMkT78PY9x7x1Eton6JsnQAquP8Wb7yvmGfqWaTEE7/ZnK9jLRBDIZofdQfXbyZn3f+mbndwWYeyBOeyQUeDYVsuglQ+eEZLzQCG2wwi4+zYv3o1R45i5NvLEYCqElpwBOYuaif56F7gAAACAaFNR/TkA44G9nFRw2BA0VIjJgYrMsT3y/5VD5uPfhZg== which indicates that xabber uses OTRv1. If it's right is it possible to add OTRv2 and OTRv3 suport?

SpontaneousOverthrow avatar Feb 23 '21 10:02 SpontaneousOverthrow