Modern XMPP project discussion - 2023-08-07


  1. raucao

    does anyone have a link for creating qr codes for xmpp jids (for contact exchange)?

  2. raucao

    i can't seem to find anything on the web

  3. raucao

    would probably make sense to put in the modern xmpp docs

  4. raucao

    most messengers allow using qr codes now. and i found that when using e.g. the qr code in conversations, it includes an omemo prekey, which makes initial encrypted messaging so much more reliable

  5. canary4649

    > does anyone have a link for creating qr codes for xmpp jids (for contact exchange)? I would imagine any QR code generator will work. You're just encoding the text of your JID into a QR code

  6. Zash

    You need to make it an URI, e.g. like xmpp:alice@example.net

    👍️ 1
  7. MSavoritias (fae,ve)

    There is also https://github.com/ge0rg/easy-xmpp-invitation

  8. raucao

    > I would imagine any QR code generator will work. You're just encoding the text of your JID into a QR code the question is not how to create a qr code in the first place, but what the content should be and which apps would support what

  9. raucao

    especially when it comes to the omemo part for example

  10. raucao

    i think the coolest thing i've seen was that apps on ios can register as handlers for specific QR code content somehow (URI maybe), so the normal camera app will offer to open XMPP QRs in e.g. snikket

  11. lissine

    afaik that's not specific to ios, the qr code is translated to an xmpp uri like xmpp:user@domain.tld and if you already have an xmpp client installed, it's used to open links like that

  12. menel

    Yes, works on Android as well with my app. It prompts to open conversations

  13. raucao

    which android is that

  14. raucao

    with mine i can use the normal share/open dialog, but it won't automatically prompt for opening it with my xmpp client

  15. raucao

    the point is that the ios user doesn't have to know what app to open it with

  16. raucao

    might just be my degoogled android phone's camera app tho. hence the question with android os does it

  17. raucao

    might just be my degoogled android phone's camera app tho. hence the question which android distro does it

  18. menel

    I use a Barcode share app, and when I share the scan result it prompts xmpp messanger

  19. menel

    *Barcode scan app

  20. menel

    It just seems android knows what it is, because it prompts the xmpp messanger if you share a result like: xmpp:alice@example.net

  21. raucao

    that would depend on what the qrcode scanning app does

  22. menel

    No. If you share something, it depends on the content what app did register for it. Not the app sharing it. If you share a picture with "whatever" you will get suggestions for everything that registered for pictures

  23. raucao

    you seem to miss my point

  24. raucao

    there is no need to share on ios

  25. raucao

    flash your built-in camera app at an xmpp qr code, it will literally show you a notification for snikket to open it

  26. raucao

    no button press, nothing, just one to open it directly

  27. menel

    That's nice

  28. menel

    That works only for scans from the xmpp apps themselfs on Android

  29. grim

    raucao: just upload the url code to a qrcode decoder that won't act on it. That or you might be able to copy the url from your phone too. Then since it's just a url, you should be able to see how it's constructed including the omemo pre-key thing you mentioned

  30. grim

    i think this is the one i've used in the past https://qrcode-decoder.com/

  31. raucao

    yeah, i already looked a that, but i tried to find docs on standard formats

  32. raucao

    maybe the prekeyo argument is part of some xep?

  33. Zash

    It _should_ be

  34. raucao

    :)

  35. Zash

    I don't see it tho

  36. Zash

    So I guess it's another of those thing where everyone just does what the leading implementation does

  37. Zash

    But then, all of OMEMO is like that :(

  38. grim

    Zash: can we make sure MLS isn't that way? :-D

  39. Zash hides under the server developers rock