14
0

Accepting request 1113509 from home:avicenzi:protonvpn

Fix authentication errors

OBS-URL: https://build.opensuse.org/request/show/1113509
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proton-client?expand=0&rev=7
This commit is contained in:
2023-09-25 16:10:21 +00:00
committed by Git OBS Bridge
parent b412eac019
commit f7d7308a08
3 changed files with 43 additions and 2 deletions

View File

@@ -0,0 +1,35 @@
diff --git a/proton/cert_pinning.py b/proton/cert_pinning.py
index e39298b..29aa048 100644
--- a/proton/cert_pinning.py
+++ b/proton/cert_pinning.py
@@ -18,7 +18,6 @@ class TLSPinningHTTPSConnectionPool(HTTPSConnectionPool):
host,
hash_dict,
port=None,
- strict=False,
timeout=Timeout.DEFAULT_TIMEOUT,
maxsize=1,
block=False,
@@ -44,7 +43,6 @@ class TLSPinningHTTPSConnectionPool(HTTPSConnectionPool):
super(TLSPinningHTTPSConnectionPool, self).__init__(
host,
port,
- strict,
timeout,
maxsize,
block,
@@ -67,7 +65,6 @@ class TLSPinningHTTPSConnectionPool(HTTPSConnectionPool):
super(TLSPinningHTTPSConnectionPool, self).__init__(
host,
port,
- strict,
timeout,
maxsize,
block,
@@ -181,5 +178,5 @@ class TLSPinningAdapter(HTTPAdapter):
):
self.poolmanager = TLSPinningPoolManager(
num_pools=connections, maxsize=maxsize, block=block,
- strict=True, hash_dict=self.hash_dict, **pool_kwargs
+ hash_dict=self.hash_dict, **pool_kwargs
)