Gajim - 2017-03-15


  1. SaltyBones lovetox, is it possible to enable omemo without gajim knowing that the partner supports it?
  2. lovetox no, this would make no sense
  3. lovetox you can only encrypt something when you have the keys of your chatpartner
  4. lovetox if you have no keys, activating omemo would do nothing else then not let you write a message
  5. lovetox not letting you activate omemo gives you the same information, that there is no encryption available
  6. SaltyBones ah...so keys are not stored anywhere?
  7. Ge0rG Whoops. Looks like I caused some havoc in here. Sorry everyone :)
  8. SaltyBones Ge0rG, where is the xsf discussing omemo?
  9. SaltyBones those fingerprints for different devices are driving me crazy x)
  10. Ge0rG SaltyBones: on the standards@ ML
  11. Ge0rG SaltyBones: inputmice of conversations fame is probably the person to apporach, though
  12. Ge0rG There should be an (automatic) cross-device trust propagation, but that's tricky
  13. Ge0rG Like: you trust my smartphone, I add a desktop, so I sign my desktop key with my smartphone key and you auto-trust my desktop as well
  14. Ge0rG could allow the CIA to break into my home and make my phone auto-trust their surveillance box.
  15. Ge0rG which is totally a different thing from them breaking into my home and implanting an exploit on my phone that allows them to read all local storage without anybody noticing.
  16. SaltyBones ...
  17. zuglufttier So, I did a "git clone https://dev.gajim.org/gajim/gajim" and gajim is starting just fine. Is there a possibility to use the plugins with the new version?
  18. lovetox of course
  19. lovetox https://ftp.gajim.org/plugins_1/plugin_installer.zip
  20. lovetox extract this zip to share/gajim/plugins
  21. lovetox then you can download all plugins with the plugin manager
  22. lovetox form inside gajim
  23. lovetox zuglufttier
  24. lovetox though for omemo to work, you have to install mutiple dependencys
  25. lovetox like python-cryptography, protobuf
  26. lovetox all in python3 version
  27. lovetox also dont install the newest protobuf its bugged
  28. lovetox install 3.1.0
  29. SaltyBones :)
  30. lovetox if you distro doesnt have this use "pip3 install protobuf==3.1.0"
  31. zuglufttier lovetox‎: I'll try that...
  32. zuglufttier Thanks!
  33. lovetox httpupload should also work fully
  34. SaltyBones Where was the language setting again?
  35. lovetox i dont think there is one
  36. SaltyBones ah...
  37. SaltyBones ok
  38. lovetox you mean in master?
  39. lovetox translation doesnt work there
  40. lovetox we have to work on it
  41. SaltyBones nah, it's fine I found it...I set it manually to check the german translation
  42. SaltyBones It works...sort of ;)
  43. SaltyBones Some things are translated.
  44. lovetox maybe for a button or GTK elements
  45. lovetox aber not for everything
  46. SaltyBones Ja, alles klar! :)
  47. SaltyBones The fact that an untrusted key in the omemo dialog is the same color as the selection color is not ideal. ;D
  48. lovetox its not for me saltyBones
  49. lovetox what color it has depends on the gtk theme you have installed
  50. lovetox its nothing gajim actively chooses
  51. SaltyBones Well, it's true for ubuntu.
  52. lovetox ‎Ge0rG
  53. lovetox i want to test that error popup on invalid jid
  54. lovetox what characters do i have to use
  55. Ge0rG lovetox: I've pasted the character in here yesterday. Maybe you didn't get it because gajim failed to parse? 😂
  56. Akasch I tryed the gajim master branch today and it prints out two exeptions and almost all menue entrys are grayed out. I think it fails to tisplay the AccountCreationWizardWindow. Should I post the backtraces here?
  57. lovetox yeah please
  58. Ge0rG lovetox: 🤖
  59. lovetox i dont have a font installed that can display this, can you tell me the codepoint
  60. Akasch ./launch.sh -c ~/.gajim_git creating /home/nils/.gajim_git directory creating /home/nils/.gajim_git/vcards directory creating /home/nils/.gajim_git/avatars directory creating /home/nils/.gajim_git/pluginsconfig directory creating logs database creating cache database creating /home/nils/.gajim_git/certs directory creating /home/nils/.gajim_git/localcerts directory Encodings: d:utf-8, fs:utf-8, p:UTF-8 Traceback (most recent call last): File "gajim.py", line 251, in do_activate self.interface.run(self) File "/home/nils/git/gajim/src/gui_interface.py", line 2750, in run self.roster = roster_window.RosterWindow(app) File "/home/nils/git/gajim/src/roster_window.py", line 6029, in __init__ connection_zeroconf.ConnectionZeroconf(gajim.ZEROCONF_ACC_NAME) File "/home/nils/git/gajim/src/common/zeroconf/connection_zeroconf.py", line 64, in __init__ CommonConnection.__init__(self, name) File "/home/nils/git/gajim/src/common/connection.py", line 135, in __init__ self.gpg = gpg.GnuPG(gajim.config.get('use_gpg_agent')) File "/home/nils/git/gajim/src/common/gpg.py", line 35, in __init__ gnupg.GPG.__init__(self, gpgbinary=GPG_BINARY) TypeError: __init__() got an unexpected keyword argument 'gpgbinary' Traceback (most recent call last): File "/home/nils/git/gajim/src/roster_window.py", line 6022, in _open_wizard config.AccountCreationWizardWindow() File "/home/nils/git/gajim/src/config.py", line 3549, in __init__ self.window.set_transient_for(gajim.interface.roster.window) AttributeError: 'NoneType' object has no attribute 'window' ^C^C^CSIGINT/SIGTERM received
  61. lovetox this is because you have the wrong gpg installed
  62. lovetox you have the package "gnupg"
  63. lovetox which is incompatible with the one gajim needs
  64. lovetox "python-gnupg
  65. Akasch ah ok
  66. lovetox if you dont need gnupg, deinstall
  67. lovetox the will not run in parallel
  68. Ge0rG lovetox: http://emojipedia.org/robot-face/
  69. lovetox i have to write a version check for that now
  70. lovetox this annoys me too much already
  71. lovetox thanks
  72. lovetox i think i will use this in the future
  73. lovetox https://pypi.python.org/pypi/precis-i18n/0.5.0
  74. lovetox but its really bad that i have to depend on that package just for that one check
  75. Ge0rG lovetox: you could just omit the check for incoming data and check what the user enters using the old rules
  76. Ge0rG lovetox: your server must do the check anyway, and you have to trust it to some degree
  77. lovetox yeah i thought about this
  78. lovetox why check, the server should not allow that
  79. Ge0rG lovetox: in theory, you must disconnect from the server if it sends you invalid data. That would be a handy DoS once unicode 10 is out
  80. Akasch It starts now. I had pip install gnupg because it is listened in the README, denistalling it was not egnouth as I need my system gnupg, after pip install python-gnupg it worked
  81. Akasch but now I have xrashed it again: (gajim:11475): Gtk-CRITICAL **: /build/gtk+3.0-Zu76Cj/gtk+3.0-3.22.8/./gtk/gtktreeview.c:6680 (validate_visible_area): assertion `has_next' failed. There is a disparity between the internal view of the GtkTreeView, and the GtkTreeModel. This generally means that the model has changed without letting the view know. Any display from now on is likely to be incorrect. ** Gtk:ERROR:/build/gtk+3.0-Zu76Cj/gtk+3.0-3.22.8/./gtk/gtkrbtree.c:471:_gtk_rbtree_insert_after: assertion failed: (_gtk_rbtree_is_nil (tree->root)) [1] 11475 abort ./launch.sh -c ~/.gajim_git
  82. lovetox ah yeah
  83. lovetox did you switch from gtk2?
  84. lovetox try to delete Cache.db in .config/gajim
  85. Akasch second start is working for now
  86. lovetox or no .cache/Gajim
  87. lovetox yeah we have problem with the roster .. but its not happening for everyone
  88. Akasch I have created a new config directory befor starting to experiment
  89. Akasch maybe interresting to this: I have ~1300 Contacts in my roster
  90. lovetox and now it does work?
  91. Akasch yes, I will use it in parralel to the old one for now
  92. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins>: *b44bc8cc* <https://dev.gajim.org/gajim/gajim-plugins/commit/b44bc8cc4d02c11f217e0f4cc86e18cf92487029> [httpupload] Return error message correctly *711c13e3* <https://dev.gajim.org/gajim/gajim-plugins/commit/711c13e365eaca1fb7f4765f49c43c3482add925> [httpupload] Update manifest.ini
  93. Nothing4You is there a way to hide muc joins/parts without hiding other status messages?
  94. Nothing4You preferrably per muc?
  95. Nothing4You or per acc
  96. SaltyBones there is a global option in the advanced config editor iirc
  97. SaltyBones maybe print_status_in_muc
  98. Nothing4You thanks
  99. lovetox Ge0rG
  100. lovetox so i read servers have to enforce jid validity
  101. lovetox so it really only makes sense in stuff like adding a contact or something like that
  102. lovetox but even then we would get a jid-malformed stanza error back?
  103. lovetox so i could catch that and show the user
  104. Ge0rG lovetox: Yeah
  105. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins>: *ba995d42* <https://dev.gajim.org/gajim/gajim-plugins/commit/ba995d42704a1c7e7449cd0b47de1636e0991069> [httpupload] Catch URLError *b9407684* <https://dev.gajim.org/gajim/gajim-plugins/commit/b9407684f6bcad6617b07045a886395915bdf12e> [httpupload] Update manifest.ini
  106. lovetox_ Ge0rG
  107. lovetox_ can you change your nick to robotface and send a message?
  108. lovetox_ Akasch where did you read about dependency on gnupg
  109. lovetox_ if i read gajims readme there is this
  110. lovetox_ python3-gnupg to enable GPG encryption
  111. Akasch I had not looked close enough, as i was installing the dependencies via pip and on the other packets you have to use the name without python3- i had deleted it there also (openssl is called pyopenssl if think)
  112. Akasch and I have a lot of Gtk-CRITICAL in my console again, and the lower part of my rooster is not showing correctly, it wars an gray block, and now is switching between entry and gray on mouse over, but only sometimes. I have installed and activated some plugins (from the gtk3 branch in the plugin repo) maybe it is related to this, as I cannot deactivate "Roster Tweaks" which I had activated by error
  113. lovetox_ hm yeah dont use plugins that modify the roster
  114. lovetox_ but we have also without plugins a problem with the roster
  115. lovetox_ but i have to find out why
  116. lovetox_ roster is a bit complicated its hard to see whats the problem
  117. Akasch I can try to use debug mode tomorrow and see if I see some pattern
  118. lovetox_ no, its nothing so easy
  119. lovetox_ dont put your time into it
  120. Akasch ok
  121. lovetox_ do you have show offline contacts activated?
  122. Akasch no
  123. lovetox_ can you activate it, and see if the problem still occurs
  124. lovetox_ i know its not ideal with 1300 contacts ^^
  125. Akasch but I have some contacts that are multible times in my roster due to shared roster and multible groups
  126. Akasch now I have restarted, but I will see if it halps next time it ocures
  127. lovetox_ i have seen this problem with accounts that have 10 contacts and no special cases
  128. lovetox_ a month ago gajim even crashed, i later found a endless loop that was causing it
  129. lovetox_ in the roster
  130. Akasch Trying to deactivate the rooster tweaks, just for the records: Traceback (most recent call last): File "/home/nils/git/gajim/src/plugins/helpers.py", line 114, in wrapper result = f(*args, **kwargs) File "/home/nils/git/gajim/src/plugins/gui.py", line 210, in installed_plugins_toggled_cb gajim.plugin_manager.deactivate_plugin(plugin) File "/home/nils/git/gajim/src/plugins/pluginmanager.py", line 344, in deactivate_plugin plugin.deactivate() File "/home/nils/git/gajim/src/plugins/helpers.py", line 107, in wrapper result = f(*args, **kwargs) File "/home/nils/.gajim_git/plugins/roster_tweaks/roster_tweaks.py", line 132, in deactivate self.roster.xml.get_object('menubar').set_size_request(-1, -1) AttributeError: 'NoneType' object has no attribute 'set_size_request'
  131. lovetox yeah did you use that before in gtk2?
  132. Akasch and the close button on the settings from the Flashing keyboard plugin does nothing
  133. lovetox because from that i see its not usable anymore it depends on objects that i removed
  134. lovetox not all plugins are correctly ported and maintained
  135. lovetox i only checked omemo and httpupload
  136. Akasch yes, but I use an separate config dir for the ktk3 version, so that I can use both in parallel
  137. Akasch apart from the close button flashing keyboard seems to work
  138. lovetox and what function do you use from that plugin?
  139. lovetox i find them not really useful
  140. Akasch i have looked and found out none. In the gtk3 version I had activated it by error looking for the Chatstate in roster plugin (not activated at the moment)
  141. 🤖 Hi lovetox
  142. bot Philipp Hörist pushed 2 commits to branch _refs/heads/gtk3_ of _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins>: *537f6c78* <https://dev.gajim.org/gajim/gajim-plugins/commit/537f6c78287544bb8e68f61bf12effe95ff46999> [flashing] Fix close button *b34d042e* <https://dev.gajim.org/gajim/gajim-plugins/commit/b34d042eb082f2be1330f50dce7e2cb57397ceeb> [flashing] Update manifest.ini
  143. lovetox Akasch, i fixed it should work now
  144. lovetox but server updates plugins tomorrow
  145. lovetox :)
  146. lovetox have a good night
  147. Akasch Thanks, will try tommorrow, I have the plugins from git
  148. Akasch Good night