Hello. i'm migrating from libotr3 to libotr4, and i can't establish handshake. i wrote a sample code[1] to test OTR messaging. it emulates message sending between two clients (no sockets, only in-memory exchange).
OTR starts negotiation, but loops with OTRL_MSGEVENT_RCVDMSG_MALFORMED error, keep trying and failing. you can download sample code and compile it with "compile.sh" script, and then just run "./test". it will generate private keys for two clients and then will try to initiate OTR session. and then you will see what's wrong on stderr (you can redirect stderr to file). note that program never finishes, so you have to press ^C to stop it (it SHOULD finish, but it can't). i've tried this both with libotr 4.1.0 release and with git HEAD. libotr is build from scratch. other info: GNU/Linux, arch: x86 gcc 4.9.2 libgcrypt-1.6.3 [1] http://ketmar.no-ip.org/test_cl.tgz
signature.asc
Description: PGP signature
_______________________________________________ OTR-users mailing list OTR-users@lists.cypherpunks.ca http://lists.cypherpunks.ca/mailman/listinfo/otr-users