google-code-export / m-im

Automatically exported from code.google.com/p/m-im
2 stars 0 forks source link

DIGEST-MD5 authentication not supported #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Facebook requires DIGEST-MD5 authentication for their Jabber interface to
chat. This is not currently implemented in m-im.

Included is a patch that detects whether the server support DIGEST-MD5.
Authentication for the method is not yet implemented. (I'm not very
familiar with the details and libraries available for J2ME)

A more scalable method if several more authentication methods is added,
might require the supportXX booleans to be replaced with something more
scalable. (such as a map)

Original issue reported on code.google.com by Gert...@gmail.com on 24 Apr 2010 at 8:32

Attachments:

GoogleCodeExporter commented 9 years ago
http://www.bouncycastle.org/docs/docs1.6/org/bouncycastle/crypto/digests/MD5Dige
st.html
is used for a MD5 library by Lampiro.

Original comment by Gert...@gmail.com on 24 Apr 2010 at 8:50

GoogleCodeExporter commented 9 years ago
This might be useful:
http://web.archive.org/web/20050224191820/http://cataclysm.cx/wip/digest-md5-cra
sh.html

Original comment by Gert...@gmail.com on 24 Apr 2010 at 8:57

GoogleCodeExporter commented 9 years ago
chunlin - I can see you've added some MD5-related code to the repository - are 
you implementing MD5-DIGEST auth? Not had a change to look through all the 
changes and get up to sync yet.

Regards,
Mark

Original comment by markmcna...@gmail.com on 1 Sep 2010 at 11:41

GoogleCodeExporter commented 9 years ago
@mark I haven't added any MD5-related code to it.Actually I haven't modify it 
in a long time.

Original comment by chunlinyao@gmail.com on 1 Sep 2010 at 11:58