Commit Graph

80 Commits

Author SHA1 Message Date
Yann Leboulanger 82413cafaa [Pablo Mazzini] ask passphrase to user when using non-sasl authentication 2012-01-07 15:41:53 +01:00
Yann Leboulanger 6e4bac262c implements Oauth2 mechanism to connect to MSN xmpp server. Fixes #6978 2011-12-18 23:20:30 +01:00
Yann Leboulanger 1eb7660394 revert unwanted commit 2011-12-18 18:19:03 +01:00
Yann Leboulanger e1caf30e28 only install plugin installer plugin 2011-12-17 18:17:42 +01:00
Yann Leboulanger 2991581e94 Try to import kerberos now, not waiting ofr demandimport. Fixes #6975 2011-09-13 08:46:47 +02:00
Yann Leboulanger 920f5e320b follow RFC-6120 section 6.4.4: send <abord> and a SASL authentication mechanism fails, wait for server <failure> reply before trying a new mechanism 2011-08-22 13:45:29 +02:00
Yann Leboulanger f0a0929d5c merge XEP-0198 implementation from gajim-XEP-198 branch to trunk. Thanks Jefry for your work during GSOC 2011-08-22 09:45:51 +02:00
Yann Leboulanger a66b279518 fix typo 2011-08-22 09:10:50 +02:00
Yann Leboulanger fa3ebd9874 check DIGEST-MD% and SCRAM-SHA-1 latest answer from server before accepting authentication. Fixes #6940 2011-08-21 23:14:11 +02:00
Jefry Lagrange d73e277f40 resuming before binding 2011-06-10 23:07:34 -04:00
Jefry Lagrange 89cd4b2e45 stream resumption (needs testing) 2011-06-06 23:34:19 -04:00
Yann Leboulanger afca629bb7 coding standards 2011-05-31 09:15:41 +02:00
Jefry Lagrange 5b1edd03b8 Smacks class added, responds to ack requests 2011-05-30 20:14:26 -04:00
Yann Leboulanger e6f6f65746 better coding style 2010-04-18 20:57:47 +02:00
Éric Araujo dd6062319a More whitespace mini fixes. 2010-04-08 01:10:17 +02:00
Alexander Cherniuk faca8c5d12 Tiny code cleanup 2010-03-18 06:52:05 +02:00
Yann Leboulanger cd21d4a68f [MattJ] don't send an authorization identity in SASL PLAIN. Fixes #5658 2010-03-16 07:09:44 +01:00
Alexander Cherniuk 407c9a2975 Tiny fixups for the SCRAM-SHA-1 2010-02-25 13:10:35 +02:00
Alexander Cherniuk 74572af64e Code improvments for the SCRAM-SHA-1 implementation 2010-02-25 13:02:28 +02:00
Yann Leboulanger 8e35e76d78 fix get_password argument list. Fixes #5624 2010-02-25 11:59:12 +01:00
Yann Leboulanger 50c4a2fa42 [Dave Cridland] basic SCRAM-SHA-1 implementation (no channel binding). Fixes #5622 2010-02-25 10:42:58 +01:00
Yann Leboulanger b21d538b0f fix insecure_connection text to not talk about password, and add new warning to inform user when he is about to send plain password on plain connection. Fixes #5607 2010-02-17 13:35:18 +01:00
Yann Leboulanger 9d9ef1da89 move some error/warning to info so it's not printed in stderr by default. Fixes #5609 2010-02-16 09:44:23 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 4b07509d5e [Dave Cridland] try to encode username, realm and password in iso-8859-1 when doing DIGEST-MD5 before computing the hash. Fixes #5512 2009-12-14 17:47:14 +01:00
Yann Leboulanger 9072ff18c1 [Dave Cridland] implement EXTERNAL auth method. See #5512 2009-12-14 17:39:32 +01:00
Alexander Cherniuk 6d0f28c47d More doc-string (and not only) refactoring 2009-11-26 16:32:56 +02:00
Yann Leboulanger b8e80c2245 fix error with bosh 2009-07-13 22:23:14 +02:00
Yann Leboulanger 53c31a53b6 session packet are not mendatory during login. Send it only when requested by server. Fixes #5088 2009-07-13 18:32:16 +02:00
Jonathan Schleifer 086d031374 Remove spaces at EOL. 2009-06-15 21:00:14 +02:00
Yann Leboulanger 5e44243758 fix traceback with kerberos GSSError handling. 2009-03-20 20:02:05 +00:00
Yann Leboulanger 9d307570df missing ) 2009-03-18 11:03:16 +00:00
Yann Leboulanger 346dbc04b2 handle GSSError exceptions. Fixes #4913 2009-03-18 09:14:10 +00:00
Yann Leboulanger 9900698dc5 typo. Fixes #4912 2009-03-18 07:10:18 +00:00
Yann Leboulanger cfd0b4835a prevent traceback when password is not entered. Fixes #4912 2009-03-17 19:35:52 +00:00
Yann Leboulanger 9b5c8db2ce prevent Traceback when server replies badly to resource binding request. Fixes #4880 2009-03-16 09:54:57 +00:00
Yann Leboulanger cba0ae51cf fix traceback when connecting with PLAIN. Fixes #4815 2009-02-13 22:20:13 +00:00
Yann Leboulanger 849108b11f request connection password only when neede. No need to request it for GSSAPI or ANONYMOUS login. see #2465 2009-02-13 20:24:23 +00:00
Yann Leboulanger baa208d0b6 remove duplicate code. Fixes #4790 2009-02-08 10:21:50 +00:00
Yann Leboulanger 26ed4433b4 prevent in GUI when login / password is wrong, even if there is an unknown mechnism. see #4672 2009-01-23 17:27:21 +00:00
Yann Leboulanger 9b2382cd0e [dwd] better way to encode using base64. Fixes #4568 2009-01-14 08:51:07 +00:00
Stephan Erb bc3445881f Rename client.py to plugin.py, as all client logic has already been moved to client_nb.py
Introduce a get_instance factory method for all plugins and other xmpp related classes. This will help us to decouple plugs in order to make them testable.
2009-01-09 00:49:58 +00:00
Stephan Erb e00f871b26 Use hashlib module in favor of sha and md5. 2009-01-08 16:51:26 +00:00
Stephan Erb d8a2d8f447 Backport a few XMPPPY upstream changes.
* Use namespace instead of attrs={} for addChild
 * Unplug SASL module on auth failure (we currently disconnect so don't really need it)
2008-12-28 14:53:20 +00:00
Stephan Erb de73b76771 Coding standards and documentation improvements in auth_nb.py 2008-12-26 15:39:18 +00:00
Yann Leboulanger 08bb703640 fix GSSAPI authentication 2008-12-18 18:16:04 +00:00
Yann Leboulanger b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger 31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00