jdev - 2020-08-01


  1. Beherit has left
  2. Beherit has joined
  3. Beherit has left
  4. Beherit has joined
  5. Beherit has left
  6. Beherit has joined
  7. Beherit has left
  8. Beherit has joined
  9. debacle has left
  10. yzrh has joined
  11. test2 has left
  12. test2 has joined
  13. SouL has left
  14. test2 has left
  15. test2 has joined
  16. kikuchiyo has joined
  17. test2 has left
  18. kikuchiyo has left
  19. ralphm has left
  20. Lance has left
  21. kikuchiyo has joined
  22. Lance has joined
  23. Lance has left
  24. test2 has joined
  25. Lance has joined
  26. Lance has left
  27. kikuchiyo has left
  28. Vaulor has joined
  29. SouL has joined
  30. Жокир has left
  31. Жокир has joined
  32. test2 has left
  33. test2 has joined
  34. Lance has joined
  35. Жокир has left
  36. Жокир has joined
  37. Lance has left
  38. Lance has joined
  39. Жокир has left
  40. Жокир has joined
  41. Lance has left
  42. Lance has joined
  43. Жокир has left
  44. Жокир has joined
  45. lovetox_ has joined
  46. lovetox has joined
  47. paul has joined
  48. paul has left
  49. paul has joined
  50. ralphm has joined
  51. sonny has left
  52. xecks has joined
  53. lovetox_ has left
  54. lovetox_ has joined
  55. lovetox_ has left
  56. lovetox_ has joined
  57. lovetox_ has left
  58. lovetox_ has joined
  59. lovetox_ has left
  60. Жокир has left
  61. Жокир has joined
  62. lovetox_ has joined
  63. lovetox_ has left
  64. lovetox_ has joined
  65. lovetox_ has left
  66. lovetox_ has joined
  67. lovetox_ has left
  68. lovetox_ has joined
  69. waqas has left
  70. Beherit has left
  71. Beherit has joined
  72. lovetox has left
  73. lovetox_ has left
  74. lovetox_ has joined
  75. lovetox has joined
  76. lovetox_ has left
  77. kikuchiyo has joined
  78. lovetox has left
  79. Alex has left
  80. Alex has joined
  81. kikuchiyo has left
  82. adiaholic_ has left
  83. adiaholic_ has joined
  84. lovetox_ has joined
  85. lovetox has joined
  86. debacle has joined
  87. Beherit has left
  88. jonnj has left
  89. Beherit has joined
  90. jdev has joined
  91. Beherit has left
  92. drops has left
  93. drops has joined
  94. kikuchiyo has joined
  95. kikuchiyo has left
  96. jdev has left
  97. vall has joined
  98. kikuchiyo has joined
  99. kikuchiyo has left
  100. SouL has left
  101. SouL has joined
  102. Beherit has joined
  103. drops has left
  104. drops has joined
  105. Beherit has left
  106. Beherit has joined
  107. kikuchiyo has joined
  108. kikuchiyo has left
  109. Beherit has left
  110. lovetox_ has left
  111. kikuchiyo has joined
  112. kikuchiyo has left
  113. lovetox has left
  114. adrien has joined
  115. kikuchiyo has joined
  116. kikuchiyo has left
  117. test2 has left
  118. test2 has joined
  119. adrien has left
  120. Lance has left
  121. vall has left
  122. pulkomandy has left
  123. pulkomandy has joined
  124. drops has left
  125. drops has joined
  126. vall has joined
  127. kikuchiyo has joined
  128. Beherit has joined
  129. vall has left
  130. Beherit has left
  131. eta has left
  132. eta has joined
  133. lovetox has joined
  134. lovetox_ has joined
  135. Жокир has left
  136. Жокир has joined
  137. Beherit has joined
  138. jonnj has joined
  139. kikuchiyo has left
  140. Жокир has left
  141. Жокир has joined
  142. kikuchiyo has joined
  143. kikuchiyo has left
  144. kikuchiyo has joined
  145. kikuchiyo has left
  146. kikuchiyo has joined
  147. kikuchiyo has left
  148. kikuchiyo has joined
  149. kikuchiyo has left
  150. kikuchiyo has joined
  151. kikuchiyo has left
  152. kikuchiyo has joined
  153. test2 has left
  154. test2 has joined
  155. test2 has left
  156. test2 has joined
  157. rion has left
  158. rion has joined
  159. pulkomandy has left
  160. pulkomandy has joined
  161. adiaholic_ has left
  162. adiaholic_ has joined
  163. lovetox has left
  164. test2 has left
  165. goffi has joined
  166. test2 has joined
  167. pulkomandy has left
  168. pulkomandy has joined
  169. Beherit has left
  170. lovetox_ has left
  171. Beherit has joined
  172. test2 has left
  173. adiaholic_ has left
  174. adiaholic_ has joined
  175. Beherit has left
  176. Beherit has joined
  177. Lance has joined
  178. Beherit has left
  179. Beherit has joined
  180. debacle has left
  181. pulkomandy has left
  182. pulkomandy has joined
  183. Lance has left
  184. Beherit has left
  185. Beherit has joined
  186. Yagizа has joined
  187. Жокир has left
  188. Жокир has joined
  189. pulkomandy has left
  190. pulkomandy has joined
  191. Ge0rG has left
  192. Yagizа has left
  193. Lance has joined
  194. waqas has joined
  195. pulkomandy has left
  196. pulkomandy has joined
  197. lovetox_ has joined
  198. lovetox has joined
  199. Beherit has left
  200. Beherit has joined
  201. Lance has left
  202. Beherit has left
  203. Beherit has joined
  204. drops has left
  205. drops has joined
  206. debacle has joined
  207. sonny has joined
  208. Beherit has left
  209. Beherit has joined
  210. Guus has left
  211. Guus has joined
  212. jonnj has left
  213. jonnj has joined
  214. kikuchiyo has left
  215. kikuchiyo has joined
  216. kikuchiyo has left
  217. kikuchiyo has joined
  218. kikuchiyo has left
  219. kikuchiyo has joined
  220. kikuchiyo has left
  221. kikuchiyo has joined
  222. pulkomandy has left
  223. pulkomandy has joined
  224. drops has left
  225. drops has joined
  226. jonnj has left
  227. kikuchiyo has left
  228. kikuchiyo has joined
  229. Lance has joined
  230. Beherit has left
  231. Beherit has joined
  232. pulkomandy has left
  233. pulkomandy has joined
  234. Beherit has left
  235. Lance has left
  236. debacle has left
  237. debacle has joined
  238. vall has joined
  239. lovetox_ has left
  240. kikuchiyo has left
  241. vall has left
  242. lovetox_ has joined
  243. kikuchiyo has joined
  244. kikuchiyo has left
  245. debacle has left
  246. Beherit has joined
  247. lovetox_ has left
  248. lovetox_ has joined
  249. lovetox_ has left
  250. lovetox_ has joined
  251. Lance has joined
  252. kikuchiyo has joined
  253. kikuchiyo has left
  254. lovetox_ has left
  255. kikuchiyo has joined
  256. Lance has left
  257. kikuchiyo has left
  258. Ge0rG has joined
  259. lovetox has left
  260. kikuchiyo has joined
  261. kikuchiyo has left
  262. Lance has joined
  263. Beherit has left
  264. pulkomandy has left
  265. pulkomandy has joined
  266. Beherit has joined
  267. Жокир has left
  268. Beherit has left
  269. kikuchiyo has joined
  270. kikuchiyo has left
  271. lovetox has joined
  272. Lance has left
  273. kikuchiyo has joined
  274. kikuchiyo has left
  275. lovetox has left
  276. Beherit has joined
  277. Lance has joined
  278. lovetox has joined
  279. Beherit has left
  280. Beherit has joined
  281. Beherit has left
  282. Beherit has joined
  283. Lance has left
  284. kikuchiyo has joined
  285. yzrh has left
  286. kikuchiyo has left
  287. yzrh has joined
  288. pulkomandy has left
  289. pulkomandy has joined
  290. adiaholic_ has left
  291. adiaholic_ has joined
  292. kikuchiyo has joined
  293. kikuchiyo has left
  294. Lance has joined
  295. kikuchiyo has joined
  296. kikuchiyo has left
  297. debacle has joined
  298. test2 has joined
  299. Lance has left
  300. test2 has left
  301. test2 has joined
  302. drops has left
  303. drops has joined
  304. Beherit has left
  305. waqas has left
  306. daidoji has joined
  307. daidoji has left
  308. lovetox hm can the new occupant id be used to identify messages from myself in a MUC?
  309. lovetox for example from another device of mine?
  310. pulkomandy has left
  311. pulkomandy has joined
  312. Zash Quite possibly
  313. lovetox any server has already a impl for that xep?
  314. Zash There's a plugin for Prosody that's deployed in some places.
  315. Zash Or so I thought
  316. Beherit has joined
  317. Zash lovetox: Enabled it on conference.prosody.im now if you want to test.
  318. lovetox thanks
  319. lovetox Zash and how is that implemented
  320. lovetox is it a hash of the full jid?
  321. lovetox so the server does not need to store anything?
  322. Zash 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.
  323. lovetox if it can be computed its not random or?
  324. lovetox i dont get why the random value, something like sha256 should be good without anything added or not?
  325. Zash The salt is generated once and stored with the room (internal) config
  326. lovetox ah ok
  327. lovetox so different occupant id per room
  328. Zash `HMAC(Bare JID, Room Salt)`
  329. Zash Yes
  330. Zash https://hg.prosody.im/prosody-modules/file/ae27f3359df8/mod_muc_occupant_id/mod_muc_occupant_id.lua#l25
  331. lovetox why not take the room jid then?
  332. lovetox but ok does not matter at this point
  333. lovetox i guess room has many settings to be stored
  334. lovetox one more does not matter
  335. tehnick has joined
  336. lovetox hm so this means i need to store my occupant id per room
  337. Beherit has left
  338. tehnick has left
  339. Beherit has joined
  340. Zash I imagine computing it from room jid would make it possible to guess identities.
  341. lovetox and fun things happen if the server db is deleted
  342. lovetox and suddenly i have a new occupant-id
  343. Zash Yeah
  344. lovetox i probably should plan for that
  345. lovetox so i need to store a list of ids per room
  346. Zash 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.
  347. Beherit has left
  348. Zash Some way to know that the salt got reset could be good
  349. lovetox you know when you get a new occupant id on join
  350. Zash True
  351. Zash And then all previous ids would be invalidated
  352. lovetox but i dont know if it was worth the added complexity
  353. Zash 🤷
  354. lovetox sha(user jid + roomjid) should be secure enough for this use case
  355. lovetox i can deal with my own id
  356. lovetox but if the goal was to recognize other people, this is really propblematic
  357. lovetox but if the goal was to recognize other people, this is really problematic
  358. eta lovetox: but then you can figure out whether a known jid is in the room
  359. lovetox true eta, didnt think about that
  360. Zash lovetox: What do you intend to use it for?
  361. lovetox Zash, im not sure yet, but this already tells me it can’t be anythin too serious
  362. lovetox my first idea was
  363. lovetox show last nicknames of a user
  364. lovetox and to be fair, server db reset is probably a major event, all rooms would be gone etc
  365. Zash 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
  366. lovetox does not happen too often probably
  367. lovetox Zash, a yes good usecase
  368. lovetox and it would not be bad if the occupant id changes
  369. Beherit has joined
  370. Zash Hopefully it won't change just as someone corrects a typo...
  371. lovetox even if, the impact is not really big
  372. lovetox so one correction does not work, nothing a user will lose sleep over
  373. Zash Better than what happens now :)
  374. Zash And if your chat view has avatars then you could show the correct ones for historical messages.
  375. lovetox i could use the avatar hash as occupant id :D
  376. lovetox not a very good one though
  377. lovetox has left
  378. Beherit has left
  379. Beherit has joined
  380. Ge0rG has left
  381. Beherit has left
  382. Beherit has joined
  383. pulkomandy has left
  384. pulkomandy has joined
  385. lovetox has joined
  386. kikuchiyo has joined
  387. kikuchiyo has left
  388. eta has left
  389. eta has joined
  390. Ge0rG has joined
  391. adiaholic_ has left
  392. adiaholic_ has joined
  393. Lance has joined
  394. adiaholic_ has left
  395. Lance has left
  396. eta has left
  397. eta has joined
  398. adiaholic_ has joined
  399. Beherit has left
  400. pulkomandy has left
  401. pulkomandy has joined
  402. test2 has left
  403. test2 has joined
  404. goffi has left
  405. adiaholic_ has left
  406. jonnj has joined
  407. Lance has joined
  408. Beherit has joined
  409. Lance has left
  410. sonny has left
  411. sonny has joined
  412. adiaholic_ has joined
  413. Lance has joined
  414. pulkomandy has left
  415. pulkomandy has joined
  416. lovetox has left
  417. adrien has joined
  418. kikuchiyo has joined
  419. kikuchiyo has left
  420. kikuchiyo has joined
  421. Martin has left
  422. Martin has joined
  423. waqas has joined
  424. waqas has left
  425. waqas has joined
  426. adiaholic_ has left
  427. test2 has left
  428. test2 has joined
  429. pulkomandy has left
  430. pulkomandy has joined
  431. eta has left
  432. eta has joined
  433. pulkomandy has left
  434. pulkomandy has joined
  435. pulkomandy has left
  436. pulkomandy has joined
  437. adrien has left
  438. pulkomandy has left
  439. pulkomandy has joined
  440. test2 has left
  441. test2 has joined
  442. test2 has left
  443. test2 has joined
  444. Martin has left
  445. Martin has joined
  446. Lance has left
  447. waqas has left
  448. paul has left