Commit graph

4627 commits

Author SHA1 Message Date
Fedor Brunner
0a704d05d9 Defer the creation of XTLS until it's first time used.
This will make Gajim start a bit faster and more entropy can be
generated for key generation.
2014-04-15 14:01:55 +02:00
Fedor Brunner
7e183d4515 XTLS keys will be stored separate for each profile.
Fixes #7735.
2014-04-15 12:42:09 +02:00
Yann Leboulanger
5f1c570744 use host to resolve DNS if it's available. 2014-04-09 17:04:03 +02:00
Fedor Brunner
74eff753d7 Only Jingle RTP functions depend on Farstream library.
Jingle File Transfers work without Farstream.

ICE-UDP transport is also implemented as a part of Farstream (libnice)

Fixes #7713
2014-04-04 10:33:36 +02:00
Yann Leboulanger
8ca7281480 make e2e work with py3 2014-11-11 15:07:53 +01:00
Yann Leboulanger
8a6ed2c04e fix pyasn1 usage 2014-11-09 22:33:32 +01:00
Yann Leboulanger
5d62740700 remove wrong .decode() 2014-04-08 22:47:43 +02:00
Yann Leboulanger
dbb65d71cc fix typo 2014-04-08 22:36:19 +02:00
Yann Leboulanger
ea30b6888b update contact instance in chat window when we talk to another resource. Fixes #7700 2014-03-28 21:29:42 +01:00
Yann Leboulanger
7d09c4d45b don't try to create certificates if PyOpenSSL is not available 2014-03-30 11:45:29 +02:00
Yann Leboulanger
37390ada35 correctly find gnupg module 2014-03-27 21:18:26 +01:00
Yann Leboulanger
39ff7c27ec fix some typos 2014-03-27 13:21:28 +01:00
Yann Leboulanger
0eef85f776 ignore attention (XEP-224) when messages is delayed 2014-03-10 21:47:21 +01:00
Yann Leboulanger
3cd06b40eb make audio work under windows 2014-03-09 10:25:26 +01:00
Yann Leboulanger
ac5db73d53 fix var name. Fixes #7668 2014-03-08 12:19:15 +01:00
Fedor Brunner
d0b0f6992a New option 'authentication_mechanisms'
Fixes #7671
2014-03-01 21:16:24 +01:00
Yann Leboulanger
9437d0ac2f fix <file> xmlns for jingleFT 2014-02-24 23:03:04 +01:00
Yann Leboulanger
845d8a445d fix using transport sid in jingle IBB instead of jingle sid
fix double iq-result sending
2014-02-24 22:13:25 +01:00
Yann Leboulanger
a5eb0070e9 don't fail to receive a jingle FT request with no <security> tag 2014-02-23 20:53:04 +01:00
Fedor Brunner
700cbeb13f Old pyOpenSSL is missing get_signature_algorithm. Use the default "sha256"
signature algorithm for old pyOpenSSL.

Fixes #7641
2014-02-16 17:41:31 +01:00
Fedor Brunner
bb7442b580 Add ability to configure TLS protocol version.
add configuration option tls_version

Related to
https://python-nbxmpp.gajim.org/ticket/17
2014-01-27 16:31:08 +01:00
Fedor Brunner
6588636aa5 Support for sha256 fingerprint.
Fixes #7628
2014-01-21 15:27:41 +01:00
Yann Leboulanger
b9ff018a03 add a new event that is sent just before changing status. Fixes #7593 2014-01-14 22:48:51 +01:00
Yann Leboulanger
42619dc5cb change variable name 2014-01-07 19:51:56 +01:00
Denis Fomin
4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger
75a5c69871 add a <private> element to message stanza when message carbons is enabled and message is encrypted. Fixes #7616 2014-01-01 20:49:53 +01:00
Yann Leboulanger
309e7caf8a don't crash when we cannot connect to avahi. Fixes #7607 2013-12-31 14:28:24 +01:00
Yann Leboulanger
3cbb9df77b don't crash when Farstream is not installed 2014-03-26 18:23:58 +01:00
Yann Leboulanger
e746ca9b1a start havine audio / video. Doesn't work correctly yet 2014-03-25 21:26:57 +01:00
Yann Leboulanger
0d869cb192 merge GTK3 branch in default 2014-03-23 20:03:03 +01:00
Fedor Brunner
667cd1eb48 Replace the obsolete method warn.
http://docs.python.org/3/library/logging.html

  Note: There is an obsolete method warn which is functionally identical to
  warning. As warn is deprecated, please do not use it - use warning instead.
2014-02-18 09:39:48 +01:00
Fedor Brunner
38f09a4098 Backed out changeset c1f88dc9e4d0 of backed out changeset 4ba5c2f6386e 2014-01-29 16:22:17 +01:00
Fedor Brunner
b0357a9692 Backed out changeset 4ba5c2f6386e
I have submitted the 'tls_version' to the incorrect default branch.
The correct submit was done in changeset 15331:b5831b64e5d2 ,
branch gajim_0.16 .
2014-01-29 14:42:14 +01:00
Fedor Brunner
2fd0cbe1d3 Disable TLS tickets (RFC 5077) in OpenSSL Context for XTLS.
More on the effect of TLS tickets:
https://media.blackhat.com/us-13/US-13-Daigniere-TLS-Secrets-Slides.pdf

Fixes #7638
2014-01-29 14:12:10 +01:00
Fedor Brunner
3b629a52d2 "4096-bit MODP Group" from RFC3526, Section 5.
The prime is: 2^4096 - 2^4032 - 1 + 2^64 * { [2^3966 pi] + 240904 }

RFC3526 specifies a generator of 2.

The generation of the group is described in RFC 2412.

Fixes: #7644
2014-02-17 14:54:20 +01:00
Fedor Brunner
d7c8bdc8c4 Add ability to configure TLS protocol version.
add configuration option tls_version

Related to
https://python-nbxmpp.gajim.org/ticket/17
2014-01-27 16:31:08 +01:00
Fedor Brunner
3b0d68d06a Enable use of 2048, 3072, 4096 bit DH groups in ESessions. The 3072-bit DH
group is prefered.
Fixes #7615
2013-12-29 16:00:01 +01:00
Fedor Brunner
ec2156ec42 Update entropy gathering for interface changes of pyOpenSSL.
Fixes: #7642
2014-02-17 13:51:45 +01:00
Fedor Brunner
460c62860a Syntax correction for Python3 2014-02-16 22:37:14 +01:00
Yann Leboulanger
d337aeed4e py2 -> py3 2013-12-30 21:19:15 +01:00
Yann Leboulanger
54c3f9acaa py2 -> py3 2013-12-30 20:56:09 +01:00
Fedor Brunner
66c9ecd6cf Handle "NOTATION_NAME", "NOTATION_DATA" GPG lines. Fixes #7612 2013-12-27 12:42:19 +01:00
Fedor Brunner
4759ef235a ignore address-related errors for getaddrinfo. Fixes #7611
cleanup of jingle_transport.py
2013-12-27 12:16:58 +01:00
Fedor Brunner
dcf1c33cc1 cipher specification cleanup
https://trac.gajim.org/ticket/7599
2013-12-23 23:26:54 +01:00
Fedor Brunner
4a360397fe cipher specification cleanup
https://trac.gajim.org/ticket/7599
2013-12-23 23:26:54 +01:00
Yann Leboulanger
0fb4f69855 don't crash with new nbxmpp 2013-12-23 16:03:39 +01:00
Yann Leboulanger
6e0785964c update die to nbxmpp update 2013-12-06 21:20:22 +01:00
Yann Leboulanger
a402c064c5 missing change 2013-12-06 21:29:25 +01:00
Yann Leboulanger
d12be64986 minor code improvement 2013-12-06 21:27:53 +01:00
Yann Leboulanger
905f65720e update die to nbxmpp update 2013-12-06 21:20:22 +01:00