jdev - 2020-04-05


  1. wurstsalat has left

  2. debacle has left

  3. Zash has left

  4. Zash has joined

  5. strar has left

  6. strar has joined

  7. paul has left

  8. moparisthebest has left

  9. alexis has left

  10. alexis has joined

  11. DebXWoody has joined

  12. DebXWoody has left

  13. moparisthebest has joined

  14. DebXWoody has joined

  15. tsk has joined

  16. paul has joined

  17. lovetox has joined

  18. paul has left

  19. paul has joined

  20. strar has left

  21. strar has joined

  22. wurstsalat has joined

  23. adrien has left

  24. adrien has joined

  25. lovetox has left

  26. pulkomandy has left

  27. pulkomandy has joined

  28. strar has left

  29. tsk has left

  30. strar has joined

  31. strar has left

  32. pulkomandy has left

  33. goffi has joined

  34. strar has joined

  35. pulkomandy has joined

  36. pulkomandy has left

  37. Marc has joined

  38. pulkomandy has joined

  39. strar has left

  40. lovetox has joined

  41. debacle has joined

  42. strar has joined

  43. strar has left

  44. strar has joined

  45. tsk has joined

  46. strar has left

  47. strar has joined

  48. pulkomandy has left

  49. pulkomandy has joined

  50. asterix has joined

  51. jae has joined

  52. asterix has left

  53. asterix has joined

  54. pulkomandy has left

  55. pulkomandy has joined

  56. strar has left

  57. strar has joined

  58. tsk has left

  59. Jae has joined

  60. asterix has left

  61. asterix has joined

  62. pulkomandy has left

  63. pulkomandy has joined

  64. jonnj has left

  65. jonnj has joined

  66. strar has left

  67. Jae has left

  68. pulkomandy has left

  69. pulkomandy has joined

  70. debacle has left

  71. strar has joined

  72. strar has left

  73. strar has joined

  74. serge90 has joined

  75. serge90 has left

  76. serge90 has joined

  77. asterix has left

  78. asterix has joined

  79. Jae has joined

  80. paul has left

  81. paul has joined

  82. pulkomandy has left

  83. pulkomandy has joined

  84. Zash has left

  85. Zash has joined

  86. serge90 has left

  87. serge90 has joined

  88. Martin has left

  89. strar has left

  90. Martin has joined

  91. serge90 has left

  92. serge90 has joined

  93. Jae has left

  94. Alex

    is someone able to help me to validate this Caps Hash? ``` <query xmlns="http://jabber.org/protocol/disco#info" node="http://gajim.org#KV4qaXUgvEqhWE7WEJoqvO6gTYA="> <identity type="pc" category="client" name="Gajim" /> <feature var="http://jabber.org/protocol/bytestreams" /> <feature var="http://jabber.org/protocol/si" /> <feature var="http://jabber.org/protocol/si/profile/file-transfer" /> <feature var="http://jabber.org/protocol/muc" /> <feature var="http://jabber.org/protocol/muc#user" /> <feature var="http://jabber.org/protocol/muc#admin" /> <feature var="http://jabber.org/protocol/muc#owner" /> <feature var="http://jabber.org/protocol/muc#roomconfig" /> <feature var="http://jabber.org/protocol/commands" /> <feature var="http://jabber.org/protocol/disco#info" /> <feature var="ipv6" /> <feature var="jabber:iq:gateway" /> <feature var="jabber:iq:last" /> <feature var="jabber:iq:privacy" /> <feature var="jabber:iq:private" /> <feature var="jabber:iq:register" /> <feature var="jabber:iq:version" /> <feature var="jabber:x:data" /> <feature var="jabber:x:encrypted" /> <feature var="msglog" /> <feature var="sslc2s" /> <feature var="stringprep" /> <feature var="urn:xmpp:ping" /> <feature var="urn:xmpp:time" /> <feature var="urn:xmpp:ssn" /> <feature var="http://jabber.org/protocol/mood" /> <feature var="http://jabber.org/protocol/activity" /> <feature var="http://jabber.org/protocol/nick" /> <feature var="http://jabber.org/protocol/rosterx" /> <feature var="urn:xmpp:sec-label:0" /> <feature var="urn:xmpp:hashes:2" /> <feature var="urn:xmpp:hash-function-text-names:md5" /> <feature var="urn:xmpp:hash-function-text-names:sha-1" /> <feature var="urn:xmpp:hash-function-text-names:sha-256" /> <feature var="urn:xmpp:hash-function-text-names:sha-512" /> <feature var="jabber:x:conference" /> <feature var="urn:xmpp:message-correct:0" /> <feature var="urn:xmpp:eme:0" /> <feature var="urn:xmpp:avatar:metadata+notify" /> <feature var="http://jabber.org/protocol/mood+notify" /> <feature var="http://jabber.org/protocol/activity+notify" /> <feature var="http://jabber.org/protocol/tune+notify" /> <feature var="http://jabber.org/protocol/nick+notify" /> <feature var="http://jabber.org/protocol/geoloc+notify" /> <feature var="http://jabber.org/protocol/chatstates" /> <feature var="http://jabber.org/protocol/xhtml-im" /> <feature var="urn:xmpp:receipts" /> <feature var="urn:xmpp:jingle:1" /> <feature var="urn:xmpp:jingle:apps:file-transfer:5" /> <feature var="urn:xmpp:jingle:security:xtls:0" /> <feature var="urn:xmpp:jingle:transports:s5b:1" /> <feature var="urn:xmpp:jingle:transports:ibb:1" /> <feature var="eu.siacs.conversations.axolotl.devicelist+notify" /> </query> ```

  95. Zash

    Woah

  96. Alex

    my code always tells mt its wrong, I don't see why, have not seen caps hash errors in years ;-)

  97. pulkomandy has left

  98. pulkomandy has joined

  99. Zash

    Prosodys util for this says `KV4qaXUgvEqhWE7WEJoqvO6gTYA=`

  100. jonas’

    can you paste this somewhere?

  101. serge90 has left

  102. Zash

    Code block rendering that doesn't take up the entire screen would be nice. *hint* client authors :)

  103. serge90 has joined

  104. Alex

    jonas’‎, you need a bigger screen ;-)

  105. Alex

    jonas’‎, https://gist.github.com/agnauck/75759eff6277de616151e4cc27d72cb9

  106. tsk has joined

  107. Alex

    Zash‎, so Prosody sais its correct? Then something is getting messed up in my codes 🤔

  108. Zash

    Yes

  109. strar has joined

  110. Zash

    https://xmpp.org/extensions/xep-0115.html#ver-gen-complex

  111. serge90 has left

  112. serge90 has joined

  113. Alex

    can you point me ot the Prosody code you used to verify? Then I can debug and try to find dthe issue

  114. Zash

    https://hg.prosody.im/trunk/file/tip/util/caps.lua

  115. Alex

    have tons of samples in my unit tests which all succeed, but it does not like that one for some reason :(

  116. Alex

    thanis

  117. strar has left

  118. Alex

    how do I execute this LUA util?

  119. Zash

    Lua*

  120. serge90 has left

  121. serge90 has joined

  122. Zash

    Save this as caps.lua or something: `print((require "util.caps".calculate_hash(require "util.xml".parse(io.read("*a")))))`

  123. Zash

    assumes it's in a prosody checkout and you built the C stuff and have all the dependencies

  124. Alex

    are you able to send me the string which LUA concats before building the hash?

  125. strar has joined

  126. Zash

    https://www.lua.org/about.html#name

  127. pep.

    Lua*

  128. Zash

    It's the second return value of calculate_hash()

  129. Zash

    Alex: http://paste.debian.net/1138517/

  130. serge90 has left

  131. Zash

    looooooooong line at the end

  132. serge90 has joined

  133. Alex

    thank you, owe you a beer next time we meet ;-)

  134. pulkomandy has left

  135. pulkomandy has joined

  136. serge90 has left

  137. serge90 has joined

  138. lovetox

    Alex this is a very easy example

  139. lovetox

    so i guess the only thing that can go wrong with that is preparing the identity correctly

  140. lovetox

    so i would look into that

  141. lovetox

    first

  142. serge90 has left

  143. serge90 has joined

  144. Alex

    this is where I looked forst and thought its related to the xml-lang which Gajim put on the iq, but this looks correct

  145. lovetox

    if you find the problem i also would be interested to know in which trap you fell

  146. serge90 has left

  147. serge90 has joined

  148. Jae has joined

  149. pulkomandy has left

  150. serge90 has left

  151. serge90 has joined

  152. asterix has left

  153. asterix has joined

  154. Alex

    Looks like its this: ``` urn:xmpp:hash-function-text-names:md5< urn:xmpp:hash-function-text-names:sha-1< urn:xmpp:hash-function-text-names:sha-256< urn:xmpp:hash-function-text-names:sha-512< urn:xmpp:hashes:2< ``` vs ``` urn:xmpp:hashes:2< urn:xmpp:hash-function-text-names:md5< urn:xmpp:hash-function-text-names:sha-1< urn:xmpp:hash-function-text-names:sha-256< urn:xmpp:hash-function-text-names:sha-512< ``` some weird stuff going on in .NET string sorting which I am hitting for the first time

  155. jonas’

    the i;octet collation is relevant for sorting

  156. serge90 has left

  157. serge90 has joined

  158. pulkomandy has joined

  159. serge90 has left

  160. serge90 has joined

  161. pulkomandy has left

  162. Jae has left

  163. Alex

    ya, it looks like .NET by default sorts by OS culture, fixed by using `StringComparer.Ordinal`

  164. Alex

    this code is on prod for over 10 years and hitting it the first time 😀

  165. Zash

    I sure hope nobody goes and invents some non-ascii feature

  166. Alex

    my OS is using Germany culture settings

  167. serge90 has left

  168. DebXWoody has left

  169. serge90 has joined

  170. Alex

    time for a walk before publishing a fix, Thank you guys for the help 👍

  171. pulkomandy has joined

  172. pulkomandy has left

  173. pulkomandy has joined

  174. serge90 has left

  175. serge90 has joined

  176. DebXWoody has joined

  177. serge90 has left

  178. serge90 has joined

  179. serge90 has left

  180. serge90 has joined

  181. serge90 has left

  182. serge90 has joined

  183. pulkomandy has left

  184. pulkomandy has joined

  185. serge90 has left

  186. serge90 has joined

  187. asterix has left

  188. asterix has joined

  189. gav has left

  190. serge90 has left

  191. serge90 has joined

  192. Jae has joined

  193. pulkomandy has left

  194. pulkomandy has joined

  195. serge90 has left

  196. serge90 has joined

  197. strar has left

  198. Jae has left

  199. serge90 has left

  200. serge90 has joined

  201. strar has joined

  202. tsk has left

  203. serge90 has left

  204. serge90 has joined

  205. Jae has joined

  206. serge90 has left

  207. pulkomandy has left

  208. serge90 has joined

  209. pulkomandy has joined

  210. serge90 has left

  211. serge90 has joined

  212. lovetox has left

  213. lovetox has joined

  214. asterix has left

  215. asterix has joined

  216. serge90 has left

  217. serge90 has joined

  218. Jae has left

  219. serge90 has left

  220. serge90 has joined

  221. serge90 has left

  222. serge90 has joined

  223. paul has left

  224. paul has joined

  225. serge90 has left

  226. serge90 has joined

  227. serge90 has left

  228. serge90 has joined

  229. Jae has joined

  230. asterix has left

  231. asterix has joined

  232. asterix has left

  233. asterix has joined

  234. asterix has left

  235. asterix has joined

  236. paul has left

  237. asterix has left

  238. asterix has joined

  239. paul has joined

  240. paul has left

  241. paul has joined

  242. serge90 has left

  243. serge90 has joined

  244. pulkomandy has left

  245. pulkomandy has joined

  246. dendang has joined

  247. serge90 has left

  248. serge90 has joined

  249. Jae has left

  250. serge90 has left

  251. serge90 has joined

  252. strar has left

  253. Jae has joined

  254. serge90 has left

  255. serge90 has joined

  256. pulkomandy has left

  257. paul has left

  258. serge90 has left

  259. serge90 has joined

  260. paul has joined

  261. asterix has left

  262. pulkomandy has joined

  263. asterix has joined

  264. strar has joined

  265. serge90 has left

  266. serge90 has joined

  267. serge90 has left

  268. serge90 has joined

  269. pulkomandy has left

  270. Jae has left

  271. Jae has joined

  272. serge90 has left

  273. serge90 has joined

  274. adrien has left

  275. adrien has joined

  276. asterix has left

  277. asterix has joined

  278. pulkomandy has joined

  279. serge90 has left

  280. serge90 has joined

  281. pulkomandy has left

  282. serge90 has left

  283. serge90 has joined

  284. asterix has left

  285. asterix has joined

  286. pulkomandy has joined

  287. serge90 has left

  288. serge90 has joined

  289. asterix has left

  290. asterix has joined

  291. serge90 has left

  292. serge90 has joined

  293. lovetox has left

  294. strar has left

  295. strar has joined

  296. asterix has left

  297. asterix has joined

  298. Jae has left

  299. serge90 has left

  300. serge90 has joined

  301. Jae has joined

  302. strar has left

  303. strar has joined

  304. asterix has left

  305. asterix has joined

  306. pulkomandy has left

  307. pulkomandy has joined

  308. lovetox has joined

  309. kikuchiyo has left

  310. strar has left

  311. kikuchiyo has joined

  312. adrien has left

  313. adrien has joined

  314. asterix has left

  315. asterix has joined

  316. strar has joined

  317. Jae has left

  318. debacle has joined

  319. asterix has left

  320. asterix has joined

  321. strar has left

  322. strar has joined

  323. pulkomandy has left

  324. pulkomandy has joined

  325. kikuchiyo has left

  326. pulkomandy has left

  327. pulkomandy has joined

  328. serge90 has left

  329. serge90 has joined

  330. Martin has left

  331. Martin has joined

  332. serge90 has left

  333. serge90 has joined

  334. kikuchiyo has joined

  335. serge90 has left

  336. kikuchiyo has left

  337. serge90 has joined

  338. pulkomandy has left

  339. pulkomandy has joined

  340. serge90 has left

  341. serge90 has joined

  342. kikuchiyo has joined

  343. kikuchiyo has left

  344. kikuchiyo has joined

  345. pulkomandy has left

  346. pulkomandy has joined

  347. tsk has joined

  348. asterix has left

  349. asterix has joined

  350. serge90 has left

  351. serge90 has joined

  352. paul has left

  353. serge90 has left

  354. serge90 has joined

  355. paul has joined

  356. asterix has left

  357. asterix has joined

  358. asterix has left

  359. asterix has joined

  360. serge90 has left

  361. serge90 has joined

  362. asterix has left

  363. asterix has joined

  364. serge90 has left

  365. serge90 has joined

  366. pulkomandy has left

  367. asterix has left

  368. asterix has joined

  369. asterix has left

  370. asterix has joined

  371. serge90 has left

  372. serge90 has joined

  373. pulkomandy has joined

  374. serge90 has left

  375. serge90 has joined

  376. kikuchiyo has left

  377. kikuchiyo has joined

  378. asterix has left

  379. asterix has joined

  380. asterix has left

  381. asterix has joined

  382. kikuchiyo has left

  383. serge90 has left

  384. serge90 has joined

  385. pulkomandy has left

  386. serge90 has left

  387. serge90 has joined

  388. kikuchiyo has joined

  389. alexis has left

  390. serge90 has left

  391. serge90 has joined

  392. lovetox has left

  393. serge90 has left

  394. serge90 has joined

  395. pulkomandy has joined

  396. serge90 has left

  397. serge90 has joined

  398. Marc has left

  399. Marc has joined

  400. serge90 has left

  401. serge90 has joined

  402. kikuchiyo has left

  403. kikuchiyo has joined

  404. serge90 has left

  405. serge90 has joined

  406. DebXWoody has left

  407. DebXWoody has joined

  408. serge90 has left

  409. serge90 has joined

  410. serge90 has left

  411. serge90 has joined

  412. Jae has joined

  413. serge90 has left

  414. serge90 has joined

  415. asterix has left

  416. asterix has joined

  417. serge90 has left

  418. serge90 has joined

  419. serge90 has left

  420. serge90 has joined

  421. pulkomandy has left

  422. pulkomandy has joined

  423. serge90 has left

  424. serge90 has joined

  425. serge90 has left

  426. serge90 has joined

  427. pulkomandy has left

  428. Jae has left

  429. Jae has joined

  430. pulkomandy has joined

  431. serge90 has left

  432. serge90 has joined

  433. moparisthebest has left

  434. serge90 has left

  435. serge90 has joined

  436. asterix has left

  437. asterix has joined

  438. asterix has left

  439. asterix has joined

  440. serge90 has left

  441. serge90 has joined

  442. serge90 has left

  443. serge90 has joined

  444. Marc has left

  445. paul has left

  446. paul has joined

  447. paul has left

  448. serge90 has left

  449. paul has joined

  450. serge90 has joined

  451. pulkomandy has left

  452. mbt has joined

  453. serge90 has left

  454. serge90 has joined

  455. asterix has left

  456. asterix has joined

  457. mbt

    hi everyone, currently im having trouble with implementation stanzas on xmpp.js. can anyone help me about it?

  458. pep.

    sonny, ^ ?

  459. pulkomandy has joined

  460. sonny

    Feel free to open an issue with your question on the repository and I'll have a look

  461. Marc has joined

  462. mbt

    okay thanks i ll move on there

  463. serge90 has left

  464. serge90 has joined

  465. pulkomandy has left

  466. Martin has left

  467. pulkomandy has joined

  468. serge90 has left

  469. serge90 has joined

  470. pulkomandy has left

  471. pulkomandy has joined

  472. Martin has joined

  473. mbt has left

  474. serge90 has left

  475. serge90 has joined

  476. Jae has left

  477. asterix has left

  478. asterix has joined

  479. Jae has joined

  480. serge90 has left

  481. serge90 has joined

  482. lovetox has joined

  483. serge90 has left

  484. serge90 has joined

  485. jae has left

  486. serge90 has left

  487. serge90 has joined

  488. dendang has left

  489. serge90 has left

  490. Jae has left

  491. Jae has joined

  492. serge90 has joined

  493. serge90 has left

  494. serge90 has joined

  495. serge90 has left

  496. serge90 has joined

  497. serge90 has left

  498. serge90 has joined

  499. serge90 has left

  500. serge90 has joined

  501. asterix has left

  502. asterix has joined

  503. asterix has left

  504. asterix has joined

  505. serge90 has left

  506. serge90 has joined

  507. serge90 has left

  508. serge90 has joined

  509. DebXWoody has left

  510. serge90 has left

  511. serge90 has joined

  512. Neustradamus has joined

  513. Neustradamus has left

  514. alexis has joined

  515. serge90 has left

  516. Neustradamus has joined

  517. Neustradamus has left

  518. serge90 has joined

  519. Neustradamus has joined

  520. Neustradamus has left

  521. serge90 has left

  522. serge90 has joined

  523. strar has left

  524. alexis has left

  525. strar has joined

  526. alexis has joined

  527. serge90 has left

  528. serge90 has joined

  529. kikuchiyo has left

  530. kikuchiyo has joined

  531. wurstsalat has left

  532. serge90 has left

  533. serge90 has joined

  534. serge90 has left

  535. serge90 has joined

  536. serge90 has left

  537. serge90 has joined

  538. neustradamus has joined

  539. serge90 has left

  540. serge90 has joined

  541. serge90 has left

  542. serge90 has joined

  543. kikuchiyo has left

  544. serge90 has left

  545. serge90 has joined

  546. serge90 has left

  547. serge90 has joined

  548. Marc has left

  549. goffi has left

  550. asterix has left

  551. serge90 has left

  552. serge90 has joined

  553. Jae has left

  554. serge90 has left

  555. serge90 has joined

  556. lovetox has left

  557. kikuchiyo has joined

  558. serge90 has left

  559. serge90 has joined

  560. paul has left

  561. serge90 has left

  562. serge90 has joined

  563. kikuchiyo has left

  564. serge90 has left

  565. serge90 has joined

  566. serge90 has left

  567. serge90 has joined

  568. strar has left

  569. serge90 has left

  570. serge90 has joined

  571. serge90 has left

  572. serge90 has joined

  573. jonnj has left

  574. jonnj has joined

  575. serge90 has left

  576. strar has joined

  577. serge90 has joined

  578. debacle has left

  579. strar has left

  580. serge90 has left

  581. serge90 has joined

  582. strar has joined

  583. serge90 has left

  584. serge90 has joined

  585. strar has left

  586. serge90 has left

  587. serge90 has joined

  588. neustradamus has left

  589. neustradamus has joined

  590. serge90 has left

  591. Neustradamus has joined

  592. Neustradamus has left

  593. serge90 has joined

  594. serge90 has left

  595. serge90 has joined

  596. jonnj has left

  597. jonnj has joined

  598. serge90 has left

  599. serge90 has joined