Hi folks,
I've been brainstorming a mechanism for offline history transfer (i.e.
one client fetches the offline message history from another client). For
that, an encrypted direct client-to-client XML channel would be neat.
1. Are direct client-to-client XML channels a thing?
I found XEP-0247 [1], which looks alright on first read-through but is
deferred since 2010. Does someone more familiar with the topic know why
the XEP was abandoned and whether it could realistically be revived or
if there is a better alternative now?
2. Are encrypted direct client-to-client channels a thing?
There is JET [2], but it seems to focus on key negotiation (which I
would do differently) and file transfers, which I don't need either. I
don't see how a bidirectional data channel/stream would be encrypted
using JET.
There's also a XEP called jingle-xtls [3] in the Inbox, but it's even
more abandoned than XEP-0247 and also seems to focus mostly on the key
negotiation, which again I would do differently.
Next to these questions I would be interested in the general sentiment
and ideas for workarounds (e.g. "p2p is cursed, just send encrypted
stanzas via the server as usual" or "just use a simple binary format and
don't bother with a fully fledged XML stream").
Thanks :D
Tim
[1]
https://xmpp.org/extensions/xep-0247.html
[2]
https://xmpp.org/extensions/xep-0391.html
[3]
https://xmpp.org/extensions/inbox/jingle-xtls.html