-
raucao
does anyone have a link for creating qr codes for xmpp jids (for contact exchange)?
-
raucao
i can't seem to find anything on the web
-
raucao
would probably make sense to put in the modern xmpp docs
-
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
-
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 ↺
-
Zash
You need to make it an URI, e.g. like xmpp:alice@example.net
👍️ 1 -
MSavoritias (fae,ve)
There is also https://github.com/ge0rg/easy-xmpp-invitation
-
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 ↺
-
raucao
especially when it comes to the omemo part for example
-
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
-
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
-
menel
Yes, works on Android as well with my app. It prompts to open conversations
-
raucao
which android is that
-
raucao
with mine i can use the normal share/open dialog, but it won't automatically prompt for opening it with my xmpp client
-
raucao
the point is that the ios user doesn't have to know what app to open it with
-
raucao
might just be my degoogled android phone's camera app tho. hence the question with android os does it✎ -
raucao
might just be my degoogled android phone's camera app tho. hence the question which android distro does it ✏
-
menel
I use a Barcode share app, and when I share the scan result it prompts xmpp messanger
-
menel
*Barcode scan app
-
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
-
raucao
that would depend on what the qrcode scanning app does
-
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
-
raucao
you seem to miss my point
-
raucao
there is no need to share on ios
-
raucao
flash your built-in camera app at an xmpp qr code, it will literally show you a notification for snikket to open it
-
raucao
no button press, nothing, just one to open it directly
-
menel
That's nice
-
menel
That works only for scans from the xmpp apps themselfs on Android
-
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
-
grim
i think this is the one i've used in the past https://qrcode-decoder.com/
-
raucao
yeah, i already looked a that, but i tried to find docs on standard formats
-
raucao
maybe the prekeyo argument is part of some xep?
-
Zash
It _should_ be
-
raucao
:)
-
Zash
I don't see it tho
-
Zash
So I guess it's another of those thing where everyone just does what the leading implementation does
-
Zash
But then, all of OMEMO is like that :(
-
grim
Zash: can we make sure MLS isn't that way? :-D
- Zash hides under the server developers rock