mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-24 02:04:09 +03:00
Fixed actor client minimum version and ciphers
This commit is contained in:
parent
9d9a764a81
commit
31104c3fc2
@ -117,8 +117,6 @@ class UDSApi: # pylint: disable=too-few-public-methods
|
||||
)
|
||||
# Disable SSLv2, SSLv3, TLSv1, TLSv1.1, TLSv1.2
|
||||
context.minimum_version = ssl.TLSVersion.TLSv1_3
|
||||
# Set cipher
|
||||
context.set_ciphers("ECDHE-RSA-AES256-GCM-SHA384")
|
||||
|
||||
# Configure session security
|
||||
class UDSHTTPAdapter(requests.adapters.HTTPAdapter):
|
||||
|
Loading…
x
Reference in New Issue
Block a user