-
qy
ugh i remember that too now, i don't think i've even solved that entirely correctly yet
-
MattJ
qy, there shouldn't be anything for a client to solve these days
-
MattJ
It is weird how they end up in MAM but won't be Carbon'd though
-
MattJ
But everything about MUC PMs is weird
-
qy
it's the differentiation between muc and pm, which i don't think i've done robustly, i thought of an edge case this morning but i can't remember it now
-
pep.
While we're on MUC PMs. While I agree MUC PMs are weird and I'd rather use direct messages, I'm always hesitant to say "Don't use them, just use direct chat messages". First because semi-anon rooms are still a thing so in practice it doesn't work, not everybody knows everybody else's JIDs. And then, why should they? (know everybody else's JIDs). There's still some unresolved things I find about having separate identities on XMPP. Creating yet another account isn't also very practical (even though it may currently the best way to have separate entities) :/✎ -
MSavoritias (fae,ve)
Ideally in my opinion it shiuld work like this in semi anon rooms: 1. Person wants to message another person privately in a semi annon room. They click a button or type pm and then the nickname if the person. 2. In the background the client creates a new ephemeral xmpp id and creates a room for tne two people linked to the previous room optionally. 3. Both people are dropped in the room with their temporary xmpp ids. When they leave the room the xmpp ids are automatically discarded and the room destroyed.
-
MSavoritias (fae,ve)
Ideally of course. This requires burner jids to be implemented too
-
MSavoritias (fae,ve)
Which should be the default for semi anon rooms anyway imo
-
jonas’
that seems more clunky than even normal MUC-PMs on first sight (especially in the multi-client scenario), what's the advantage?
-
pep.
While we're on MUC PMs. While I agree MUC PMs are weird and I'd rather use direct messages, I'm always hesitant to say "Don't use them, just use direct chat messages". First because semi-anon rooms are still a thing so in practice it doesn't work, not everybody knows everybody else's JIDs. And then, why should they? (know everybody else's JIDs). There's still some unresolved things I find about having separate identities on XMPP. Creating yet another account isn't also very practical (even though it may currently be the best way to have separate entities) :/ ✏
-
mathieui
Burner JIDs are cumbersome, though I would like to see them used one day
-
MSavoritias (fae,ve)
Hmm. I was thinking that this way there is a room and actual jid/xmpp ids involved. Instead of inline things in tne chat going to nicknames
-
mathieui
having to restart a new session for each JID is a pain from a client perspective, frankly
-
MSavoritias (fae,ve)
So the seperation is clearer
-
mathieui
especially if you want to go the 1 JID = 1 MUC route
-
pep.
mathieui, all that handled transparently for the user yeah :P
-
MSavoritias (fae,ve)
> mathieui: > having to restart a new session for each JID is a pain from a client perspective, frankly I wonder if that would be solved with xmpp over quic
-
pep.
I don't think the transport changes anything here
-
jonas’
MSavoritias (fae,ve), but I would cut out a room in that case, if it's just 1:1
-
mathieui
you still need to do SASL everytime
-
jonas’
let the participants use burner JIDs on both ends and have a 1:1 communication, without a MUC inbetween.
-
jonas’
that works much better with multi-client setups (even though I have no clue how burner JID + multi-client could work)
-
MSavoritias (fae,ve)
Ah yeah. Sorry i meant room in the matrix way 😅
-
jonas’
I see
-
mathieui
I would rather have something like wrapped payloads inside the main session
-
MSavoritias (fae,ve)
Yeah for sure. 1:1 chat i agree
-
singpolyma
That would reveal your domain
-
qy
i still don't see what the benefit of burner jids is here
-
jonas’
then you just have to figure out how to do multi-client burner JID in a way that admins are not incentivised to block those from s2s communications (as you are with SASL ANON)
-
qy
they're useful, but not for MUC PMs
-
jonas’
and we're good to go
-
pep.
singpolyma, burner jids still are on the same domain anyway right? It's a given that your domain is revealed
-
MSavoritias (fae,ve)
> qy: > i still don't see what the benefit of burner jids is here Because to drop two users in a 1:1 room you need to show some jid
-
MSavoritias (fae,ve)
To my knowledge
-
jonas’
pep., semi-anon MUC PMs as of today do not reveal your domain.
-
qy
^
-
singpolyma
pep.: right. So doesn't work for the semi Anon MUC pm case
-
mathieui
pep., you could provide burner JIDs as a third-party service
-
mathieui
(I guess)
-
jonas’
mathieui, who would do that?
-
pep.
mathieui, yeah you could just like you could provide sasl anon but barely anybody does that
-
mathieui
buuut you end up with the same issue as anon auth services
-
MSavoritias (fae,ve)
Why cant the jid be completely randomized.
-
mathieui
which nobody does unrestricted because of abuse
-
jonas’
I wouldn't expect SASL ANON to ever be allowed to federate.
-
mathieui
MSavoritias (fae,ve), because it needs to be routed
-
singpolyma
> buuut you end up with the same issue as anon auth services Not if you auth to the burner service from your real jid. Same as MUC PM at that point
-
pep.
jonas’, I do, in controlled environments. anon.jabberfr.org is allowed on some other services
-
jonas’
exactly
-
singpolyma
Give real jid to service X, they send traffic onwards
-
mathieui
but then I don’t see the point of having burner JIDs if you could have MUC PMs instead
-
qy
exactly✎ -
MSavoritias (fae,ve)
Then we need to seperate the generation of jid and routing to what we show
-
qy
mathieui; exactly ✏
-
mathieui
why solve hard problems when you have an easy one at hand
-
jonas’
MSavoritias (fae,ve), unlikely to ever happen within XMPP
-
MSavoritias (fae,ve)
Maybe the xmpf server the user is using can act as a proxy
-
singpolyma
mathieui: I think she people want jid->bare jid translation to always work?✎ -
MSavoritias (fae,ve)
Yeah probably
-
singpolyma
mathieui: I think some people want jid->bare jid translation to always work? ✏
-
MSavoritias (fae,ve)
Do be honest though even if it leaks only the domain its still better than exposing the actual jid
-
qy
as in, to be stable and not depend on nickname?
-
singpolyma
MSavoritias (fae,ve): those are the same in my case
-
pep.
If, "if", we every manage to make it like MUC PMs are not a pain anymore, I'd see JIDs in MUC replaced by something like occupant-id fwiw. Even for moderators
-
singpolyma
And for many people
-
jonas’
qy, singpolyma, that's what MIX gives, fwiw
-
pep.
(full-anon again!)
-
singpolyma
lol, MIX
-
jonas’
proper addressing of participants
-
jonas’
one of the key issues with MUC which cannot be solved within MUC
-
MSavoritias (fae,ve)
Would mixake it easier to do pms?
-
jonas’
MSavoritias (fae,ve), verily
-
pep.
jonas’, "proper"? With the 4-in-3 thing?
-
jonas’
pep., well, better in any case
-
jonas’
done right, the 4-in-3 isn't as bad
-
qy
"cannot" seems strong
-
jonas’
qy, you'd have to redo the entire addressing scheme of MUC
-
qy
don't we already have several ideas for stable ids?
-
jonas’
you cna also do MIX then.✎ -
jonas’
you can also do MIX then. ✏
-
jonas’
stable IDs are nice and all, but not if they're not JIDs
-
jonas’
and addressable as JIDs
-
qy
but they can be
-
jonas’
there's no concept I know of for *addressable* stable occupant IDs in MUC
-
pep.
They're not addressable as JIDs outside of the MUC. They could be
-
singpolyma
Stable IDs sort of defeats the point of an anon room, no?
-
jonas’
not even within the MUC
-
MSavoritias (fae,ve)
So either we make MUC into MIX or adopt MIX
-
jonas’
singpolyma, depends on your use case
-
jonas’
there are use cases where you want stable, but anonymous ID, and use cases where every visit should have a different ID
-
MSavoritias (fae,ve)
Yeah. And stable but "annon" ids also have their place
-
qy
no need to differentiate, as long as they remain routable, they can be changed as often as liked
-
singpolyma
Registered nicks then ;)
-
jonas’
e.g. in programming@, I'd be content with a stable identifier which cannot be mapped back by the general public to my real JID
-
jonas’
qy, good, make a concept for that :-). and also how resources fit into that.
-
jonas’
and make sure to read the corresponding MIX specs, because they have that already
-
qy
i've moved to the camp that prefers to update MUC rather than adopt MIX, for guessable reasons
-
jonas’
qy, especially then you should also look at the prior art in MIX
-
qy
i'm just suggesting ideas. I have no stake in this
-
MSavoritias (fae,ve)
If it changes that much i dont see the point of trying to redo half of how the muc works. But 🤷
-
singpolyma
Realistically, MUC PM has been working fine for decades and any change will have an inertial problem
-
singpolyma
Not that change is always bad, but yeah
-
pep.
singpolyma, "fine" :P
-
singpolyma
Much bigger problem, if it's a problem but it seems more like one, is MUC nick iq. I realize the possible solutions are similar
-
pep.
Maybe there should be a document that defines clearly what's wrong with MUC PMs
-
pep.
(if there isn't already)
-
MSavoritias (fae,ve)
Yeah if we change muc that much that it needs a migration path (identifiers and pms) then its a problem anyway
-
pep.
As a first step
-
singpolyma
But of course a full solution to that will probably result in many bugs that essentially leak the jid, so bah. I mean, my jid is public but as a matter of culture many expect theirs not to be
-
jonas’
singpolyma, "MUC nick iq"?
-
singpolyma
jonas’: sending an iq from one muc participant to another
-
pep.
singpolyma, my public JID is public, my other non-public JIDs aren't :x
-
jonas’
singpolyma, ah yes, that's doomed
-
jonas’
MIX fixes that :-X
-
singpolyma
pep.: do you use your public jid for joining public rooms?
-
pep.
jonas’, does it? There's still an issue with leaking info right?
-
jonas’
pep., leaking info?
-
jonas’
well if you reply to IQs, you need to be careful what you reply with✎ -
jonas’
well if you reply to IQs, you need to be careful what you reply with to whom ✏
-
singpolyma
jonas’: does mix fix the problem where even in a non anon room the room could be lying to me about what people's JIDs are? ;)
-
jonas’
that's irrespective of the transport used for that
-
jonas’
singpolyma, no, and thinking about that hurts my head
-
pep.
Yeah that's a non-issue to me
-
pep.
For this matter
-
singpolyma
jonas’: yes but usually with an iq you can assume the other side knows your jid
-
jonas’
it becomes a significant issue when you think about MUC-OMEMO
-
singpolyma
Except with MUC
-
singpolyma
Needs more e2ea
-
singpolyma
Or at least s2ea
-
pep.
I think we can dissociate anonymity to the MUC and to MUC participants
-
pep.
And maybe solve these in different ways (dunno)
-
qy
so other than MUC IQs being a thing, i don't personally have an issue with MUC PMs as they stand, but some people would like routable stable addresses in some form; i guess that's the sum of things "wrong" at the moment?
-
singpolyma
A MUC could pretend to be non-anon and give out burner JIDs at a companion service
-
jonas’
singpolyma, indeed
-
jonas’
kind of what biboumi does
-
pep.
singpolyma, yeah I was thinking about that
-
jonas’
that's actually pretty smart
-
jonas’
but!
-
jonas’
the companion service would have to translate your JID somehow
-
jonas’
and to do that correctly, it needs context
-
jonas’
which can be encoded in the JID, but uh
-
jonas’
sounds like a fun project
-
Kev
Isn't that context encoding basically what MUC PMs already do?
-
singpolyma
It would need to know your jid, but could store in a lookup table, or salted hash it, or whatever makes sense for the use case
-
singpolyma
Probably gonna need a lookup either way
-
jonas’
singpolyma, put the JID of both occupants encrypted into the localpart of the burner JID, that should do the trick
-
jonas’
plus maybe a random part or hmac of the room JID
-
pep.
Kev, kinda? I have to admit it's not very clear to me what's the difference yet
-
jonas’
then you got unique IDs and routing based on the room
-
singpolyma
jonas’: JIDs have almost no length limit riiiiiiight ;)
-
jonas’
1023 bytes should be enough for that
-
jonas’
well, they're not
-
jonas’
so yeah, you need some lookup
-
singpolyma
But that's fine the muc already needs lookup anyway
-
pep.
Ok I'll have to reread this and write it down in a way that's understandable :P
-
pep.
Maybe I can implement it in my MUC component
-
pep.
Yeah it's similar to what MUC currently does because it still has to go through MUC, as opposed to burner JIDs. I don't know if it improves things compared to what MUC currently does though.
-
jonas’
pep., it does if we can make it so that bare JID === identity
-
jonas’
which is not the case in MUC currently and that causes a lot of headaches
-
pep.
hmm
-
pep.
Really someday I want to stop relying on resources for nicknames, and either use item@nick (but that's not used by other participants right? Just for nickname changes?) or 0172
-
qy
the funny thing is, i kinda want things to go the opposite direction
-
pep.
How?
-
pep.
(and why?)
-
qy
namely in biboumi, i'd ever so slightly like it to more mirror MUC PMs as things stand, but then also for the sake of consistency i'm ok with how it is
-
pep.
Well IRC doesn't have this concept
-
jonas’
pep., what is "item@nick"?
-
qy
yeah ofc, but my point is i'd rather solidify the state-of-affairs than create some other system
-
pep.
<{muc#user}x><item nick="foo"/></x>
-
jonas’
ah, that
-
stpeter
Hi all, the XSF Board meeting is starting now: https://wiki.xmpp.org/web/Board-Meeting-2023-01-05
-
emus
✨✨
-
moparisthebest
Firefox on Android kept joining and then "error! Trying to reconnect!" But the jitsi app from f-droid worked fine
-
pep.
I tried twice on firefox at the beginning and gave up as it was chocking as soon as I connected :(
-
emus_web
Just found this via a twitter bot: https://www.gsocorganizations.dev/organization/xmpp-standards-foundation/
-
emus
moparisthebest: I totally forgot to offer you to speak on the Editor automation topic. Do you want to follow-up here?
-
moparisthebest
emus: I don't really have anything, jonas’ wants a language update I can get to soon and then hopefully it'll be ready to merge
-
moparisthebest
I put thoughts on the other issue in there but haven't tried to write a POC or anything
-
moparisthebest
Other issue being getting rid of the attic as it currently exists
-
emus
moparisthebest: Okay alright, thanks!