Mercurial > libervia-backend
diff sat/core/sat_main.py @ 2687:e9cd473a2f46
core (xmpp): server certificate validation:
XMPP server certificate is now checked, and connection is refused (by default) if it's not valid.
Certificate check can be disabled in the new parameter "Configuration/check_certificate".
If certificate checking is disabled, a warning note is sent on every new connection.
Twisted and Wokkel are temporarly monkey patched in sat.core.tls_patches module, until modifications are merged upstream.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 10 Nov 2018 10:16:35 +0100 |
parents | bc122b68eacd |
children | 943e78e18882 |
line wrap: on
line diff
--- a/sat/core/sat_main.py Fri Nov 09 16:17:45 2018 +0100 +++ b/sat/core/sat_main.py Sat Nov 10 10:16:35 2018 +0100 @@ -19,6 +19,8 @@ import sat from sat.core.i18n import _, languageSwitch +from sat.core import patches +patches.apply() from twisted.application import service from twisted.internet import defer from twisted.words.protocols.jabber import jid