hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
250 stars 20 forks source link

OTR issue when requesting presence authorization #59

Closed cfcs closed 9 years ago

cfcs commented 9 years ago

I type:

hello
/authorization request
test

Results in:

19:36:07 ?O> hello
19:36:09 *** has been asked to sent presence updates to you
19:36:10 ***OTR Warning*** didn't sent message, there was no encrypted connection: test
19:36:10 ***OTR warning*** OTR error Malformed OTR data message: type

This is repeatable, any clue what's going on here?

My contact is using Pidgin. :-(

hannesm commented 9 years ago

this is certainly caused by confusion to which resource a message was sent. what is your otr policy? (esp: do you require encryption?)

cfcs commented 9 years ago

yes, i believe so. v2, v3, whitespace, require encryption, automatically start (i think, dont have jackline here)

hannesm commented 9 years ago

with require encryption the hello shouldn't appear.. https://github.com/hannesm/jackline/blob/master/cli/cli_client.ml#L684-L685

cfcs commented 9 years ago

Hence my confusion. That, plus the "type" error?

hannesm commented 9 years ago

plz reopen if still the case now that #73 is merged