Hi Singpolyma,
Le lundi 13 janvier 2025, 21:49:17 heure normale d’Europe centrale Stephen
Paul Weber a écrit :
To specify the formatter to use, a Service
Discovery (XEP-0030) [1] disco
feature of 'urn:xmpp:gre:formatter:[FORMATTER_NAME]:[VERSION]' MUST be
announced
Specifying the format of a feature like this doesn't seem useful to me. The
specific ones will still need to be registered and maybe they'll use this
pattern (it's often useful if they do) but I see no reason to require it.
Yes sure, I just thought that it would make formatter/encrypter discovery
easier, but that's a detail and clearly not necessary.
In general it seems like this XEP basically says
"other XEPs may exist that
define formatters and encrypters, if you implement them then do what they
say to do" ? So it's essentially a prologue to each of these other XEPs? And
those other XEPs are effectively expected to specify an entire external
messaging protocol as a XEP?
It'z explaining the general mechanism, and the wrapper to look for, how to
detect the feature and exchange data. And no, the messaging protocol is
handled by the gateways, it's only about encrypting payload, and teaching
client how to do so. My long term goal is to have a generic, sandboxed,
webassembly based mechanism that clients have to implement once for all.
The case of OpenPGP is special because we can re-use large part of OX for
that.
Best,
Goffi