Gajim - 2024-11-12


  1. Djan

    Hi everyone, it is possible to whisper in a XMPP channel with Gajim ?

  2. cal0pteryx

    Djan: double click any participant?

    👍 1
  3. cal0pteryx

    In the participants list on the right

  4. Djan

    thanks it was just too simple for me :)

  5. cal0pteryx

    Well, I would expect avatar right click > Send PM would be available, maybe we have to add that

    ❤ 2👍 4🙏 1
  6. Link Mauve

    “22:21:04 meson> Or maybe not, there also ones with 40 ms. We should find a way to get the duration in order not to play too fast or slow”, no, all three of GIF, WebP and APNG specify the duration of each frame separately, you must respect that field instead of guessing.

  7. Link Mauve

    Ah sorry, you found out right afterwards.

  8. Clash

    I have "Preview all Image URLs" enabled, but that does not happen with JMP SMS pictures I get. I just see the URL and have to open it in the browser. Is there anything I can do about that?

  9. Clash

    They all end in .jpg to be clear.

  10. lovetox

    hmm you would need to catch that in the View -> Debug -> Console

  11. lovetox

    and show us the stanza

  12. Clash

    > and show us the stanza Forgive me I'm unfamiliar with this, what should I be looking for in the console?

  13. Clash

    There's nothing in the log view that corresponds to the time I got the image. The protocol view doesn't go back far enough

  14. Clash

    Hmm a re-test and it worked correctly. Odd

  15. dweller

    Hello. Does anyone know a fix to Inactive OMEMO key? I dual boot so they never see each other online, and gajim decided to just deactivate the key. I manually trusted the keys on both sides, and it worked for sometime, then stopped after period of inactivity on one of the OSes.

  16. lovetox

    they dont need to be online at the same time

  17. lovetox

    but you need to write a message from time to time from every device

  18. lovetox

    on what Gajim version are you?

  19. dweller

    1.9.5

  20. dweller

    I am online from time to time and it didn't help, do I need to send myself a message?

  21. dweller

    because I usually am in a MUC

  22. dweller

    (also I have no problem with Conversations seeing both)

  23. dweller

    (also I have no problem with Conversations on phone seeing both)

  24. lovetox

    no just a message to anyone

  25. lovetox

    i think the limit is 2000 messages

  26. dweller

    limit to what?

  27. dweller

    limit to what? like if it didn't see a message for 2000 messages?

  28. lovetox

    yes

  29. dweller

    that can't be it, because I definitely talked in the same MUC on both clients

  30. dweller

    it would be great if it never deactivated keys, Conversations never had this issue with my other clients/resources suddenly stopping encrypting

  31. dweller

    especially manually trusted keys

  32. lovetox

    hm maybe describe exactly what issue you see

  33. dweller

    Okay, sorry if I am not specific enough. The issue is the following: I dual boot Linux and Windows. I don't use Windows much (just gaming), and at some point my Linux Gajim stopped encrypting for my Windows Gajim. All I see is the "This message wasn't encrypted for OMEMO..." or whatever. Funnily the Linux Gajim _can_ see Windows messages I wrote. I also use Conversations on Android phone, and that sees both and is seen, so both Gajims encrypt for it, and vice versa.

  34. dweller

    The problem with this is obviously that I lose context when booting to Windows. I can see everyone's messages in the MUC except my own.

  35. dweller

    The problem with this is obviously that I lose context when booting to Windows. I can see everyone's messages in the MUC except my own (written on Linux).

  36. lovetox

    but that very much sounds like the 2000 message limit

  37. dweller

    I checked the Accounts -> OMEMO and the shield gray, "Inactive".

  38. lovetox

    this counts for all messages to all contacts you write

  39. lovetox

    not just in one muc

  40. dweller

    Can you explain to me why this limit is necessary and is it possible to disable it

  41. dweller

    Can you explain to me why this limit is necessary and is it possible to disable it?

  42. lovetox

    complicated, short story is that that OMEMO has a feature that prevents people from decrypting your old messages even if they steal your private key

  43. lovetox

    but this is circumvented, when there is a device only listening and never sending a message, if you still the private key of that device, it can decrypt everything since its last message

  44. lovetox

    thats why we deactivate the devices after a certain limit

  45. lovetox

    anyway 2000 might be to low, its probably better to use a time instead, like 3 months or something like that

  46. lovetox

    there is no way to deactivate it except for in the code

  47. lovetox

    but this would be possible on your linux device

  48. dweller

    it would be nice for users to able to alter this. I manually trusted the key, if I stop using a device I manually revoke it. So it'd be cool if I could either on manual trust, or as separate thing disable this.

  49. lissine

    > anyway 2000 might be to low, its probably better to use a time instead, like 3 months or something like that I think Conversations uses 42 days, but a longer time should be better

  50. dweller

    is this `unacknowledged_count` in session_manager of OMEMO plugin?

  51. lovetox

    there is no plugin anymore, but path is common/modules/omemo.py

  52. lovetox

    and yes thats the var

  53. dweller

    I see thanks, I was looking at a omemo-dr library, not plugin. My bad.

  54. lovetox

    no the var is set in the gajim code

  55. lovetox

    not in the library

  56. lovetox

    in the lib there might be some default value, but it gets overwritten in Gajim

  57. lovetox

    so you need to modify gajim/common/modules/omemo.py

  58. lissine

    Does the omemo key change every time you send a message?

  59. dweller

    no, I don't think so. There are no other keys in my list.

  60. dweller

    and I remember checking if they are still the same, since I wrote them down

  61. lissine

    I was asking in general

  62. dweller

    oh sorry

  63. lissine

    > and I remember checking if they are still the same, since I wrote them down Those should be the fingerprints

  64. dweller

    yea, my bad. mixing terminology

  65. lissine

    It's possible that the key changes and the fingerprint doesn't

  66. dweller

    idk how to check keys, I guess I'd have to look at the XML stanzas?

  67. lovetox

    there is only one private key and it never changes, but the mechanism is something like a session key is generated from the private key

  68. lovetox

    and this session key is then iterated and changed with every message

  69. dweller

    right, something ratchet encryption?

  70. lovetox

    yes they call this double ratchet

  71. lissine

    Thanks for explaining

  72. lissine

    And that's why a stale device breaks forward secrecy. Because the session key would stay the same for a prolonged period of time

  73. lovetox

    if the scenario is that an attacker recorded your messages, its trivial for him when he gets a old key, to iterate it himself, and decrypt everything

  74. lovetox

    thats why clients delete the old key when they iterate it

    👍 1
  75. lovetox

    so if a attacker gets a current key, he cannot decrypt old stuff, and we assume if a device was stolen from you then you will distrust the fingerprint, and then cannot decrypt anything in the future also

  76. lovetox

    of course this is all very theoretical crypto stuff

  77. lovetox

    in reality they install a hack on your phone and simply read everything from your harddrive as it comes in and goes out :d

    😂 2
  78. dweller

    or in my case more likely they pwn my windoze and just read from its HDD and keylog. Oh and mine crypto ;)

  79. danielstein

    > Well, I would expect avatar right click > Send PM would be available, maybe we have to add that 👍

  80. dweller

    I noticed in the omemo-dr code some log statements, and checked logs, and sure enough: > Ignore device because of 2018 unacknowledged messages Sorry, I forgot to check logs... And wow that's a nice Debug Console.

  81. dweller

    Thank you for the explanations and help!

    👍 1