!GsmxjHfeAYLsTEQmjS:nixos.org

Matrix Meta (Nix)

636 Members
Discuss your proposals for the Matrix space here, before suggesting them in #matrix-suggestions:nixos.org179 Servers

Load older messages


SenderMessageTime
8 Mar 2025
@f0x:pixie.townf0x
In reply to @emilazy:matrix.org
room IDs are opaque identifiers that happen to encode one homeserver for no real good reason
well, so the server that created it can guarantee global uniqueness
03:34:15
@emilazy:matrix.orgemilybecause if you were just relying on 128 bits of good old-fashioned entropy you could have two starved VMs that accidentally create the same room?03:35:26
@emilazy:matrix.orgemilyseems like you'd run into cryptography problems in such a setting anyway03:36:10
@f0x:pixie.townf0x
In reply to @emilazy:matrix.org
because if you were just relying on 128 bits of good old-fashioned entropy you could have two starved VMs that accidentally create the same room?
rather stuff like a malicious entity claiming they created a (different) room with that id, I think
03:38:06
@emilazy:matrix.orgemilyI guess I don't understand the protocol well enough to grok the threat model. (I don't really know how room creation works at all)03:38:49
@emilazy:matrix.orgemilymy understanding was that there was work on getting the homeserver out of room IDs, though?03:39:01
@emilazy:matrix.orgemily(and out of user IDs but I think that stalled)03:39:06
@f0x:pixie.townf0x
In reply to @emilazy:matrix.org
my understanding was that there was work on getting the homeserver out of room IDs, though?
I'm not sure? They were removed from event id's because they were no longer needed there
03:42:43
@emma:rory.gay@emma:rory.gayno, the room id is a hash of the create event iirc04:25:49
@emma:rory.gay@emma:rory.gayits just to avoid conflicts between homeservers04:26:01
@ralith:ralith.comRalith
In reply to @f0x:pixie.town
rather stuff like a malicious entity claiming they created a (different) room with that id, I think
if anything, having the hs in the id makes that easier since it's predictable but not authenticated in any way
08:28:23
@ralith:ralith.comRalithit was always a kinda baffling decision08:28:34
@cat:feline.supportCat
In reply to @emma:rory.gay
no, the room id is a hash of the create event iirc
It’s not. That’s the proposed solution to make them not have a homeserver in there.
10:38:02
@cat:feline.supportCat The room ID is an opaque string with 0 meaning and no defined algorithm for its creation just a rule about that the origin hs is the same as room creator. 10:39:12
@emilazy:matrix.orgemily
In reply to @ralith:ralith.com
if anything, having the hs in the id makes that easier since it's predictable but not authenticated in any way
okay yeah this is what I was unsure about
13:08:16
@emilazy:matrix.orgemilyso it's truly pointless13:08:40
@emilazy:matrix.orgemily
In reply to @cat:feline.support
The room ID is an opaque string with 0 meaning and no defined algorithm for its creation just a rule about that the origin hs is the same as room creator.
I'm surprised people don't use it to put fake vanity domains in
13:08:41
@cat:feline.supportCat The full ruleset for room ids are !*:homeserver and the * represents all legal characters. 13:16:48
@emilazy:matrix.orgemilybut if the home server isn't authenticated you can put whatever you want there, right?13:21:06
@cat:feline.supportCatIts authenticated as part of the auth rules.13:28:59
@cat:feline.supportCatThe homeserver of the room ID is authenticated via the homeserver of the user who sent the creation event and all that ties back to homeserver signing keys and TLS.13:29:40
@cat:feline.supportCat* The homeserver of the room ID is authenticated via the homeserver of the user who sent the creation event and all that ties back to homeserver signing keys and TLS. (TLS isnt involved in homeserver signing keys but is involved in being able to even start the process of claiming you are a certain homeserver)13:30:10
@pacha:cyberendroit.netpacha left the room.13:48:33
@emilazy:matrix.orgemilygetting mixed messages here :) but ok, that makes some more sense14:11:18
@emma:rory.gay@emma:rory.gayyeah i was wrong lol14:50:31
@qyriad:katesiria.orgQyriad changed their display name from qyriad to Qyriad.21:41:03
9 Mar 2025
@hurdpublic:pub.solar@hurdpublic:pub.solar joined the room.11:41:03
@hurdpublic:pub.solar@hurdpublic:pub.solar changed their profile picture.14:07:47
@hurdpublic:pub.solar@hurdpublic:pub.solar changed their profile picture.14:29:23
@weethet:catgirl.cloudWeetHetI wonder if it's just me having issues with the #flakes:nixos.org's room name15:59:47

Show newer messages


Back to Room ListRoom Version: 6