Potential fix for code scanning alert no. 3: Use of insecure SSL/TLS version

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Tester2024 2025-10-22 01:23:16 +03:30 committed by GitHub
parent 8dc44b700f
commit 18ff6dc557
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: SSLContext = create_default_context(cafile=where())
ctx.check_hostname = False ctx.check_hostname = False
ctx.verify_mode = CERT_NONE ctx.verify_mode = CERT_NONE
ctx.minimum_version = ctx.TLSVersion.TLSv1_2
__version__: str = "2.4 SNAPSHOT" __version__: str = "2.4 SNAPSHOT"
__dir__: Path = Path(__file__).parent __dir__: Path = Path(__file__).parent