psi-im/plugins

OTR problem between psi+ and xabber (проблемы с ОТР)

Opened this issue · 7 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>

Translation in Russian below
Столкнулся с очень странной проблемой в psi plus v1.4.554. При попытки начать ОТР переписку с контактом у которого установлен xabber получаю сообщение вот такого вида:

?OTR:AAMCkDfq4AAAAAAAAADE7mQeDmVH9oowj+0YW2yHIg9E9mCMRlF7/9Zsgb0e5VodCBZuay9mHkwgWq//yPn7yqs31luqHmcpsUuX6orJha/MdUjpaMfIcg7citqwd+Z7zQpiXvGUqXJpAt2aPVAjGNbb2J45xFVPhwBuTHhZEdG5JW0P4L83u13X/tErSutlUIN30GoZuJeCBYAhrc1HSMMQpciA0mfWPxD8P5weI2W18eTVQF8v78amVYB6LyAzThRs2INtFCw4G8+Skc9zUHKnWAAAACCFNI7bU9ULQfz1YFBZTxNmATGoV23RGT9prV7PrpJ7ng==.

Переписка ОТР при этом не начинается. У контакта установлена последняя версия xabber 2.6.6.645 при этом с xabber 2.2 все работает хорошо. В версией xabber 2.6.2 так же не работает.

В psi plus v.0.16 при этом с любой версией xabber все работает нормально и ОТР переписка начинается.

Вот какая информация отображается в консоли при попытки начать ОТР переписку (контакты удалил из логов):

<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>

Ping @claucece.

same for Psi+ v1.5.1480 (2021-02-18, 5766fe72)
OTR Plugin 1.7

Did you ask xabber developers about this issue?

I'm not sure why I'm pinged on this issue. Have you asked the xabber developers about this issue?

thanks for advice, have created the issue

psi-plus/main#779 also find this issue. is this correct that xabber use old OTR standard?

I do not know about Xabber, but all latest versions of Psi and Psi+ still support OTRv2 for compatibility with old clients. By default plugin tries to start session using modern and more secure OTRv3.

As for extremely old and unsupported builds of Psi and Psi+ (0.16.x) they have only OTRv2 support.

@CatsDans, @SpontaneousOverthrow: Your problem has been solved?
Have you updated your Psi+?