Swap to SleekXMPP-FS, a fork built specifically for sucks
This fork of SleekXMPP disables certificate validation to work around #62 and #45 This fix should be seen as a temporary hack until we figure out a long term solution.
This commit is contained in:
@@ -63,7 +63,7 @@ setup(
|
|||||||
# https://packaging.python.org/en/latest/requirements.html
|
# https://packaging.python.org/en/latest/requirements.html
|
||||||
|
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'sleekxmpp>=1.3',
|
'sleekxmppfs>=1.3.4',
|
||||||
'click>=6',
|
'click>=6',
|
||||||
'requests>=2.18',
|
'requests>=2.18',
|
||||||
'pycryptodome>=3.4',
|
'pycryptodome>=3.4',
|
||||||
|
|||||||
+3
-3
@@ -7,9 +7,9 @@ from threading import Event
|
|||||||
|
|
||||||
import requests
|
import requests
|
||||||
import stringcase
|
import stringcase
|
||||||
from sleekxmpp import ClientXMPP, Callback, MatchXPath
|
from sleekxmppfs import ClientXMPP, Callback, MatchXPath
|
||||||
from sleekxmpp.xmlstream import ET
|
from sleekxmppfs.xmlstream import ET
|
||||||
from sleekxmpp.exceptions import XMPPError
|
from sleekxmppfs.exceptions import XMPPError
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user