[mICQ] ICQ md5 login support
Rüdiger Kuhlmann
micq-list-CKH1bDCG6x4V at ruediger-kuhlmann.de
Mon Apr 23 00:02:36 CEST 2007
>--[Robert Bartel]--<r.bartel at gmx.net>
> On http://iserverd.khstu.ru/oscar/login.html I found a description of the md5
> login method and wrote a patch for the current cvs version of micq. It
> replaces the old login method and uses openssl for md5.
There are md5 functions also in GnuTLS. Well, actually in libgcrypt that
GnuTLS depends on, which means some more work to get the autopackage right.
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.
> It's not complete (no further error checking, internationalization
I removed everything that could be internationalized. If something breaks,
the login will just time out.
> password must be set in rcfile).
Actually this sucks anyway. It should first ask for all passwords, and then
try to login. We'll see.
Anyway, I applied it with the mentioned changes and made a new snapshot.
Happy testing. It works for me with GnuTLS ;-)
--
"See, free nations are peaceful nations. Free nations don't attack
each other. Free nations don't develop weapons of mass destruction."
- George W. Bush, Milwaukee, Wis., Oct. 3, 2003
More information about the mICQ-List
mailing list