-
MattJ
What libraries support OMEMO these days? If I wanted to make a simple bot that supported OMEMO, where should I look?
-
moparisthebest
this is likely unhelpful but I just use xep-0027 PGP from bots
-
lovetox
MattJ, probably slixmpp with the plugin pep. made
-
lovetox
are you asking for xmpp lib that supports omemo
-
lovetox
or are you asking for a lib that helps impl omemo
-
MattJ
an XMPP lib that supports OMEMO, and hopefully hides as much of it from me as possible
-
MattJ
I just want to send/receive OMEMO messages
-
lovetox
only slixmpp is known to me, but i didnt look into it, i dont know how much it does by itself
-
pep.
it's still pretty bare
-
pep.
I let the user handle lots of the exceptions, trust etc. I don't have many helpers yet
-
flow
MattJ, may I interest you in some Smack? The for piece is free (and all following, so yeah?!)
-
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 :)
-
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
-
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?
-
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.
-
Zash
`SSL_CTX_load_verify_locations()`
-
Zash
Now you get to enjoy figuring out where those come from. (Hint: It varies by distro)
-
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
-
pulkomandy
I can only give a path to a pem file or directory with certificates apparently
-
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
-
Zash
Set the cacert dir to `/etc/ssl/certs` and 🤷️
-
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…