-
nicoco
Is there a way to embed an image into a data form (during an adhoc command), and are there clients that implement that? In XEP-0050: > The above example shows the command execution resulting in a "jabber:x:data" form. It is also possible that one or more URLs (specified via Out-of-Band Data (XEP-0066) [5]) could be returned. If I understand it right, it's either `jabber:x:data` or `jabber:iq:oob` but a data form cannot have an embedded image. Am I correct ?
-
pep.
Must 0447 be in a message?
-
wurstsalat
nicoco: https://xmpp.org/extensions/xep-0231.html ?
-
wurstsalat
> or a small bit of media in a data form
-
pep.
nicoco, https://xmpp.org/extensions/inbox/tos.html#example-4 one could define a protocol that goes in adhoc that includes data forms and other things
-
pep.
I guess 0231 is more suitable to text fields, but one can't generically say it's a picture (a generic impl would have to guess by using the cid:hash+ prefix which is meh), so the protocol may have to be defined anyway✎ -
pep.
I guess 0231 is more suitable for text fields, but one can't generically say it's a picture (a generic impl would have to guess by using the cid:hash+ prefix which is meh), so the protocol may have to be defined anyway ✏
-
nicoco
Looks like I've got some reading to do, thanks wurstsalat and pep. My use case is multi step (eg 2FA) registration to (surprise!) a gateway. Right now I use in band registration as per XEP-0100 and send a normal message (possibly including a QR code) to complete the 2FA but it's a bit dirty. I was thinking of ways to improve the registration process, and I think a "normal" adhoc command would already be an improvement over in-band registration (which looks like a 1-step-only adhoc command for a user anyway). Anyway, this does not solve the case where you have to complete a captcha, but that's another story… ^^
-
pep.
See also https://xmpp.org/extensions/xep-0158.html for captchas.
-
nicoco
hum https://xmpp.org/extensions/xep-0158.html#register looks like what I need, I think? thanks pep! it would be nice to wrap this for signal registration: https://signalcaptchas.org/registration/generate.html
-
nicoco
well it mentions a `<media xmlns='urn:xmpp:media-element'>` thing that could be used to display inline images, a captcha mecanism but that does not work for recaptchas and it's still a one-step registration process so no 2FA possible. so close! ^^
-
wurstsalat
pep. / Link Mauve Poezio's DOAP files links to https://poez.io/img/logo.svg but that shows a certificate warning. I can neither register at lab.louiz.org for filing an issue, nor can I create an issue on Poezio's github mirror. this is unfortunate
-
mathieui
wurstsalat, gitlab is still "in migration", cert issue reported
-
wurstsalat
thanks!