XSF Discussion - 2024-08-16


  1. kurisu

    Any recommendations of an omemo library for C? I found https://github.com/gkdr/libomemo/ and https://github.com/dino/libomemo-c/tree/omemo but they are undocumented. For a moment I considered ffi'ing into Python but turns out https://python-omemo.readthedocs.io/en/latest/usage.html is "just brilliant" too...

  2. SavagePeanut

    libomemo-c is used by qxmpp

  3. SavagePeanut

    If an example implementation helps

  4. SavagePeanut

    Just make sure to verify the HMAC in constant time ;)

  5. singpolyma

    sleep(rand(2)) 😉

  6. Syndace

    kuriso: does this getting started look better? ^^ https://py-omemo.readthedocs.io/en/latest/getting_started.html

  7. Syndace

    there are two python-omemo, an abandoned and this one

  8. kurisu

    I see async methods there. Does it depend on asyncio?

  9. Syndace

    yep

  10. Syndace

    or I guess any async framework

  11. kurisu

    that makes it not only a matter of ffi'ing but also reconciling event loops.. oh boy. but I guess that's still better than those undocumented libraries with last commits dating back years

  12. singpolyma

    The crypto hasn't changed so not sure why commits being old matters

  13. kurisu

    Omemo2

  14. singpolyma

    Would need a different lib for that I think since the algorithm is different?

  15. SavagePeanut

    kurisu, libomemo-c is omemo2

  16. larma

    libomemo-c is C API and supports current omemo