PDA

View Full Version : How to register a XMPP account and then use it in Thunderbird?



Fli
07-05-2024, 06:18 AM
At thttps://xmpp.org/getting-started/ I have found a link to https://providers.xmpp.net/ where I have found a server and registered on it.
Then I could switch to Thunderbird and File / New / Chat account / XMPP. Enter registered user name and domain of the server.

To enable end to end encrypted (Secure) communication - OTR (off the record): https://wiki.mozilla.org/Thunderbird:OTR
In short, on Linux:
Debian or Ubuntu, use: sudo apt-get install libotr5
Fedora or CentOS, use: sudo dnf install libotr

OTR should be already enabled in Thunderbird: Edit / Settings / scroll down and click "Config Editor". Search for chat.otr.enable and change it to true. I had it already enabled. In case of a modification, restart Thunderbird.

Upon connecting the XMPP server and clicking "Encryption status" "Unsecure", "Start an encrypted conversation", it says:


This message could not be delivered: ?OTRv2?
me@server has requested an Off-the-Record (OTR) encrypted conversation. However, you do not have a plugin to support that. See https://en.wikipedia.org/wiki/Off-the-Record_Messaging for more information.

I suppose it is due to me not connected with anyone. TB docs says that the OTR works only in one-to-one conversation.

Inside Edit / Account settings / my XMPP account / End-to-end encryption / I have set to "Require end-to-end encryption for one-to-one conversations". As a result, messaging some new contact shows a message "Attempting to start a private conversation. Your message will be resent when the private conversation starts."

Troubleshooting: Go to a Thunderbird menu Tools / Developer tools / Error console and input the "otr" into the filter/search field.