Gajim - 2017-08-14


  1. bot Philipp Hörist pushed 2 commits to branch _refs/heads/gtk3_ of _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins>: *4f0622ce* <https://dev.gajim.org/gajim/gajim-plugins/commit/4f0622cef87dd0c207631e301dc6a4f74ae6c8e4> [plugin_installer] Prepare for upcoming Gajim changes - Prepare the Plugin so it works with Gajim as a package. - Add a Fallback method so we can update Plugins that are not loaded by the PluginManager *3c094677* <https://dev.gajim.org/gajim/gajim-plugins/commit/3c0946774bb72403060d2a6f09f3b87ad832ae95> [plugin_installer] Update manifest.ini
  2. bot Yann Leboulanger pushed 2 commits to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *89d3c3af* <https://dev.gajim.org/gajim/gajim/commit/89d3c3af1415be23d1083a0a3321b4a1c397a6d0> rework password interface. Fixes #8347 *bda11b7d* <https://dev.gajim.org/gajim/gajim/commit/bda11b7d398a07b7c23ee9856245e83e33be95b4> Merge branch 'master' into 'master' rework password interface. Fixes #8347 Closes #8347 See merge request !117
  3. Asterix vanitasvitae: Hi
  4. Asterix Jingle FT in direct mode works in Gajim
  5. vanitasvitae ah thats why its closed?
  6. Asterix I just did a test and I have a full log if you want to have a look
  7. vanitasvitae * #8703
  8. Asterix lovetox: I don't know why 8703 is opened. maybe only for proxies?
  9. vanitasvitae did you test direct connections with other clients?
  10. Asterix which one?
  11. lovetox was not intended to close
  12. vanitasvitae ah
  13. lovetox Asterix, yes primarily for proxys
  14. lovetox though xep 0065 says a dstAddr is also used in direct connections
  15. Asterix I look into that
  16. lovetox but i dont know what gajim does
  17. Asterix dst.addr is not mandatory IIRC
  18. vanitasvitae maybe we should ask @standards?
  19. vanitasvitae I asked recently, how to react when dst.addr is missing
  20. lovetox Asterix if you look into it, it would be good to change the names of the variables
  21. lovetox SID can mean StreamID, or SessionID
  22. lovetox we have both with jingle
  23. Asterix The <query/> element MAY possess a 'dstaddr' attribute
  24. Asterix I don't think we send it
  25. Eda SID also can be Standard Instrument Departure :)
  26. Asterix and the name of an old debian version too :)
  27. vanitasvitae toy story!
  28. Eda That's Sid, not SID :)
  29. Asterix I have several things that dont work correctly. I will fix things I see
  30. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *f8383954* <https://dev.gajim.org/gajim/gajim/commit/f8383954e38c9f0c7665b9d69a52004e4c677c7a> Fix socks5 problem: receive() returns bytes, not str
  31. Asterix vanitasvitae: S5B proxies works correctly now
  32. lovetox Asterix, it only works gajim to gajim if you didnt fix the SID problem
  33. Asterix G2G yes
  34. Asterix I haven't looked at SID yet
  35. Asterix I look at local IPs
  36. vanitasvitae Asterix: the sid is used to calculate the dst.addr for the proxy. Has nothing to do with ips
  37. Asterix indeed
  38. Asterix unrelated problem
  39. Asterix one after the other :)
  40. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *dbbd3fe1* <https://dev.gajim.org/gajim/gajim/commit/dbbd3fe11138e83d4e912040c90071ce1ebb4648> Fix broken menus when renaming an account
  41. Asterix ha cool
  42. lovetox still renaming an account seems to be highly risky thing in gajim, its unclear for us in what circumstances this could break all kind of things, when in reality it should be just a label that is shown in the roster and means nothing for gajims behaviour
  43. Asterix lovetox: yes, we already discussed that...
  44. lovetox but a really big change... maybe i do something else ^^
  45. vanitasvitae lovetox, would you consider to make an implementation of JET someday? https://geekplace.eu/xeps/xep-jet/xep-jet.html
  46. lovetox yeah of course why not, if this gets approved :)
  47. vanitasvitae nice :)
  48. Asterix we use XTLS currently
  49. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *b9c363e9* <https://dev.gajim.org/gajim/gajim/commit/b9c363e9cdf578b8421d2e2a4a12dee8701ff271> use netifaces to get local IPs if available. Fixes #8666
  50. Asterix I'll look at SID think this evening
  51. bot Yann Leboulanger pushed 2 commits to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *d9948452* <https://dev.gajim.org/gajim/gajim/commit/d99484521229e1c8d040fdfd311d7ff0e6b465e0> Revert "use netifaces to get local IPs if available. Fixes #8666" This reverts commit b9c363e9cdf578b8421d2e2a4a12dee8701ff271. *9ce6299e* <https://dev.gajim.org/gajim/gajim/commit/9ce6299e1a69dd2791e2d6d4c1d335beec515715> use netifaces to get local IPs if available. Fixes #8666
  52. activate Well, finally figured that out.. I was having problems starting Gajim apparently because of a non UTF8 certificate somewhere.
  53. activate It turned out to be the ca-bundle.crt.rpmnew in the same directory that was causing the problems.
  54. activate lovetox, Does nbxmpp try every file in /etc/pki/tls/certs that starts with ca-bundle perhaps?
  55. activate I would expect it to just take the ca-bundle.crt if it is present and ignore any other options.
  56. lovetox it trys every cert that is in that folder
  57. lovetox the name does not matter
  58. activate Ok, most likely it was because the .rpmnew file was in ISO8859 format then?
  59. lovetox yes
  60. lovetox nbxmpp should not just quit on one wrong encoded cert
  61. lovetox now we skip it
  62. activate Ah ok, well atleast now I now what causes it.
  63. activate Still, might be a good idea to get my distro to have the file in utf-8 in the future?
  64. lovetox but that patch is only on git, not in a released version yet
  65. lovetox im not sure what the standard on cert bundles is
  66. lovetox but it seems reasonable to me that everyone uses utf8
  67. lovetox instead of every application has to guess the encoding
  68. activate I will ask in my distribution channel and see what they say about it?
  69. activate Without the ? lol
  70. lovetox yeah please tell me what you find out
  71. activate lovetox, Well, not really much luck from my distribution's channel. After telling them the situation I just got a response like "why do you think it was necessary to convert the file to begin with?" and "likely on converting you didn't account for the hex-escapes, right?" which I did not get at all
  72. activate In short, they were unable to give me answer to my question "Is there a standard encoding for certificate files?"
  73. activate Guess Google is my friend :P
  74. lovetox so what is exactly the problem
  75. lovetox your distribution encodes all cert files in iso8859
  76. lovetox ?
  77. activate No idea, I only got one person to answer me and he did not answer the question. Using Mageia btw
  78. activate But I think they do normally. Since the only reason an .rpmnew is created is when the file has changed since the release package. And I ofcourse change the encoding.
  79. lovetox do you actually need the cert in that file for gajim?
  80. activate lovetox, Finally did get a response and he does have a point ;) "I still think you're misreading the error message or something similar, certs are around for way longer than any other tool making use of it.... and re conversion to utf8: make sure you convert "Sociedad Cameral de Certificaci\xC3\xB3n Digital - Certic\xC3\xA1mara S.A., CN=AC Ra\xC3\xADz Certic\xC3\xA1mara S.A." to "Sociedad Cameral de Certificación Digital - Certicámara S.A., CN=AC Raíz Certicámara S.A." if you want to go unicode and maybe"
  81. lovetox whats the point?
  82. lovetox if you save a certfile it has to be encoded with a specific encoding
  83. lovetox there are many different encodings out there
  84. lovetox what encoding a file has is not evident from the file, you have to trial and error
  85. lovetox so what is the easier solution? everyone saves its certs in UTF8, or every application that will ever be written has to trial and error the 10 most used encodings
  86. lovetox the question is from where did you get the cert file
  87. lovetox did you maybe open and save it yourself, probably converting it to iso8859 by accident
  88. lovetox nbxmpp is really old, im not aware that this was ever a problem
  89. lovetox so i think all certfiles are in ASCII or utf8 encoded
  90. Asterix I'm looking at this SID thing. Currently we mix things
  91. Asterix a file_prop os identified by its SID
  92. Asterix should it be the session id or the stream id?
  93. lovetox thats the point where i gave up
  94. Asterix most of the time one session id means one stream id. We don't do several transfer in one session
  95. Asterix but that could happen, no?
  96. lovetox session id should be different from transport id i think
  97. lovetox as the transport can be exchanged on error
  98. lovetox sorry have to go, see you tomorrow
  99. Asterix yes, but we need a file_prop object per stream id (what you call transport id), not per session id
  100. Asterix CU
  101. mimi89999 lovetox: Looks like I don't have the dock icon of Gajim anymore.
  102. lovetox whats a dock icon
  103. ivtq transport = xmpp traffiс?
  104. lovetox no
  105. lovetox a transport can be a socks5 connection, or xmpp traffic, or wathever else protocol you can imagine to transfer data
  106. mimi89999 lovetox: Gajim icon in the dock
  107. lovetox hm maybe a problem with the build