Beherit
has left
00:06:12
Beherit
has joined
00:06:20
Beherit
has left
00:18:36
Beherit
has joined
00:18:42
Beherit
has left
00:18:45
Beherit
has joined
00:18:52
Beherit
has left
00:27:43
Beherit
has joined
00:28:31
debacle
has left
00:30:40
yzrh
has joined
00:35:54
test2
has left
00:39:24
test2
has joined
00:39:41
SouL
has left
00:41:29
test2
has left
01:02:54
test2
has joined
01:03:12
kikuchiyo
has joined
01:06:46
test2
has left
01:10:15
kikuchiyo
has left
01:20:17
ralphm
has left
01:45:27
Lance
has left
02:17:23
kikuchiyo
has joined
02:35:18
Lance
has joined
02:35:46
Lance
has left
03:01:16
test2
has joined
03:20:45
Lance
has joined
03:26:17
Lance
has left
03:41:27
kikuchiyo
has left
03:43:27
Vaulor
has joined
03:44:44
SouL
has joined
03:50:51
Жокир
has left
03:53:22
Жокир
has joined
03:53:24
test2
has left
03:59:55
test2
has joined
04:00:18
Lance
has joined
04:00:58
Жокир
has left
04:09:19
Жокир
has joined
04:09:21
Lance
has left
04:15:27
Lance
has joined
04:15:40
Жокир
has left
04:28:45
Жокир
has joined
04:28:46
Lance
has left
04:31:44
Lance
has joined
04:39:24
Жокир
has left
04:55:37
Жокир
has joined
04:56:08
lovetox_
has joined
05:03:12
lovetox
has joined
05:03:13
paul
has joined
05:15:05
paul
has left
05:16:33
paul
has joined
05:16:45
ralphm
has joined
05:22:25
sonny
has left
05:40:17
xecks
has joined
06:09:36
lovetox_
has left
06:10:55
lovetox_
has joined
06:12:38
lovetox_
has left
06:13:15
lovetox_
has joined
06:13:19
lovetox_
has left
06:13:27
lovetox_
has joined
06:13:57
lovetox_
has left
06:14:44
Жокир
has left
06:15:16
Жокир
has joined
06:15:27
lovetox_
has joined
06:15:29
lovetox_
has left
06:15:36
lovetox_
has joined
06:15:41
lovetox_
has left
06:16:31
lovetox_
has joined
06:16:57
lovetox_
has left
06:18:09
lovetox_
has joined
06:18:43
waqas
has left
06:21:08
Beherit
has left
06:26:07
Beherit
has joined
06:27:16
lovetox
has left
06:36:47
lovetox_
has left
06:37:24
lovetox_
has joined
06:37:25
lovetox
has joined
06:37:26
lovetox_
has left
06:37:58
kikuchiyo
has joined
06:40:48
lovetox
has left
06:42:58
Alex
has left
06:57:41
Alex
has joined
06:57:50
kikuchiyo
has left
06:57:59
adiaholic_
has left
07:17:34
adiaholic_
has joined
07:20:13
lovetox_
has joined
07:34:27
lovetox
has joined
07:34:27
debacle
has joined
07:37:38
Beherit
has left
07:45:53
jonnj
has left
07:48:32
Beherit
has joined
07:55:52
jdev
has joined
08:02:03
Beherit
has left
08:08:47
drops
has left
08:14:42
drops
has joined
08:14:46
kikuchiyo
has joined
08:14:50
kikuchiyo
has left
08:15:03
jdev
has left
08:15:34
vall
has joined
08:17:21
kikuchiyo
has joined
08:18:53
kikuchiyo
has left
08:19:38
SouL
has left
08:28:42
SouL
has joined
08:28:44
Beherit
has joined
08:29:42
drops
has left
08:31:53
drops
has joined
08:31:56
Beherit
has left
08:34:47
Beherit
has joined
08:43:31
kikuchiyo
has joined
08:48:39
kikuchiyo
has left
08:48:45
Beherit
has left
08:50:01
lovetox_
has left
08:54:57
kikuchiyo
has joined
08:58:49
kikuchiyo
has left
08:58:56
lovetox
has left
08:59:57
adrien
has joined
09:05:49
kikuchiyo
has joined
09:10:57
kikuchiyo
has left
09:11:07
test2
has left
09:13:55
test2
has joined
09:14:08
adrien
has left
09:15:53
Lance
has left
09:16:42
vall
has left
09:17:00
pulkomandy
has left
09:17:40
pulkomandy
has joined
09:17:45
drops
has left
09:18:10
drops
has joined
09:18:15
vall
has joined
09:19:17
kikuchiyo
has joined
09:20:19
Beherit
has joined
09:21:24
vall
has left
09:21:24
Beherit
has left
09:25:46
eta
has left
09:29:08
eta
has joined
09:29:11
lovetox
has joined
09:29:44
lovetox_
has joined
09:29:46
Жокир
has left
09:30:30
Жокир
has joined
09:30:45
Beherit
has joined
09:31:07
jonnj
has joined
09:31:54
kikuchiyo
has left
09:35:46
Жокир
has left
09:39:09
Жокир
has joined
09:39:20
kikuchiyo
has joined
09:41:24
kikuchiyo
has left
09:41:30
kikuchiyo
has joined
09:42:06
kikuchiyo
has left
09:42:11
kikuchiyo
has joined
09:42:39
kikuchiyo
has left
09:42:42
kikuchiyo
has joined
09:43:13
kikuchiyo
has left
09:43:16
kikuchiyo
has joined
09:43:50
kikuchiyo
has left
09:43:51
kikuchiyo
has joined
09:44:42
test2
has left
09:48:50
test2
has joined
09:49:07
test2
has left
09:49:16
test2
has joined
09:49:30
rion
has left
09:57:10
rion
has joined
09:57:13
pulkomandy
has left
10:06:48
pulkomandy
has joined
10:06:52
adiaholic_
has left
10:09:37
adiaholic_
has joined
10:10:24
lovetox
has left
10:11:49
test2
has left
10:13:45
goffi
has joined
10:13:51
test2
has joined
10:14:10
pulkomandy
has left
10:17:14
pulkomandy
has joined
10:17:18
Beherit
has left
10:18:42
lovetox_
has left
10:22:28
Beherit
has joined
10:25:58
test2
has left
10:26:20
adiaholic_
has left
10:40:09
adiaholic_
has joined
10:40:11
Beherit
has left
10:51:07
Beherit
has joined
10:52:49
Lance
has joined
10:56:02
Beherit
has left
10:57:54
Beherit
has joined
11:01:26
debacle
has left
11:05:15
pulkomandy
has left
11:06:49
pulkomandy
has joined
11:06:55
Lance
has left
11:16:47
Beherit
has left
11:44:27
Beherit
has joined
11:45:32
Yagizа
has joined
11:50:15
Жокир
has left
12:04:45
Жокир
has joined
12:04:46
pulkomandy
has left
12:06:50
pulkomandy
has joined
12:06:54
Ge0rG
has left
12:46:16
Yagizа
has left
12:53:14
Lance
has joined
12:56:17
waqas
has joined
12:59:47
pulkomandy
has left
13:06:51
pulkomandy
has joined
13:06:55
lovetox_
has joined
13:13:56
lovetox
has joined
13:14:09
Beherit
has left
13:16:38
Beherit
has joined
13:16:39
Lance
has left
13:19:25
Beherit
has left
13:22:22
Beherit
has joined
13:24:04
drops
has left
13:24:15
drops
has joined
13:24:37
debacle
has joined
13:25:03
sonny
has joined
13:26:59
Beherit
has left
13:29:21
Beherit
has joined
13:31:55
Guus
has left
13:35:12
Guus
has joined
13:35:33
jonnj
has left
13:38:51
jonnj
has joined
13:38:52
kikuchiyo
has left
13:45:19
kikuchiyo
has joined
13:56:31
kikuchiyo
has left
13:56:37
kikuchiyo
has joined
13:57:34
kikuchiyo
has left
13:57:37
kikuchiyo
has joined
13:58:17
kikuchiyo
has left
13:58:18
kikuchiyo
has joined
14:00:34
pulkomandy
has left
14:06:52
pulkomandy
has joined
14:06:58
drops
has left
14:08:05
drops
has joined
14:08:08
jonnj
has left
14:15:04
kikuchiyo
has left
14:46:52
kikuchiyo
has joined
14:48:42
Lance
has joined
14:58:48
Beherit
has left
15:05:17
Beherit
has joined
15:05:33
pulkomandy
has left
15:06:54
pulkomandy
has joined
15:06:58
Beherit
has left
15:11:12
Lance
has left
15:13:50
debacle
has left
15:18:00
debacle
has joined
15:18:42
vall
has joined
15:21:16
lovetox_
has left
15:21:30
kikuchiyo
has left
15:21:42
vall
has left
15:22:40
lovetox_
has joined
15:23:29
kikuchiyo
has joined
15:23:32
kikuchiyo
has left
15:23:35
debacle
has left
15:25:11
Beherit
has joined
15:26:44
lovetox_
has left
15:29:04
lovetox_
has joined
15:29:18
lovetox_
has left
15:29:28
lovetox_
has joined
15:29:35
Lance
has joined
15:32:54
kikuchiyo
has joined
15:38:43
kikuchiyo
has left
15:38:53
lovetox_
has left
15:42:00
kikuchiyo
has joined
15:48:48
Lance
has left
15:49:05
kikuchiyo
has left
15:49:07
Ge0rG
has joined
15:51:29
lovetox
has left
15:52:03
kikuchiyo
has joined
15:58:41
kikuchiyo
has left
15:58:45
Lance
has joined
16:00:27
Beherit
has left
16:05:34
pulkomandy
has left
16:06:54
pulkomandy
has joined
16:06:59
Beherit
has joined
16:10:31
Жокир
has left
16:11:58
Beherit
has left
16:12:03
kikuchiyo
has joined
16:18:47
kikuchiyo
has left
16:18:53
lovetox
has joined
16:23:50
Lance
has left
16:26:03
kikuchiyo
has joined
16:28:38
kikuchiyo
has left
16:28:51
lovetox
has left
16:31:20
Beherit
has joined
16:35:40
Lance
has joined
16:42:49
lovetox
has joined
16:44:02
Beherit
has left
16:50:23
Beherit
has joined
16:50:31
Beherit
has left
16:52:54
Beherit
has joined
16:53:15
Lance
has left
16:58:30
kikuchiyo
has joined
16:58:42
yzrh
has left
16:58:42
kikuchiyo
has left
16:59:03
yzrh
has joined
16:59:25
pulkomandy
has left
17:06:56
pulkomandy
has joined
17:07:00
adiaholic_
has left
17:08:52
adiaholic_
has joined
17:08:54
kikuchiyo
has joined
17:10:13
kikuchiyo
has left
17:10:24
Lance
has joined
17:16:30
kikuchiyo
has joined
17:19:01
kikuchiyo
has left
17:19:01
debacle
has joined
17:25:22
test2
has joined
17:27:11
Lance
has left
17:30:51
test2
has left
17:37:22
test2
has joined
17:37:44
drops
has left
17:40:22
drops
has joined
17:40:27
Beherit
has left
17:42:50
waqas
has left
17:54:34
daidoji
has joined
18:05:48
daidoji
has left
18:06:05
lovetox
18:06:09
hm can the new occupant id be used to identify messages from myself in a MUC?
lovetox
18:06:17
for example from another device of mine?
pulkomandy
has left
18:06:56
pulkomandy
has joined
18:07:00
Zash
18:07:41
Quite possibly
lovetox
18:08:47
any server has already a impl for that xep?
Zash
18:09:15
There's a plugin for Prosody that's deployed in some places.
Zash
18:10:38
Or so I thought
Beherit
has joined
18:16:05
Zash
18:18:32
lovetox: Enabled it on conference.prosody.im now if you want to test.
lovetox
18:19:06
thanks
lovetox
18:19:19
Zash and how is that implemented
lovetox
18:19:26
is it a hash of the full jid?
lovetox
18:19:34
so the server does not need to store anything?
Zash
18:20:30
Hash of JID + random value used as salt. The salt needs to be stored, but all the per-JID values can be computed and/or cached.
lovetox
18:21:33
if it can be computed its not random or?
lovetox
18:22:17
i dont get why the random value, something like sha256 should be good without anything added or not?
Zash
18:22:25
The salt is generated once and stored with the room (internal) config
lovetox
18:22:41
ah ok
lovetox
18:22:47
so different occupant id per room
Zash
18:22:51
`HMAC(Bare JID, Room Salt)`
Zash
18:22:53
Yes
Zash
18:23:02
https://hg.prosody.im/prosody-modules/file/ae27f3359df8/mod_muc_occupant_id/mod_muc_occupant_id.lua#l25
lovetox
18:23:13
why not take the room jid then?
lovetox
18:23:47
but ok does not matter at this point
lovetox
18:23:54
i guess room has many settings to be stored
lovetox
18:23:58
one more does not matter
tehnick
has joined
18:24:11
lovetox
18:25:22
hm so this means i need to store my occupant id per room
Beherit
has left
18:25:29
tehnick
has left
18:25:31
Beherit
has joined
18:25:38
Zash
18:26:01
I imagine computing it from room jid would make it possible to guess identities.
lovetox
18:26:28
and fun things happen if the server db is deleted
lovetox
18:26:41
and suddenly i have a new occupant-id
Zash
18:26:42
Yeah
lovetox
18:27:07
i probably should plan for that
lovetox
18:27:22
so i need to store a list of ids per room
Zash
18:29:00
https://xmpp.org/extensions/xep-0421.html#id-generation
> a MUC service SHOULD generate the identifier such that the occupant identifier of a user in one room of the service does not match the occupant identifier of the same user in another room of the same service.
Beherit
has left
18:29:57
Zash
18:30:10
Some way to know that the salt got reset could be good
lovetox
18:30:28
you know when you get a new occupant id on join
Zash
18:30:41
True
Zash
18:31:15
And then all previous ids would be invalidated
lovetox
18:31:23
but i dont know if it was worth the added complexity
Zash
18:31:41
🤷
lovetox
18:31:54
sha(user jid + roomjid) should be secure enough for this use case
lovetox
18:32:37
i can deal with my own id
lovetox
18:32:51
but if the goal was to recognize other people, this is really propblematic ✎
lovetox
18:32:57
but if the goal was to recognize other people, this is really problematic ✏
eta
18:32:59
lovetox: but then you can figure out whether a known jid is in the room
lovetox
18:33:51
true eta, didnt think about that
Zash
18:33:53
lovetox: What do you intend to use it for?
lovetox
18:34:18
Zash, im not sure yet, but this already tells me it can’t be anythin too serious
lovetox
18:34:24
my first idea was
lovetox
18:34:27
show last nicknames of a user
lovetox
18:34:54
and to be fair, server db reset is probably a major event, all rooms would be gone etc
Zash
18:34:57
I thought the main use case was having last message correction work from MAM, ie letting you know that the user doing a correction was the same as the one sending the original message
lovetox
18:35:01
does not happen too often probably
lovetox
18:35:25
Zash, a yes good usecase
lovetox
18:35:39
and it would not be bad if the occupant id changes
Beherit
has joined
18:36:06
Zash
18:36:06
Hopefully it won't change just as someone corrects a typo...
lovetox
18:36:22
even if, the impact is not really big
lovetox
18:36:38
so one correction does not work, nothing a user will lose sleep over
Zash
18:37:03
Better than what happens now :)
Zash
18:38:33
And if your chat view has avatars then you could show the correct ones for historical messages.
lovetox
18:40:32
i could use the avatar hash as occupant id :D
lovetox
18:40:54
not a very good one though
lovetox
has left
18:51:22
Beherit
has left
18:54:25
Beherit
has joined
18:54:33
Ge0rG
has left
19:00:57
Beherit
has left
19:04:36
Beherit
has joined
19:05:33
pulkomandy
has left
19:06:56
pulkomandy
has joined
19:07:00
lovetox
has joined
19:07:23
kikuchiyo
has joined
19:09:33
kikuchiyo
has left
19:09:36
eta
has left
19:10:56
eta
has joined
19:10:58
Ge0rG
has joined
19:12:54
adiaholic_
has left
19:14:49
adiaholic_
has joined
19:14:51
Lance
has joined
19:17:36
adiaholic_
has left
19:28:51
Lance
has left
19:31:58
eta
has left
19:32:32
eta
has joined
19:32:35
adiaholic_
has joined
19:45:45
Beherit
has left
20:03:24
pulkomandy
has left
20:06:58
pulkomandy
has joined
20:07:02
test2
has left
20:10:32
test2
has joined
20:10:58
goffi
has left
20:17:15
adiaholic_
has left
20:28:11
jonnj
has joined
20:28:36
Lance
has joined
20:30:52
Beherit
has joined
20:33:32
Lance
has left
20:45:31
sonny
has left
20:51:30
sonny
has joined
20:51:40
adiaholic_
has joined
20:57:36
Lance
has joined
21:00:46
pulkomandy
has left
21:06:58
pulkomandy
has joined
21:07:02
lovetox
has left
21:13:26
adrien
has joined
21:31:24
kikuchiyo
has joined
21:35:00
kikuchiyo
has left
21:35:06
kikuchiyo
has joined
21:36:19
Martin
has left
21:50:05
Martin
has joined
21:50:53
waqas
has joined
21:53:39
waqas
has left
21:57:53
waqas
has joined
21:57:57
adiaholic_
has left
22:01:30
test2
has left
22:04:11
test2
has joined
22:04:25
pulkomandy
has left
22:06:58
pulkomandy
has joined
22:07:03
eta
has left
22:09:35
eta
has joined
22:09:39
pulkomandy
has left
22:12:37
pulkomandy
has joined
22:12:42
pulkomandy
has left
22:20:12
pulkomandy
has joined
22:20:16
adrien
has left
22:29:17
pulkomandy
has left
22:47:55
pulkomandy
has joined
22:48:05
test2
has left
22:50:53
test2
has joined
22:52:36
test2
has left
22:52:38
test2
has joined
23:01:44
Martin
has left
23:15:41
Martin
has joined
23:16:22
Lance
has left
23:29:42
waqas
has left
23:52:21
paul
has left
23:54:15