[prev in list] [next in list] [prev in thread] [next in thread] 

List:       licq-devel
Subject:    Re: [Licq-devel] Patch for OTR encryption - changed
From:       JG <jg () cms ! ac>
Date:       2006-02-24 20:42:32
Message-ID: 20060224214232.6d46f99b () x90 ! 0x4a47 ! net
[Download RAW message or body]

hi,

> Here is the patch for OTR again but now with the corrections which Jon
> advised.

thanks very much! here are some of my tests with the patch.

-------

i used the current svn checkout, patch applied without problems (though
not clean).

licq compiles fine. qt-gui compiles fine, but if i compile qt-gui
--with-kde, licq refuses to start up with: 
[ERR] Unable to load plugin
(kde-gui): /usr/local/lib/licq/licq_kde-gui.so: undefined symbol:
_ZTV8KIMIface.

i double checked (compiled two times) that the correct version of licq
is installed. it works with qt-gui (without kde support), so i guess
there's some problem here.

-------

i also had some random encoding problems when talking to a gaim user,
which i can't reproduce now, unfortunately. i received some error
converting to UTF16?? my system locale is utf8, but everything in licq
is set to 8859-15. when it happens again, i'll tell you more.
it happened with a gaim v1.5.0 user.

-------

some tests:
===========
clients in use:
remote: gaim v1.5.0 with otr 3.0 plugin.
local: licq-svn with your latest patch


there seem to be some bugs. i can't receive any messages anymore, to be
more exact, they arrive at my station because i can watch the messages
in ethereal but nothing appears in licq.

nothing = no output in the packet dump (-d31) and no output in the
message window, also nothing in the history.

this happens with ALL users on my contact list (checked via IRC) not
only with the OTR-enabled gaim user!

i can't tell exactly WHEN this happened during the test session,
because i was able to receive messages from other clients when i (licq)
already had OTR enabled. i guess it started after the remote client
(gaim) enabled OTR. then everything went havoc on my side.


i'm using your recommended setting of OTRMode = 2. the gaim user tried
manual and sent some requests which i didn't receive (guess because no
GUI interaction, but i also didn't see anything related in the packet 
dump).

i only got some ethereal dumps saying (the message content): 

?OTR?v2?<b>136347852</b> has requested an <a
href="http://www.cypherpunks.ca/otr/">Off-the-Record private
conversation</a>. However, you do not have a plugin to support that.
See <a
href="http://www.cypherpunks.ca/otr/">http://www.cypherpunks.ca/otr/</a>
for more information.

it also didn't work when he set his client to "automatic" OTR. he also
restarted gaim after changing the settings. i tried to restart too, but
licq left some processes open which i had to kill (qt-gui exited with
code 0), there was no useful output in the gdb trace.


the messaging behaviour was like:

i'm sending him a message, according to ethereal in cleartext. then
within no time his client answers back with some OTR encrypted stuff,
but my licq doesn't seem to respond to that. then if he sends an actual
message, it is in cleartext (ethereal, keep in mind, i don't receive any
messages in licq) too.

and when i wanted to restart licq, i got: 

21:12:23: [END] Shutting down gui.
Licq Segmentation Violation Detected.
Backtrace:
licq(licq_handle_sigsegv+0xe6) [0x80f9ce6]
/lib/libpthread.so.0 [0xb7df3f27]
[0xffffe420]
/usr/qt/3/lib/libqt-mt.so.3(_ZN11QTextStringD0Ev+0x2d) [0xb758aedd]
/usr/qt/3/lib/libqt-mt.so.3(_ZN14QTextParagraphD1Ev+0x17c) [0xb75a230c]
/usr/qt/3/lib/libqt-mt.so.3(_ZN13QTextDocument5clearEb+0x4b)
[0xb75a3a0b] /usr/qt/3/lib/libqt-mt.so.3(_ZN13QTextDocumentD0Ev+0x48)
[0xb75a3e28] /usr/qt/3/lib/libqt-mt.so.3(_ZN9QTextEditD2Ev+0x250)
[0xb76a3cc0] /usr/qt/3/lib/libqt-mt.so.3(_ZN14QMultiLineEditD2Ev+0x49)
[0xb76427e9] /usr/local/lib/licq/licq_qt-gui.so(_ZN10CLogWidgetD0Ev+0x3b)
[0xb7aa577b] /usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidgetD2Ev+0x1e8)
[0xb75738a8] /usr/qt/3/lib/libqt-mt.so.3(_ZN7QDialogD2Ev+0x4e)
[0xb76cdbce] /usr/local/lib/licq/licq_qt-gui.so(_ZN12CQtLogWindowD0Ev+0x70)
[0xb7aa5900] /usr/local/lib/licq/licq_qt-gui.so(_ZN8CLicqGuiD0Ev+0x78)
[0xb7a6a418] /usr/local/lib/licq/licq_qt-gui.so(_ZN8CLicqGui8ShutdownEv+0xb8)
[0xb7a69d58] /usr/local/lib/licq/licq_qt-gui.so(LP_Main+0x69)
[0xb7a6af09] /usr/local/lib/licq/licq_qt-gui.so(LP_Main_tep+0x1d)
[0xb7a6babd] /lib/libpthread.so.0 [0xb7dedcd2]
/lib/libc.so.6(__clone+0x5a) [0xb7c5a4ea]
Attempting to generate core file.


i hope this helps a bit, i don't have more time at the moment to test
but i'm open for anything new :) if you tell me some test cases i
should "record" (ethereal dumps, licq packets) then i can also provide
them (when my friends are also available for testing).

JG


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Licq-devel mailing list
Licq-devel@licq.org
https://lists.sourceforge.net/lists/listinfo/licq-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic