Merge pull request #691 from MatrixTM/alert-autofix-3

Potential fix for code scanning alert no. 3: Use of insecure SSL/TLS version
This commit is contained in:
Tester2024 2025-10-22 01:23:43 +03:30 committed by GitHub
commit 47ddea7877
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ logger.setLevel("INFO")
ctx: SSLContext = create_default_context(cafile=where())
ctx.check_hostname = False
ctx.verify_mode = CERT_NONE
ctx.minimum_version = ctx.TLSVersion.TLSv1_2
__version__: str = "2.4 SNAPSHOT"
__dir__: Path = Path(__file__).parent