Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect devices with XMPP (and also Ad-Hoc commands!) #9531

Closed
sjehuda opened this issue May 7, 2024 · 6 comments
Closed

Connect devices with XMPP (and also Ad-Hoc commands!) #9531

sjehuda opened this issue May 7, 2024 · 6 comments
Labels
enhancement New features or improvements of some kind, as opposed to a problem (bug) needs-triage New issues needed to be validated

Comments

@sjehuda
Copy link

sjehuda commented May 7, 2024

Feature description

Due to the ability to login to a single XMPP account from multiple connections and due to the priority mechanism XMPP has, I would suggest that support for XMPP, in addition to random IDs (the default) would be highly beneficial.

Note: If decentralization is a concern, then XMPP is indeed capable of connecting to decentralized networks like cjdns, Freenet, I2P, Nym, Tor, Yggdrasil etc.

Problem or use case

Connecting to XMPP would allow more control to people who are fluent with XMPP.

It would also allow a strong authentication mechanism, as each account has ID and password.

Moreover, XMPP also allows the creation of UI which would allow advertising Ad-Hoc commands for Syncthing which would be promptly available in XMPP. Commands can be selective (i.e. commands can also be labeled by permissions: Owner, Guest, Privileged etc.).

See screenshots at jarun/buku#719

In addition, XMPP also offers encryption using OMEMO, and many other features that are useful for transferring of files.

Alternatives or workarounds

None

@sjehuda sjehuda added enhancement New features or improvements of some kind, as opposed to a problem (bug) needs-triage New issues needed to be validated labels May 7, 2024
@calmh
Copy link
Member

calmh commented May 7, 2024

That all sounds nice, but it sounds like something else than Syncthing. The TLS integration and device IDs are quite ingrained to how things work.

@calmh calmh closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2024
@sjehuda
Copy link
Author

sjehuda commented May 7, 2024

TLS is mandatory in XMPP since a decade ago or so.

Albeit XMPP is used everywhere, be it in MySpace, ICQ, VK, Juick, Faceboogle and other brands I do not want to advertise, the industry does much to suppress it because it has all the best potentials of instant messaging, file sharing and content sharing (by content I mean documents such as HTML documents).

You may find libraries at:
https://mellium.im/
https://github.com/FluuxIO/go-xmpp
https://github.com/xmppo/go-xmpp (preferred)

I highly encourage to be open to XMPP and to make it an additional mean of communication.

It will be beneficial to you and to me for the VERY longer term.

If XMPP was popular today, http/html (aka "web") browsers would be barely used today.

@sjehuda
Copy link
Author

sjehuda commented May 7, 2024

@calmh please join the discussion I have started at https://forum.syncthing.net/t/xmpp/22095 and I hope to better explain this matter.

@calmh
Copy link
Member

calmh commented May 7, 2024

That's probably the right place to discuss it, yes.

@Neustradamus
Copy link

@sjehuda: Please prefer the good go-xmpp link, it is always in developement:

@sjehuda
Copy link
Author

sjehuda commented May 7, 2024

Thank you @Neustradamus. I have corrected my previous comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or improvements of some kind, as opposed to a problem (bug) needs-triage New issues needed to be validated
Projects
None yet
Development

No branches or pull requests

3 participants