Skip to content

Commit 47ddea7

Browse files
authored
Merge pull request #691 from MatrixTM/alert-autofix-3
Potential fix for code scanning alert no. 3: Use of insecure SSL/TLS version
2 parents 8dc44b7 + 18ff6dc commit 47ddea7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)