Gajim - 2023-12-11


  1. bard_

    I hit this issue recently where certain things being pasted (links I think) tries to open the file picker or something. Doesn't matter if I paste with ctrl-v or right click -> paste. My workaround is to use a script to copy the clipboard contents to the primary selection and then I can middle click paste the link. Anyone run into that before?

  2. swamps

    is there a way i can check my current outgoing ip in the app?

  3. fjklp

    > I hit this issue recently where certain things being pasted (links I think) tries to open the file picker or something. Doesn't matter if I paste with ctrl-v or right click -> paste. My workaround is to use a script to copy the clipboard contents to the primary selection and then I can middle click paste the link. Anyone run into that before? never

  4. fjklp

    > is there a way i can check my current outgoing ip in the app? no

  5. fjklp

    bard_: let us know if you can tell us exactly what triggers this

  6. bard_

    The latest thing I hit that does it is going to this twitch page: https://www.twitch.tv/verybusythenia/videos and then if I right click the channel trailer video in qutebrowser and hit copy link address, I believe that then acts weird any time I try to paste in gajim

  7. bard_

    but oddly if I copy the link via hints with the keyboard using ;y instead it doesn't seem to happen

  8. bard_

    checking my clipboard contents with `wl-paste | less`, I don't see anything weird about it, I just see the link looking normal. also checked in vim. no weird characters at the end that I see

  9. fjklp

    works normally for me

  10. fjklp

    >using ;y what?

  11. bard_

    those are the literal keypresses in qutebrowser to copy things on the page via hints mode

  12. bard_

    so there are two ways I can copy the same thing but I'm getting different results

  13. bard_

    s/things/links/

  14. fjklp

    you need to figure out what is different in the copied strings that cause or don't cause the issue

  15. bard_

    https://disroot.org/upload/065768d1-7159-7458-987a-3234997780f5/2023-12-10-221616_grim.png

  16. bard_

    so I see this and then press is to get the link on my clipboard

  17. bard_

    I seem to have qutebrowser using xwayland right now in case that's a useful clue to clipboard issues. and gajim in wayland mode

  18. fjklp

    seems likely related

  19. fjklp

    run xwayland whatever text editor that will show all chars and paste it there

  20. fjklp

    run in xwayland whatever text editor that will show all chars and paste it there

  21. fjklp

    wait

  22. fjklp

    make that wayland

  23. bard_

    pasting into mousepad I don't see anything extra there, and iirc it was able to show me newlines that were invisible elsewhere in the past

  24. fjklp

    well, there could be other non-printing chars

  25. bard_

    doing `wl-paste | cat -e` there's a $ shown at the end which I think just means a line ending

  26. fjklp

    not sure if you want to do it here but just do the thing that opens the file picker, press send, then open the posted file

  27. bard_

    the thing is, it's not trying to upload an actual file, send is blurred out, nothing is selected. it's simply opening the file clicker screen as if I'd clicked on it

  28. bard_

    https://disroot.org/upload/065768f2-bdf6-7a84-923c-c342b0f2fd74/2023-12-10-222502_grim.png

  29. bard_

    there's a screenshot of what I get after pasting

  30. fjklp

    interesting

  31. bard_

    is there some control character or something that could be activating the file picker?

  32. fjklp

    bard_: I tested it and it's specific to qute browser. It does the same thing with youtube video links. This is my guess. I see that the copy video link action produces an X selection target type of text/uri-list. When you paste into gajim, I think gajim checks for this and uses it, expecting it to be a local file uri, but in this case, the data contained is a http link, so gajim can't do anything.

  33. fjklp

    Does a dev who knows this want to tell me if I'm right? ^

  34. fjklp

    Seems like it's either a qute bug or gajim bug.

  35. fjklp

    According to https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types >Dragged hyperlinks should include data of two types: text/uri-list, and text/plain. Both types should use the link's URL for their data.

  36. fjklp

    >As usual, set the text/plain type last, as a fallback for the text/uri-list type.

  37. fjklp

    Strangely, firefox does not generate text/uri-list when copying a link

  38. fjklp

    If the recommendation at the link above is still correct, it seems this is a gajim bug.

  39. fjklp

    I can reproduce this without qute.

  40. fjklp

    I do `echo test | xclip -in -selection clipboard -target text/uri-list`

  41. fjklp

    Then, the only available target type is text/uri-list. When I paste in gajim, it opens the file upload view.

  42. bard_

    >via mouse is handled by Qt, via hints is handled by qutebrowser according to the qutebrowser dev

  43. beduk

    There is another issue concerning TLS. I cannot receive images from my server. There is no problem in Conversations - like with previous issue. Images can be sent/received without any issue. (Gajim 1.7.3, Debian repo) https://paste.aryu.de/?9ae7e4b7f92fa798#HW2Lt75ixYjXkykVHDw91q2kiWbwngKbrZZDYxnvVRvJ

  44. polarian

    beduk, The certificate used for the http upload endpoint has an unknown CA

  45. beduk

    Of course , it's self signed. It's my server.

  46. polarian

    thats the issue then :)

  47. polarian

    gajim cant verify the cert

  48. beduk

    Yes, it's the issue. This is bug.

  49. polarian

    probably more of a feature to prevent MITM

  50. polarian

    I believe python-gnutls is used

  51. beduk

    > probably more of a feature to prevent MITM No, it's not.

  52. polarian

    which would link against gnutls I would have thought

  53. polarian

    stick your CA cert into the truststore

  54. polarian

    you should have your TLS certificate, and then the CA cert you signed it with correct?

  55. polarian

    stick CA into truststore

  56. beduk

    Gajim doesn't allow use unencrypted connection too. If one uses .onion or i2p tls is not needed

  57. beduk

    Devs of Conversations understand that.

  58. polarian

    pretty sure it is useful for onion routing

  59. polarian

    because the exit node has it decrypted

  60. polarian

    iirc

  61. beduk

    > pretty sure it is useful for onion routing > > because the exit node has it decrypted > > iirc What are you talking about?🤔 you don't use exit nodes... omg

  62. polarian

    onion routing works on the concept of encapsulating with multiple layers on encryption

  63. polarian

    each hop will decrypt a layer

  64. polarian

    like peeling an onion (hence the name)

  65. polarian

    the last node before the destination decrypts the onion to the "core"

  66. polarian

    the core being the data

  67. barlas

    I can't view emojis in gajim, on archlinux. Any ideas?

  68. polarian

    which means the last decryption can be seen in plaintext iirc

  69. polarian

    barlas, you do not have a font providing said emojis

  70. polarian

    unifont works fine

  71. polarian

    wait no

  72. beduk

    @polarin 🫣

  73. polarian

    noto-font-emoji

  74. polarian

    googles fonts used on android

  75. polarian

    https://archlinux.org/packages/extra/any/noto-fonts-emoji/

  76. polarian

    beduk, This is not matrix, the @ does nothing and in fact prevents it mentioning me

  77. polarian

    barlas, see above :)

  78. polarian

    install that, restart gajim, done!

  79. barlas

    Ah.

  80. barlas

    I have that installed, but I think I broke it when I installed https://aur.archlinux.org/packages/noto-color-emoji-fontconfig-no-binding yesterday

  81. barlas

    NeoChat (matrix client) was display half emojis, so someone recommended that fontbinding, it fixed it for NeoChat, but I think it broke it for gajim too.

  82. barlas

    Because I was using dino before and I know emojis were working in it, but now emojis aren't working in it either.

  83. barlas

    Thanks polarian, going to see if I am right about that. :-)

  84. polarian

    np

  85. polarian

    beduk, https://en.wikipedia.org/wiki/File:Onion_diagram.svg

  86. polarian

    as far as I am aware you want tls for the message section

  87. barlas

    No luck. Re-installed noto-fonts-emoji too, just to be on safe side. It seems it's broken for all GTK app though.

  88. barlas

    Maybe should ask in archlinux chat.

  89. polarian

    barlas, yeah probably, ask in #archlinux @ libera.chat

  90. polarian

    sure they can help out

  91. beduk

    > beduk, https://en.wikipedia.org/wiki/File:Onion_diagram.svg > > as far as I am aware you want tls for the message section Please don't compromise yourself 😃

  92. beduk

    Polarian, just for my curiosity. Are you Gajim dev?

  93. lovetox

    beduk, you can open a feature request if you want for the onion.service no TLS thing

  94. lovetox

    but out of curiosity, why does the onion service not support TLS?

  95. lovetox

    probably because it wants to be anonym and the cert would expose it?

  96. beduk

    > beduk, you can open a feature request if you want for the onion.service no TLS thing > > but out of curiosity, why does the onion service not support TLS? Traffic within Tor is E2EE.

  97. beduk

    > beduk, you can open a feature request if you want for the onion.service no TLS thing > > but out of curiosity, why does the onion service not support TLS? In Gajim there is an option to allow unencrypted traffic. I use it and still Gajim requires cert

  98. beduk

    >> beduk, you can open a feature request if you want for the onion.service no TLS thing >> >> but out of curiosity, why does the onion service not support TLS? > Traffic within Tor is E2EE. The same within i2p

  99. lovetox

    can you give me the adress of that onion service

  100. lovetox

    unencrypted should of course work, i look into this

  101. lovetox

    but instead of hoping all clients support unencrypted

  102. lovetox

    the server operator should simply add a self signed cert and be done with it

  103. polarian

    beduk, https://www.reddit.com/r/TOR/comments/h8c7z6/why_is_there_no_end_to_end_encryption/

  104. polarian

    I think you are confused

  105. polarian

    because I cant find any evidence to back up your point

  106. polarian

    tor is encrypted between nodes

  107. polarian

    as per onion routing standards

  108. polarian

    > Please don't compromise yourself 😃 How would this compromise myself, added encryption will not specifically compromise me, it would add additional un-needed overhead

  109. beduk

    > can you give me the adress of that onion service > > unencrypted should of course work, i look into this > > but instead of hoping all clients support unencrypted > > the server operator should simply add a self signed cert and be done with it I'm the administrator of this server. I tried to use "unencrypted" with Gajim without cert. There is no justification to use certs within Tor or i2p. It didn't work with Gajim. Conversations works flawlessly without cert. I decided to generate self-signed cert because I really like Gajim and I've been using it for years. Then the next issue appeared. Gajim doesn't like my cert like I mentioned above. The text massages work w/o issue I only had to accept my cert manually. Images don't work with self-signed cert. In Conversations there is no issue.

  110. polarian

    > Polarian, just for my curiosity. Are you Gajim dev? No... but does that mean I am not allowed to attempt to help?

  111. beduk

    > can you give me the adress of that onion service > > unencrypted should of course work, i look into this > > but instead of hoping all clients support unencrypted > > the server operator should simply add a self signed cert and be done with it I'm the administrator of this server. I tried to use "unencrypted" with Gajim without cert. There is no justification to use certs within Tor or i2p. It didn't work with Gajim. Conversations works flawlessly without cert. I decided to generate self-signed cert because I really like Gajim and I've been using it for years. Then the next issue appeared. Gajim doesn't like my cert like I mentioned above. The text massages work w/o issue I only had to accept my cert manually. Images don't work with self-signed cert. In Conversations there is no issue. I don't allow s2s.

  112. polarian

    You come into the channel, throwing insults how gajim is non-compliant and how conversations works flawlessly, which is already aggressive and insulting, and then you belittle people who try to help out?

  113. polarian

    or am I misunderstanding something here?

  114. Immaculate Taste

    hey the latest update of Gajim is GAS

  115. Immaculate Taste

    I LOVE IT HOLY SHI

  116. Immaculate Taste

    thanks to all the devs who put in so much hard work to modernize xmpp

  117. umu

    ong

  118. Immaculate Taste

    i can get my friends on xmpp now that its so modern

  119. umu

    you're so real for this

  120. Immaculate Taste

    wdym lol

  121. Immaculate Taste

    hey i just downloaded gajim on windows

  122. Immaculate Taste

    if i had the opportunity should i not use xmpp on windows for privacy reasons

  123. Immaculate Taste

    so billy gates doesnt see my ahh msgs

  124. tree

    > so billy gates doesnt see my ahh msgs Mate, enable omemo encryption and only text in a omemo enabled channel

  125. polarian

    Immaculate Taste, there is a lot more to worry about in windows than microsoft reading your messages

  126. polarian

    xD

  127. bodqhrohro

    Immaculate Taste: use Windows XP, it's not as full of spyware as modern versions are. Gajim 0.16 worked there for sure, not sure about newer versions.

  128. polarian

    or you know, you could just use *nix

  129. bodqhrohro

    But why?

  130. bodqhrohro

    Newer versions could possibly run with OneCore too though.

  131. bodqhrohro

    I can tell for sure that WinAPI is better than X11/Wayland. It allows to paint on other processes' windows, it still follows the widget tree introspection as non-toplevel windows so things like efficient RDP and getting passwords out of other processes' windows can work. Also neat things like ArtMoney (possible on *NIX with root too though, I suppose).

  132. cal0pteryx

    bodqhrohro: please stop suggesting Windows XP (do I really have to say this)

  133. bodqhrohro

    cal0pteryx: why?

  134. cal0pteryx

    It is out of support and there are known vulnerabilities. I'm not going to extend this list. Just stop.

  135. bodqhrohro

    cal0pteryx: support is in no way needed for the software to work. Digital data are immortal.

  136. bodqhrohro

    And everything possibly has vulnerabilities, it should be taken as an axiom. Expecting software does not have vulnerabilities because there are no **known** vulnerabilities is rather dangerous.

  137. cal0pteryx

    It is connected to the internet to use Gajim. There are wormable exploits available. Your arguments are invalid.

  138. bodqhrohro

    You cannot know if NSA can crack OMEMO.

  139. bodqhrohro

    P!=NP is still not proven, so any asymmetric crypto is questionable by default.

  140. bodqhrohro

    cal0pteryx: Gajim connects to certain servers, not to arbitrary "internet". They might even be in the local network. So it's a matter of trust to that servers. Thanks to the C2S nature of XMPP which does not require to make connections to arbitrary servers, if a client does not download media automatically or so.

  141. cal0pteryx

    I don't like that I have to call you out every time. Please stop suggesting old software.

  142. bodqhrohro

    Please stop discriminating old software.

  143. bodqhrohro

    Would you frown upon old persons the same way?

  144. bodqhrohro

    Old hardware/software should be respected in a similar way.

  145. bodqhrohro

    People get more prone to infections with age too.

  146. cal0pteryx

    bodqhrohro, last time, stop now