Commit graph

22 commits

Author SHA1 Message Date
Yann Leboulanger
db06bddb81 correctly close file after it's opened 2013-01-05 10:07:35 +01:00
Yann Leboulanger
7b82ab7b5d close files after they are opened 2013-01-05 09:54:17 +01:00
Yann Leboulanger
912f0e921d fix imports and many py3 changements 2013-01-02 13:54:02 +01:00
Yann Leboulanger
d27591076f fix exception handling 2013-01-01 23:18:36 +01:00
Yann Leboulanger
069bddbbcb remove call to unicode() 2013-01-01 21:06:16 +01:00
Yann Leboulanger
77775cf0af Gajim now uses python-nbxmpp library instead of embedding it. 2012-12-09 21:37:51 +01:00
Yann Leboulanger
133593e1ca coding standards 2012-08-22 12:21:45 +02:00
Denis Fomin
297032e6e6 correct check pyopenssl installed 2012-04-22 21:48:36 +04:00
Yann Leboulanger
dc3b203168 use event system for jingle FT 2011-06-24 18:24:42 +02:00
Yann Leboulanger
f951df7ead ability to accept correct content by its name, not only by it's media 2010-08-26 11:09:35 +02:00
Yann Leboulanger
286d788da0 Name of filetransfer content is now random to be able to have 2 transfer in the same session. send and handle content-add in filetranfer 2010-08-26 10:36:58 +02:00
Yann Leboulanger
b6d746115d handle cert path more commonly 2010-08-11 08:46:53 +02:00
Zhenchao Li
08c854aefa put local certificates in ~/.config/gajim/ , accept session once key exchange completes 2010-08-11 00:50:14 +08:00
Zhenchao Li
42f6580d1d move cert directory to ~/.local/share/gajim/certs 2010-08-10 21:10:45 +08:00
Zhenchao Li
91a68d30be add code to send/request certificates 2010-08-10 20:34:46 +08:00
Zhenchao Li
048d875b3b fix bug, os.path.exist -> os.path.exists. Define certificate path 2010-08-08 22:04:50 +08:00
Zhenchao Li
e810727002 create certs path if it does not exist 2010-08-08 21:55:32 +08:00
Zhenchao Li
02c1eaf930 load multiple certificate files 2010-08-08 21:25:29 +08:00
Zhenchao Li
a3e5e42375 add code to generate self signed certificates 2010-08-06 21:57:13 +08:00
Zhenchao Li
ae97a3ed83 wrap IO operations on SSL.Connection objects in try, catch SSL exceptions caused by SSL rehandshake request and simply ignore, retrying the IO should succeed. 2010-07-29 21:40:40 +08:00
Zhenchao Li
2b603fd7e1 add some code to allow testing using some pre-existing certificates.
TODO: manually handle handshake states to allow non-blocking I/O
2010-07-27 21:29:12 +08:00
Zhenchao Li
e9af72e944 add jingle_xtls.py, get_context helper function 2010-07-27 13:02:44 +08:00