[mICQ] ICQ md5 login support

Robert Bartel r.bartel at gmx.net
Tue Apr 24 21:34:45 CEST 2007


On Mon, Apr 23, 2007 at 00:02:36 +0200, Rüdiger Kuhlmann wrote:
> So I applied your changes after abstracting the md5 calls away; if OpenSSL
> is compiled in, it will use the md5 functions from OpenSSL, if GnuTLS is
> compiled in, it will use the md5 functions from libgcrypt, in the
> autopackage it will use the functions from libgcrypt if is is available,
> and otherwise use the old login method.

Great - now it can be used with OpenSSL and libgcrypt. I was looking in GnuTLS
and found only the md5 compatibility functions in <gnutls/openssl.h>.

Never heard of autopackage. Is it intentional that there is no support for
OpenSSL with that?

Something else I noticed: the language and country codes used in the login
packet are the constant strings "de" and "DE". Don't know if that's a good
idea - could be used to detect and lock out micq clients by the login server?
With the attached patch they are adapted to the current locale, or "en" "us"
as fallback. Has no real benefit, only decoration.

Also I'm not understanding the last TLV in that packet, doesn't micq use the
server side information (SSI) for the contact list? So maybe it should be 1
and not 0? While experimenting I left it away, and the server didn't care -
could still login successfully. The patch comments it out - might be useful
for testing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: login-locale.patch
Type: text/x-diff
Size: 1517 bytes
Desc: login-locale.patch
Url : http://micq.org/pipermail/micq-list/attachments/20070424/ddf6d9f0/attachment.patch 


More information about the mICQ-List mailing list