-
stpeter
Hey wow, I got a message in Slack today that they finally sort of support federation (well, at least "federation" within Slack itself). Welcome to the party!
-
Kev
I’m not sure federating with your own server is that much of an achievement 😂
-
Kev
Although, having implemented dialback, maybe I shouldn’t be so glib.
-
Ge0rG
Well, logging in with multiple identities was a huge feat as well.
-
edhelas
stpeter they call it l2l, localhost2localhost
-
moparisthebest
more like lol amirite?
-
wurstsalat
I just spilled my coffee
- Zash chuckles
-
selurvedu
Hello folks, I'm trying to understand how the fallback plaintext <body> works in OMEMO. XEP-0384 v0.3.0 [0] says "If it [decryption] succeeds, the decrypted contents are treated as the <body> of the received message." v0.4.0 and up don't have any mentions of <body> and XEP-420 says "Since a chat message encrypted with SCE MUST NOT contain a <body/> element, it is not eligible for MAM message storage". Does that mean it is not possible to add a fallback text for a message when using omemo:1 ? [0]: https://xmpp.org/extensions/attic/xep-0384-0.3.0.html [1]: https://xmpp.org/extensions/attic/xep-0384-0.4.0.html
-
lovetox
fallback body is not optimal
-
lovetox
consider something like https://xmpp.org/extensions/xep-0380.html
-
lovetox
add this to make other clients aware that this is a encrypted message and what it was encrypted with
-
lovetox
then the client can choose itself how it makes the user aware
-
selurvedu
lovetox, > Entities SHOULD include a non-encrypted body as possible, since older clients not supporting this protocol might otherwise ignore messages sent with an unknown encryption, making both the sender frustrated that their message did not get an answer, and the recipient frustrated that they never saw any message.
-
selurvedu
from XEP-0380
-
lovetox
yes .. if you care about these super old clients
-
lovetox
i guess you have to add it
-
lovetox
but i agree i also dont understand why SCE does not allow a body element
-
lovetox
the reason is not mentioned in the xep
-
Zash
For OMEMO you probably do want a fallback, since users likely would rather know they got messages that they couldn't decrypt than them just silently going into the void.
-
selurvedu
Yeah, hence my question
-
lovetox
Zash, most clients support eme
-
lovetox
so it would not go into the void
-
Zash
Do they?
-
lovetox
yes
-
Zash
I wasn't aware of any at all
-
lovetox
how would you tell the difference?! its not like you see a message and say, hey thats eme working
-
selurvedu
Dino states "status partial" , "Only for outgoing messages"
-
Zash
I've not heard anyone mention implementing it
-
lovetox
selurvedu, because dino supports all encryption mechanisms
-
lovetox
if you can detect all encryptions you dont need to depend on eme
-
lovetox
eme is for clients that dont want to support encryption, but still want to know when a encrypted message arrives
-
lovetox
Zash, Gajim and C for example
-
lovetox
and im sure many more
-
Zash
Cool, good to know.
-
lovetox
its als way user friendly, if i can show the user a message in his language
-
lovetox
than some fallback thing another client developer decides is good
-
lovetox
but im not arguing eme is more compatible than a fallback message
-
lovetox
obviously you get all clients with a fallback message
-
Zash
FWIW Prosody treats it as a hint that the message is important
-
lovetox
but i find the example rather academic
-
lovetox
if a user wants encryption
-
lovetox
he usually wants it on all his devices
-
selurvedu
lovetox, well, a user may be unaware that their counterpart uses an ancient client
-
lovetox
and we are also in the situation that there are clients that support encryption on all platforms
-
lovetox
selurvedu, you can only encrypt to someone if he doesnt use an ancient client
-
lovetox
so this scenario is only for users, who use on one device something with encryption
-
lovetox
but choose on another device to use a ancient client
-
lovetox
thats why i said i consider this case as academic
-
lovetox
im sure it happens somewhere
-
lovetox
either way, im also interested why 420 does not allow a body
-
selurvedu
lovetox, okay, however, how can a user of an ancient client tell that somebody's trying to contact them if there's no fallback body and eme is not supported?
-
lovetox
he can’t
-
Zash
Wanna have a discussion about just how far back backwards compatibility should go? 🙂
-
selurvedu
e.g. a user installed Conversations or Dino, new omemo keys got generated and published, then the user removed the client and switched back to something they're used to
-
selurvedu
Zash, hah, why not? :)
-
selurvedu
I'm asking because a person from my roster did just that ^
-
selurvedu
So I was trying to write with omemo enabled
-
Zash
Heh, I think it's one of the recurring topics in XMPP land.
-
lovetox
this reminds me, a destroy my omemo presence should be a button in a client
-
selurvedu
Thanks to fallback body they noticed my attempts