From 65e9d84d4dfc0feb766547929ff8d65e0b353172 Mon Sep 17 00:00:00 2001 From: Samuel Gaus Date: Sat, 18 Nov 2023 14:40:03 +0000 Subject: [PATCH] Support wikis that have an incorrectly configured DH key (#224) This makes the tool work on https://kol.coldfront.net/thekolwiki, for example --- wikiteam3/dumpgenerator/cli/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wikiteam3/dumpgenerator/cli/cli.py b/wikiteam3/dumpgenerator/cli/cli.py index 95f0e031..55332c4c 100644 --- a/wikiteam3/dumpgenerator/cli/cli.py +++ b/wikiteam3/dumpgenerator/cli/cli.py @@ -230,6 +230,7 @@ def getParameters(params=None) -> Tuple[Config, Dict]: if args.insecure: session.verify = False requests.packages.urllib3.disable_warnings() + requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS = 'ALL:@SECLEVEL=1' print("WARNING: SSL certificate verification disabled") # Custom session retry