Gajim - 2018-03-23


  1. bot LG created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8985 >: #8985: < Emoticons like android conversations >
  2. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8985 >: #8985: < Emoticons like android conversations >
  3. Daniel Normally, the chat bot displays issues opened in gitlab here in muc. I got the impression that it's not reporting these things lately
  4. Daniel Normally, the chat bot displays issues opened in gitlab here in muc. I got the impression that it's not reporting these things lately
  5. Daniel Normally, the chat bot displays issues opened in gitlab here in muc. I got the impression that it's not reporting these things lately
  6. Daniel Glad to see it's working again :)
  7. Ge0rG Daniel: your message from last evening was delivered three times, with different timestamps?
  8. Daniel Ge0rG, yes, not a bug, my server was down partially and my mobile reception was bad.
  9. Ge0rG I'm just curious because I have a similar bug in my own client, where it sends three messages instead of one.
  10. Daniel no I explicitly pressed send three times
  11. bot Ilia Drogaitsev created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8986 >: #8986: < Python: AttributeError: 'NoneType' object has no attribute 'startswith' >
  12. bot lhark created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8987 >: #8987: < [OMEMO] crash when trying to configure the plugin >
  13. bot Philipp Hörist created an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/281 >: #281: < [OMEMO] crash when trying to configure the plugin >
  14. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8987 >: #8987: < [OMEMO] crash when trying to configure the plugin >
  15. bot Philipp Hörist modified an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/281 >: #281: < [OMEMO] crash when trying to configure the plugin >
  16. bot Philipp Hörist modified an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/278 >: #278: < [OMEMO] - untrusting fingerprints does not work with Gajim v1.0.0 and omemo 2.5.7 >
  17. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *6521e476* < https://dev.gajim.org/gajim/gajim-plugins/commit/6521e47679d75504b3075b90219c8a1cd7d0f20a > [omemo] Dont use Local account Fixes #281
  18. bot Philipp Hörist closed an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/281 >: #281: < [OMEMO] crash when trying to configure the plugin >
  19. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *ea45e2fc* < https://dev.gajim.org/gajim/gajim-plugins/commit/ea45e2fc58ab2f6faff087c682967e7aa5c7e9cb > [omemo] Dont show empty qrcode image
  20. bot Luzl1 created an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/282 >: #282: < [OMEMO] Plugin crashes on activation >
  21. bot Yann Leboulanger closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8965 >: #8965: < Can not edit Profile when vCard does not exist already >
  22. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *ba48e453* < https://dev.gajim.org/gajim/gajim/commit/ba48e4530bf6e2c9abc8aa3424e860de069f8f3a > don't just ignore when we receive an error to vcard request. Fixes #8965
  23. bot Yann Leboulanger modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8965 >: #8965: < Can not edit Profile when vCard does not exist already >
  24. debacle I get a strange exception on Debian stable:
  25. debacle 03/23/18 23:15:57 (E) nbxmpp.tls_nb PlugIn: while trying _startSSL(): https://conference.gajim.org:5281/pastebin/e164abe2-8a3e-4519-bbeb-0cae6d9188bf
  26. debacle with Gajim 1.0.0 and python3 nbxmpp 0.6.4
  27. lovetox it seems the certfiles are somehow wrong encoded
  28. lovetox or maybe we parse them wrong
  29. lovetox debacle could you try to add a encoding='utf-8' to that open call in nbxmpp?
  30. lovetox is a cert file allowed to utf-8 encoded?!
  31. lovetox i dont know to be honest
  32. lovetox it seems you have not ascii chars in there
  33. debacle This is strange. I'm running Gajim in a schroot.
  34. debacle encoding='utf-8' seems to help indeed.
  35. debacle The version of python3-openssl is older - might this make the difference?
  36. andrey.g Would be interesting to see the exact file: cert_path.
  37. andrey.g debacle‎: in _load_cert_file()
  38. lovetox it has nothing to do with openssl
  39. lovetox we load certs and assume they have only ascii chars in it
  40. lovetox i think it does not matter if they are utf8 encodede if they only have ascii chars
  41. lovetox so we dont set the encoding
  42. lovetox your file seems to have a char that is not ascii
  43. lovetox now the question is, is this a real use case or not
  44. debacle Hm, where the fork does this file come from:
  45. debacle $ file /usr/lib/python3/dist-packages/gajim/./data/other/cacerts.pem /usr/lib/python3/dist-packages/gajim/./data/other/cacerts.pem: UTF-8 Unicode text
  46. debacle /usr/lib/python3/dist-packages/gajim/./data/other/cacerts.pem ?
  47. lovetox we install that
  48. lovetox atleast its in gajims source
  49. lovetox i actually dont know why, we probably shouldnt ship certs
  50. lovetox you are saying this cert creates the problem?
  51. debacle Yes, the file contains names of CAs. Also Turkish ones, which have Turkish symbols in their filename!
  52. debacle mozilla/EBG_Elektronik_Sertifika_Hizmet_Sa�~_layıcısı.crt
  53. lovetox oem, yes i see
  54. lovetox but this was not changed for a long time, so why does this cause an error now
  55. debacle Somehow, I think, Gajim should really not ships certs at all. This is (at least on Linux) task of the distribution which have dedicated packages for that stuff.
  56. debacle The error is on my side! I have the locale set wrongly!
  57. lovetox other/cacert.pem is used only on Windows.
  58. debacle No UTF-8 by default. Which can expected nowadays on Linux.
  59. lovetox that was the commit says
  60. debacle So it's not Gajims fault, but mine.
  61. debacle But probably the CRT should not be in the Debian package anyway :~)
  62. debacle sorry: .pem, not .crt
  63. lovetox thing is gajim installs this
  64. lovetox which it shouldnt
  65. lovetox that was probably missed when we switched to nen python install
  66. debacle When I set the locale correctly to an UTF-8 one, the error does not happen.
  67. debacle So at least for Linux, there is no need to change the open() call.
  68. lovetox this is definitly used on linux and it shouldnt
  69. lovetox so will fix this
  70. debacle can't hurt!
  71. andrey.g and also while running from git: nbxmpp.tls_nb Loading certificate file: /home/andrey/progs/gajim.git/gajim/./data/other/cacerts.pem
  72. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *b3e6170e* < https://dev.gajim.org/gajim/gajim/commit/b3e6170e57798955edd01e111dd71da0175c0f2d > Remove cacert.pem Dont ship cacerts, use certifi on Windows
  73. andrey.g thanks!
  74. bronko i have a weird behaviour: scrolling (Mousewheel or Shift+PageUp) does not work depending on the width of the chat window
  75. debacle What about gajim/data/other/dh4096.pem lovetox?
  76. lovetox its for esessions encryption i believe
  77. lovetox im not sure, it has though definitly nothing to do with TLS
  78. lovetox ah it is for jingle p2p tls encrypted
  79. lovetox bronko gajim version?
  80. bronko master from today on Arch Linux
  81. bronko resizing the chat window by a few pixels and it works
  82. lovetox you mean gajim is not scrolling up
  83. lovetox or it does but scrolls immediatly down?
  84. bronko with shift+page keys it shifts but immediatly down again
  85. bronko with shift+page keys it scrolls but immediatly down again
  86. andrey.g "dh4096.pem" https://dev.gajim.org/gajim/gajim/issues/7555 "It's recommended for security cautions user to create his own DH parameters and not use the default DH parameters ... There is no interface in pyOpenSSL to create DH parameters." Perhaps it has been added during past 4 years...
  87. lovetox if you want to check this andrey.g :)
  88. lovetox i never looked once at the jingle xtls code to be honest
  89. andrey.g Honestly, I'm not sure I want.
  90. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *4e1a9db6* < https://dev.gajim.org/gajim/gajim/commit/4e1a9db6ccd71d095520a74ed1f603099d4cb7ee > Remove conditional code for nbxmpp < 0.6.3
  91. lovetox bronko
  92. lovetox we have _on_scroll() method
  93. lovetox maybe you could put in prints there and see if auto scroll gets set to False correctly
  94. bronko ok, i will check that
  95. lovetox i cannot reproduce this on windows
  96. lovetox scroll up always disables autoscroll
  97. bronko lovetox, i just tested this for different gajim versions and it seems this was introduced by "Fix TextView scrolling" (commit id 'abdca0eaa')
  98. bronko will check _on_scroll() next
  99. lovetox i could have told you that ^^
  100. lovetox asterix reportet a similar problem
  101. lovetox but as i cant reproduce it, and the code is pretty trivial im not sure what is going wrong here
  102. lovetox only thing i can think of is, the scroll method
  103. lovetox maybe on different systems different stuff is recorded
  104. lovetox ok shift + page up i can reproduce
  105. lovetox we simply dont catch that key
  106. lovetox i think we should probably bind to the scroll-child event of the scrolledwindow
  107. lovetox instead of scroll-event
  108. andrey.g It seems, that since 4 years there is no advancement regarding DH API in pyopenssl https://github.com/pyca/pyopenssl/issues/11
  109. lovetox ok thanks for looking into it