Skip to content

Commit 18ff6dc

Browse files
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>
1 parent 8dc44b7 commit 18ff6dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

start.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
ctx: SSLContext = create_default_context(cafile=where())
4545
ctx.check_hostname = False
4646
ctx.verify_mode = CERT_NONE
47+
ctx.minimum_version = ctx.TLSVersion.TLSv1_2
4748

4849
__version__: str = "2.4 SNAPSHOT"
4950
__dir__: Path = Path(__file__).parent

0 commit comments

Comments
 (0)