Bug 303686 - After an OTR attempt in AOL IM, even unencrypted messages are garbage
Summary: After an OTR attempt in AOL IM, even unencrypted messages are garbage
Status: RESOLVED NOT A BUG
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui (show other bugs)
Version: 0.4.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-17 15:44 UTC by Scott Kitterman
Modified: 2012-07-18 22:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Kitterman 2012-07-17 15:44:18 UTC
While it's known that OTR support is not available yet, it shouldn't corrupt the entire session.


Reproducible: Always

Steps to Reproduce:
1.  Connect on AOL IM.
2.  Have the remote party try OTR.
3.  Watch the unreadable garbage.
Actual Results:  
Howdy.  BTW, trying a new IM client that doesn't have OTR capability, so that will fail if you try it. 11:15:12 AM	
Heyo! 11:15:36 AM
?OTR?v2?
xxxxxxx has requested an Off-the-Record private conversation (http://otr.cypherpunks.ca/).  However, you do not have a plugin to support that.
See http://otr.cypherpunks.ca/ for more information. 11:15:49 AM
?OTR:AAIKAAAAwE6J85rfnzJjarql7KQcsxlkfTfnM2MI4cGgjQQGimYLw9EA1ggHEIgjAj53tEWgPAGE1LjzuoKNao7SMEnSBrEO2WQRSKxeinvt57l6QlottRuLx3HAlvVVtJybs8mOEVYIPX27DzgHC6cFQcATUXt2XrIL0SbYKOTEy5Mk05uqPceZvgAnv/px2Og67nxc/qOm8f6uIu1cfd4TblvCP9Nt7RNuU8OLGMz6x/cuvNkFkHDTW9T3vXb22h4+mVYXYw==. 11:15:51 AM
OTR 11:15:52 AM
?OTR:AAISAAAB0s9lirb9e35XWQE9FpHNypNQ9nAdiS/caiAvuY+K2+k9ZLvOkQeq1W8fP/5aeRGKehzXHEULcaT9gSOzYbTSVPIxG4BfhchYfjaifddF3yu2pB0EWHoNBEp8hm7XZTYcmn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bwjSUVDtCDx6Z0pw9XWEW4bDoX8YwAAAAAAAAAEAAAAhLrOHI83QMrCNTF5+XJa/KIy3zXexRC+JtqYAcHom6LIvJ2J5cRyzp+B2bRO+zIpKam3Kopb2gJ3oLJ/tE/FFbxa2GeJewnGk6lakOMFGgfNtWICwGdgkKxu1WP4PtTM0vzAO7iAPgR1HIeR+OYJ8eSLxiMVtdu613u+hRmXbfCbsj8wI0Ap8DEcbocdk9gVIpfKrfhwcl48AAAAAA==. 11:23:52 AM

Expected Results:  
Here's what I saw in kopete:

(11:15:36 AM)  xxxxxxx:  Heyo! 
(11:15:52 AM)  xxxxxxx:  OTR 
(11:15:53 AM)  #  Unverified OTR session started.
(11:15:59 AM)  xxxxxxx:  Did it fail?
(11:16:00 AM)  #  The following message received from xxxxxxxx was not encrypted: []
(11:16:10 AM)  xxxxxxxx:  I had to try since you mentioned it
(11:23:37 AM)  xxxxxxxx:  Yes!
(11:23:52 AM)  xxxxxxxx:  "The following message was not encrypted: Can you read this?"

Note that the kopete session doesn't have my outgoing messages since they were done in KDE telepathy.
Comment 1 David Edmundson 2012-07-17 15:58:40 UTC
I'm not sure I understand completely.

You talked to a contact  - all was fine(?)
He started OTR - you got garbage

I'm not sure what you expect to happen, OTR sits on top of a protocol, if the other person sends you nonsense, we'll show nonsense. OTR is designed such that we can't decrypt it :)

Did the other person then stop using OTR?
Comment 2 Scott Kitterman 2012-07-17 16:14:29 UTC
Yes.  As you can see from the accompanying Kopete session, the OTR stopped, but the telepathy session remained garbaged.
Comment 3 David Edmundson 2012-07-17 16:34:00 UTC
Thanks for the report, but it must be the other session at fault. There's no way we'd be showing messages like OTR encrypted messages if the other client wasn't sending them.

If you test in Empathy (which shares our backends and also does not have OTR) and get different behaviour, please reopen this, and we will do everything we can to fix it.

There's some recent progress on OTR on the upstream telepathy mailing list: http://www.mail-archive.com/telepathy@lists.freedesktop.org/msg05698.html so maybe we will get OTR sometime.
Comment 4 Daniele E. Domenichelli 2012-07-18 22:05:52 UTC
The OTR implementation of your client is broken, if the other side doesn't support OTR it shouldn't send encrypted messages.
If you were connected at the same time with telepathy and kopete, that could be the problem (I don't know if you can do it with aol, but you can with xmpp). Kopete aknowledged OTR and started receiving the encrypted messages, that were received by telepathy as well, but it cannot decrypt them.
I did some test with kopete trying to initiate an OTR session and our client behaves correctly.
The only issue is that "<b>xxxxxx@kdetalk.net</b> has requested an <a href="http://otr.cypherpunks.ca/">Off-the-Record private conversation</a>.  However, you do not have a plugin to support that.
See <a href="http://otr.cypherpunks.ca/">http://otr.cypherpunks.ca/</a> for more information." is not rendered.