Modern XMPP project discussion - 2024-03-14


  1. debacle

    I have a doubt about invitations. Maybe people could dispel it ;-) Use case: $JABBER_USER is a dancing instructor. They like to go out and dance, and they always need to find new clients, i.e. people who like to learn to move their body. $JABBER_USER has business cards (e.g. ISO A8 paper) they hand out to interested people they meet at dance events. Now it would be cool, if there were a QR code printed on the cards with an account-and-subscription URI on it. I wonder, if it were possible to have a "generic" URI, i.e. for multiple recipients of the paper business cards?

  2. MattJ

    Certainly

  3. MattJ

    Rather than putting the URI on the card though, it's generally better to put a web link

  4. MattJ

    Otherwise it assumes the recipient already has an XMPP client. If not, it just won't work and they'll scratch their head. Every scanner can open https://

  5. MattJ

    Snikket and Prosody both support multi-use invites (in different ways)

  6. MattJ

    Snikket has a 4-week limit on them currently, though I'm planning to remove that with some UX changes

  7. Océane

    Hi, I wonder if events couldn't be supported directly on XMPP through the .ics format?

  8. Océane

    I'm either a genius or utterly stupid

  9. MattJ

    Océane, you can certainly use XMPP to send .ics files, sure

  10. MattJ

    It's up to the recipient what they do with those

  11. Océane

    Indeed but could XMPP clients such as Movim encode them and parse their contents directly in the web interface?

  12. MattJ

    They definitely could, yes

  13. Océane

    Oh wow, so cool!

  14. MattJ

    Time to file some feature requests :)

  15. Océane

    Indeed, that's what I'm gonna do!

  16. MattJ

    I think it is indeed a great idea

  17. latex

    MattJ: What does dispel mean, and what is a "generic" URI?

  18. latex

    What's wrong with invitations?

  19. Zash

    xmpp: URIs? those only work if you have a client installed

  20. latex

    Yes but what do you want to do instead?

  21. latex

    Go to some converse site?

  22. latex

    Or a matrix.to-like thing?

  23. Zash

    That would be the https:// things MattJ mentions

  24. latex

    But what would it do?

  25. MSavoritias (fae,ve)

    open the play store or whatever link to install a client

  26. Océane

    Do you mean joining an XMPP chatroom from any program, e.g. another XMPP chatroom or https://search.jabber.network?

  27. Océane

    I'm not being sarcastic

  28. Océane

    I'm not sure I get the full context

  29. latex

    > open the play store or whatever link to install a client That's not generic though

  30. latex

    What if the user is using an iPhone, Linux, or Windows device?

  31. Océane

    But I guess I can give a one-click link to XMPP users so they can add me on XMPP

  32. MSavoritias (fae,ve)

    then you get them to client site. like gajim for example

  33. Océane

    (Or am I, uh, splaining people here)

  34. MSavoritias (fae,ve)

    Océane, yeah basically its this https://github.com/modernxmpp/easy-xmpp-invitation with a demo here https://xmpp.link/#romeo@montague.lit

  35. MSavoritias (fae,ve)

    people would see the second one

  36. Océane

    Oh snap, I see – an HTTPS gateway to XMPP programs

  37. Océane

    Yeah basically matrix.to

  38. latex

    Oh now I get it

  39. Océane

    Honestly I think that people can actually send _two_ links

  40. latex

    But sad that Cheogram is not in the list

  41. Océane

    I send https://chapril.org/XMPP.html to my French contacts, and then I tell them to add oceane@disroot.org – it works every time

  42. MSavoritias (fae,ve)

    at the moment i do it myself. cant trust any other way for it not to go wrong

  43. Océane

    I'm also not sure this would be a good idea because people need to create accounts on server that may or may not implement the XEPs that are relevant to IM -- this looks like a bad idea honestly

  44. MSavoritias (fae,ve)

    or through voice/video call very slowly

  45. Océane

    A cleaner solution is the Chapril's, basically a comprehensive tutorial to create an account on _your_ server through an XMPP client that makes consensus for your platform

  46. Océane

    I'm pretty sure the people advocating for abandoning the XMPP do this because they've had a bad experience with either a client like Psi+ or a server that doesn't implement the correct XEPs

  47. latex

    I've never had to send anyone some kind of tutorial to use XMPP because a lot of my friends are veeery stubborn and they only SMS or call me now

  48. latex

    Or use my Mumble server

  49. MSavoritias (fae,ve)

    > A cleaner solution is the Chapril's, basically a comprehensive tutorial to create an account on _your_ server through an XMPP client that makes consensus for your platform nobody is going to read a tutorial. give a client to the person you want to sign up and a server

  50. MSavoritias (fae,ve)

    the less questions the better

  51. Océane

    Anyway XMPP isn't a post-Snowden messenger so it depends on your use case, there's no reason to force XMPP on your peers

  52. MSavoritias (fae,ve)

    it has happened that they havent picked the server i told them either

  53. MSavoritias (fae,ve)

    what does "post-Snowden" mean?

  54. Zash

    2014?

  55. Zash

    2014 and later?

  56. MSavoritias (fae,ve)

    sounds like you have a different threat model than XMPP yes :)

  57. Océane

    Any computer, or even some piece of garbage pretending to be one, like Windows or Android, is modular enough to let your contacts switch back-and-forth between several messengers

  58. MSavoritias (fae,ve)

    that sounds like a nightmare.

  59. MSavoritias (fae,ve)

    personally at least

  60. Océane

    Hmm I mean stuff that encrypts your contacts _and_ your metadata, like Signal, the DIME, or Briar

  61. Océane

    Sorry, * your messages _and_ your metadata

  62. MSavoritias (fae,ve)

    all these three have a different threat model. so first we need to define the threat model

  63. Océane

    Indeed, and I don't mean that my definition of my threat model should prevail, but I just think that we shouln't assert XMPP on our friends

  64. Océane

    It's good enough to be adopted easily nowadays anyway

  65. latex

    Signal would be dead if the central server dies, though

  66. MSavoritias (fae,ve)

    i think we are going ot tho

  67. latex

    I'd love to see an XMPP solution to the metadata problem, or some P2P extension for security

  68. MSavoritias (fae,ve)

    for here

  69. Menel

    I have a solution, I host my server. No metadata for outsiders. But signal on the other hand, lots of metadata there, if I assume a bad intended server. It's irrelevant that it encrypts contacts, if the server can see with what number/contact one exchanges messages. And a server must know this to route the message. So a compromised signal server is only marginally better then a compromised xmpp server. But you can't choose the signal server to be operated by someone you trust. And a single big server has more attraction to be attacked by everyone.

  70. MSavoritias (fae,ve)

    just dont use servers /s

  71. Zash

    just don't use computers /s but also not

  72. rom1dep

    Océane: agreed with the above, even if some magic and inaccessible crypto was making Signal better in some way, the fact that it's centralized throws away any privacy guarantee in exchange for "goodwill trust us"

  73. rom1dep

    While you can self host XMPP on tor or anything of your fancy

  74. debacle

    MattJ (or anybody else) Could you post an HTTPS URL example for a generic account-and-subscribe? I like to know how it could look like. Thanks!

  75. MattJ

    It can look like anything you want

  76. MattJ

    If you mean the HTML page itself, a Snikket invite looks like this: https://demo.snikket.chat/invite/-Su39hX8YNyoXtNnRhb7ctFO/

  77. MattJ

    A standard Prosody invite looks like this: https://auth2.superxmpp.com/invite?6F7eGB_xTAS26hxapuoeTAvq

  78. MattJ

    Both of those can work with xmpp.link if you format the URL correctly

  79. MattJ

    But for a business card you could make a nicer URL (without the token at the end) and a static page

  80. MattJ

    I did that for FOSDEM, so it was easier for people to type manually if they didn't have a QR scanner