another question about OMEMO :) If I understand the XEP right one should encrypt the key and the GCM tag. Looking at dinos implementation it only seems to encrypt the key not the tag. Whats right?
nargashas left
nargashas joined
Half-ShotXhas left
Half-ShotXhas joined
ThibGhas left
ThibGhas joined
nargashas left
Syndace
Interesting catch, I'm curious how dino is even able to talk to the other clients then
nargashas joined
Syndace
Pretty sure encrypting the tag is the right way and all other clients do so as well
flow
jubalh, do you have a link/pointer to the relevant part of dino's implementation?
jeroenhas joined
Half-ShotXhas left
Half-ShotXhas joined
nargashas left
jubalh
Well, I'm not totally sure about it, but I think its this: https://github.com/dino/dino/blob/6de86c2733a26eb5034087ab25205ba1cba1e279/plugins/omemo/src/trust_manager.vala#L73
jeroenhas left
alacerhas joined
jeroenhas joined
jeroenhas left
nargashas joined
jeroenhas joined
jeroenhas left
jeroenhas joined
jubalh
Syndace, flow ^
!xsf_Martinhas left
jeroenhas left
jeroenhas joined
Half-ShotXhas left
Half-ShotXhas joined
jeroenhas left
jeroenhas joined
nargashas left
jeroenhas left
jeroenhas joined
jeroenhas left
nargashas joined
jeroenhas joined
Syndace
jubalh: Are you talking about "add_encryption_tag_to_message"?
Syndace
In line 153?
nargashas left
nargashas joined
jeroenhas left
jeroenhas joined
ralphmhas joined
Half-ShotXhas left
Half-ShotXhas joined
olihas joined
jeroenhas left
jeroenhas joined
jeroenhas left
jeroenhas joined
jeroenhas left
alacerhas left
alacerhas joined
flow
which appears to be just the EME extension element (/tag)
jeroenhas joined
nargashas left
jeroenhas left
jeroenhas joined
jeroenhas left
nargashas joined
Half-ShotXhas left
Half-ShotXhas joined
jeroenhas joined
j.rhas joined
jeroenhas left
jubalh
ahh so it does get encrypted?
404.cityhas joined
nargashas left
jubalh
too many xeps to read :)
lorddavidiiihas left
moparisthebesthas left
moparisthebesthas joined
jubalh
Syndace, but thats not the gcm tag right?
nargashas joined
Half-ShotXhas left
Half-ShotXhas joined
lorddavidiiihas joined
flow
Syndace, no, it is a tag in the sense of XML
Syndace
Tag means XML-Tag there, it's just a little confusion
flow
err, jubalh ^
jmpmanhas left
nargashas left
contrapunctushas left
contrapunctushas joined
contrapunctushas left
contrapunctushas joined
jmpmanhas joined
contrapunctushas left
contrapunctushas joined
contrapunctushas left
contrapunctushas joined
nargashas joined
contrapunctushas left
Half-ShotXhas left
Half-ShotXhas joined
contrapunctushas joined
contrapunctushas left
contrapunctushas joined
!xsf_Martinhas joined
contrapunctushas left
contrapunctushas joined
nargashas left
jubalh
so the gcm tag isnt encrypted if i see it right
nargashas joined
contrapunctushas left
contrapunctushas joined
contrapunctushas left
contrapunctushas joined
Half-ShotXhas left
Half-ShotXhas joined
contrapunctushas left
contrapunctushas joined
contrapunctushas left
contrapunctushas joined
Andrew Nenakhovhas left
lhas joined
Andrew Nenakhovhas joined
contrapunctushas left
contrapunctushas joined
contrapunctushas left
contrapunctushas joined
nargashas left
nargashas joined
Half-ShotXhas left
Half-ShotXhas joined
nargashas left
jeroenhas joined
jeroenhas left
Half-ShotXhas left
Half-ShotXhas joined
jeroenhas joined
nargashas joined
jeroenhas left
contrapunctushas left
contrapunctushas joined
contrapunctushas left
contrapunctushas joined
jeroenhas joined
jeroenhas left
debaclehas left
jeroenhas joined
contrapunctushas left
contrapunctushas joined
jeroenhas left
contrapunctushas left
contrapunctushas joined
jeroenhas joined
jeroenhas left
Half-ShotXhas left
Half-ShotXhas joined
jeroenhas joined
contrapunctushas left
contrapunctushas joined
contrapunctushas left
contrapunctushas joined
nargashas left
nargashas joined
jeroenhas left
jeroenhas joined
contrapunctushas left
contrapunctushas joined
jeroenhas left
jeroenhas joined
ThibGhas left
ThibGhas joined
jeroenhas left
jeroenhas joined
alacerhas left
l
jubalh, flow: This behavior changed in OMEMO. The original version would put the gcm tag to the ciphertext (this way it doesn't qualify for authenticity, but at least as a checksum), later the behavior was changed to encrypt the gcm tag to each device (so we get real authenticity as the per-device encryption is also signed). All clients support decrypting the old version, but for some time, some clients lacked support for decrypting the new version. Dino support decrypting both, but still encrypts using the old protocol. We should definitely change to the new version and there already is an issue for it https://github.com/dino/dino/issues/514 ;)
jeroenhas left
jeroenhas joined
jeroenhas left
jubalh
l, awesome thanks for clarifying this!
Half-ShotXhas left
Half-ShotXhas joined
lhas left
nargashas left
nargashas joined
nargashas left
alacerhas joined
Half-ShotXhas left
Half-ShotXhas joined
nargashas joined
jubalhhas left
jmpmanhas left
Half-ShotXhas left
Half-ShotXhas joined
jmpmanhas joined
nargashas left
novnovhas joined
nargashas joined
Half-ShotXhas left
Half-ShotXhas joined
!xsf_Martinhas left
alacerhas left
jeroenhas joined
marc_has joined
nargashas left
nargashas joined
jeroenhas left
Half-ShotXhas left
Half-ShotXhas joined
contrapunctushas left
contrapunctushas joined
melvohas joined
jeroenhas joined
jeroenhas left
jeroenhas joined
Syndace
l, anywhere I can read up on the details? I have the same problem that my lib works with all clients but Dino.
nargashas left
nargashas joined
jeroenhas left
jeroenhas joined
delehas joined
Half-ShotXhas left
Half-ShotXhas joined
delehas left
404.cityhas left
jeroenhas left
jeroenhas joined
alacerhas joined
Half-ShotXhas left
Half-ShotXhas joined
Half-ShotXhas left
jeroenhas left
nargashas left
nargashas joined
jeroenhas joined
jeroenhas left
Half-ShotXhas joined
jeroenhas joined
jeroenhas left
lskdjfhas joined
equilhas joined
ralphmhas left
jeroenhas joined
nargashas left
jeroenhas left
nargashas joined
bowlofeggshas joined
Half-ShotXhas left
Half-ShotXhas joined
j.rhas left
jeroenhas joined
jeroenhas left
Steve Killehas left
contrapunctushas left
contrapunctushas joined
jeroenhas joined
jeroenhas left
j.rhas joined
nargashas left
nargashas joined
Steve Killehas joined
jeroenhas joined
Half-ShotXhas left
Half-ShotXhas joined
jeroenhas left
jeroenhas joined
melvohas left
jeroenhas left
Half-ShotXhas left
jeroenhas joined
jeroenhas left
j.rhas left
jeroenhas joined
Half-ShotXhas joined
jeroenhas left
nargashas left
nargashas joined
Half-ShotXhas left
jeroenhas joined
jeroenhas left
jeroenhas joined
jeroenhas left
frainzhas left
jmpmanhas left
frainzhas joined
jeroenhas joined
jeroenhas left
nargashas left
Half-ShotXhas joined
nargashas joined
Half-ShotXhas left
jeroenhas joined
jeroenhas left
jeroenhas joined
jeroenhas left
jeroenhas joined
jeroenhas left
jeroenhas joined
rtq3has joined
nargashas left
jeroenhas left
nargashas joined
Half-ShotXhas joined
j.rhas joined
Half-ShotXhas left
rtq3has left
rtq3has joined
jeroenhas joined
alacerhas left
jeroenhas left
jeroenhas joined
karoshihas joined
jeroenhas left
jeroenhas joined
jeroenhas left
jeroenhas joined
Neustradamushas left
nargashas left
Half-ShotXhas joined
Neustradamushas joined
jeroenhas left
jeroenhas joined
contrapunctushas left
contrapunctushas joined
alacerhas joined
equilhas left
jeroenhas left
Half-ShotXhas left
nargashas joined
jeroenhas joined
jeroenhas left
frainzhas left
frainzhas joined
jeroenhas joined
jeroenhas left
jeroenhas joined
jeroenhas left
Half-ShotXhas joined
nargashas left
jeroenhas joined
Marandahas left
Marandahas joined
jeroenhas left
nargashas joined
jeroenhas joined
jeroenhas left
jeroenhas joined
Half-ShotXhas left
jeroenhas left
ThibGhas left
ThibGhas joined
nargashas left
Half-ShotXhas joined
nargashas joined
Marandahas left
Marandahas joined
nargashas left
Half-ShotXhas left
Half-ShotXhas joined
lumihas joined
contrapunctushas left
contrapunctushas joined
ThibGhas left
ThibGhas joined
Half-ShotXhas left
lorddavidiiihas left
nargashas joined
Andrew Nenakhovhas left
jmpmanhas joined
Half-ShotXhas joined
Andrew Nenakhovhas joined
Half-ShotXhas left
ThibGhas left
ThibGhas joined
nargashas left
nargashas joined
Half-ShotXhas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
nargashas left
larmahas left
larmahas joined
Half-ShotXhas left
Half-ShotXhas joined
lumihas left
nargashas joined
Half-ShotXhas left
Half-ShotXhas joined
Half-ShotXhas left
nargashas left
nargashas joined
Half-ShotXhas joined
Yagizahas left
Yagizahas joined
nargashas left
nargashas joined
Half-ShotXhas left
Half-ShotXhas joined
andyhas left
nargashas left
contrapunctushas left
contrapunctushas joined
jmpmanhas left
nargashas joined
rionhas left
rionhas joined
Half-ShotXhas left
Half-ShotXhas joined
Nekithas left
Nekithas joined
nargashas left
nargashas joined
Half-ShotXhas left
rionhas left
kokonoehas left
alacerhas left
jmpmanhas joined
kokonoehas joined
lnjhas joined
Half-ShotXhas joined
nargashas left
Half-ShotXhas left
nargashas joined
kokonoehas left
kokonoehas joined
waqashas joined
Half-ShotXhas joined
nargashas left
nargashas joined
vanitasvitaehas left
nargashas left
Steve Killehas left
vanitasvitaehas joined
Steve Killehas joined
Half-ShotXhas left
Half-ShotXhas joined
Steve Killehas left
nargashas joined
404.cityhas joined
Steve Killehas joined
Half-ShotXhas left
Half-ShotXhas joined
nargashas left
nargashas joined
delehas joined
ralphmhas joined
Half-ShotXhas left
Half-ShotXhas joined
Wiktor
Hello, I've got a question about "OTR has widely been replaced by OMEMO in the XMPP network and is recommended to be used instead." that is on https://wiki.xmpp.org/web/OTR It seems it's not clear what is recommended there and I think some draw the conclusion that it's OTR that is recommended (see: https://github.com/golang/go/issues/30141#issuecomment-467913000 ). I'm not a native speaker but what do you think about improving it so that the intent is clear?
olihas left
Half-ShotXhas left
nargashas left
dwd
"OTR is no longer the recommended way to wreck your user experience in return for some badly-understood security. Use OMEMO instead"?
nargashas joined
jonas’
dwd, +1
pep.
that
Wiktor
dwd, 👍️. sounds unambiguous
Wiktor
just to show you the context: quote "in the XMPP world, the OTR protocol is still used as the standard secure messaging protocol" on https://github.com/golang/go/issues/30141#issuecomment-462031961
Ge0rG
[Redirect to:OMEMO]
delehas left
Half-ShotXhas joined
MattJ
Wiktor, http://omemo.top/
Wiktor
I know I know, but apparently some people don't, I already commented on the GH ticket but the OTR guys took the quote from XMPP wiki as a recommendation *for* OTR
nargashas left
Wiktor
that's... I think... sub-optimal
jonas’
Wiktor, don’t you have +w on the wiki?
Wiktor
oh, wait, I do have it 🤔️ I hope it doesn't look weird if I say "even XMPP wiki recomends" and then write the recommendation myself :)
jonas’
hah
jonas’
just put dwds suggestion in it
Wiktor
👍️
nargashas joined
pep.
That golang issue is missing the transport agnostic use-case, which is not inexistant. (even if that's what's mostly criticized of OTR in the XMPP community)
marc_has left
j.rhas left
marc_has joined
j.rhas joined
Half-ShotXhas left
Wiktor
yeah, I was just annoyed at taking XMPP as an example of OTR being successfully deployed
jonas’
I still use and prefer OTR over OMEMO
Zash
I'm sure OTR is still in use in some circles
Wiktor
I don't mind their work, it would be completely stupid if I dictated how they should spend their time :)
Zash
Like those serrvers that mandate OTR
Wiktor
jonas’, why? genuinely curious
MattJ
Me too
jonas’
Wiktor, mine and my wife’s primary 1:1 client doesn’t support OMEMO in any usable way (i.e. without compiling some modules which aren’t even working)
jonas’
while OTR was painless to install and to use -- except with Conversations, but *that* issue has resolved itself nicely.
Half-ShotXhas joined
Wiktor
jonas’, what's that client that your wife is using?
jonas’
pidgin
Wiktor
got it
jonas’
in the past because multi-protocol, and now because "used to it"
jonas’
and why change a running system
jonas’
in a single-client setup, it’s very much "good enough"
jonas’
especially when you’re still from the age of ICQ, so you know that a sudden reconnect causes lost messages and you need to negotiate that in-band
Wiktor
no probs with that, I understand legacy solutions, heck, I'm still using some ;)
jonas’
I personally still use pidgin to keep the pain levels high enough to motivate me to work on my own client side stuff