jdev - 2020-11-15

  1. MattJ

    What libraries support OMEMO these days? If I wanted to make a simple bot that supported OMEMO, where should I look?

  2. moparisthebest

    this is likely unhelpful but I just use xep-0027 PGP from bots

  3. lovetox

    MattJ, probably slixmpp with the plugin pep. made

  4. lovetox

    are you asking for xmpp lib that supports omemo

  5. lovetox

    or are you asking for a lib that helps impl omemo

  6. MattJ

    an XMPP lib that supports OMEMO, and hopefully hides as much of it from me as possible

  7. MattJ

    I just want to send/receive OMEMO messages

  8. lovetox

    only slixmpp is known to me, but i didnt look into it, i dont know how much it does by itself

  9. pep.

    it's still pretty bare

  10. pep.

    I let the user handle lots of the exceptions, trust etc. I don't have many helpers yet

  11. flow

    MattJ, may I interest you in some Smack? The for piece is free (and all following, so yeah?!)

  12. MattJ

    I'd rather not Java, but if it's what helps get the job done most easily, it's what I'll have to use :)

  13. alacer

    MattJ: there is a pythom OMEM and then sleekXMPP also supports I believe. so python may proveto be lighter than java for a bot n you may grt more libs for it for AI kind of bot

  14. pulkomandy

    Is there someone familiar with gloox around? I'm using gloox with openssl and it seems to not use the default certificates from openssl. Am I expected to load them explicitly from my application?

  15. Zash

    Not familiar with gloox but in Prosody we need to tell openssl where to look for root certificates, so you probably have to as well.

  16. Zash


  17. Zash

    Now you get to enjoy figuring out where those come from. (Hint: It varies by distro)

  18. pulkomandy

    Yes, I know about the openssl side and the OS. But gloox abstracts the ssl things from my app so I can't do it that way

  19. pulkomandy

    I can only give a path to a pem file or directory with certificates apparently

  20. pulkomandy

    So I expected it would do this part for me as well. Well I'll open a bug report to gloox and ask there I guess

  21. Zash

    Set the cacert dir to `/etc/ssl/certs` and 🤷️

  22. pulkomandy

    Yes, but doing this in haiku I lose the possibility for the user to use custom certs at a system-wide level (we have custom defaults in openssl to allow that). Well, it will do for now…