1
0
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:
Adolfo Gómez García 2023-04-03 22:46:59 +02:00
parent 9d9a764a81
commit 31104c3fc2
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -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):