src/eric7/EricNetwork/EricSslUtilities.py

branch
eric7
changeset 10503
6a37b6ac3928
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
diff -r 89b8e0a67fde -r 6a37b6ac3928 src/eric7/EricNetwork/EricSslUtilities.py
--- a/src/eric7/EricNetwork/EricSslUtilities.py	Sun Jan 14 13:02:05 2024 +0100
+++ b/src/eric7/EricNetwork/EricSslUtilities.py	Tue Jan 16 14:18:52 2024 +0100
@@ -18,7 +18,7 @@
         # no SSL available, so there is nothing to initialize
         return
 
-    blacklist = [
+    blocklist = [
         "SRP-AES-256-CBC-SHA",  # open to MitM
         "SRP-AES-128-CBC-SHA",  # open to MitM
     ]
@@ -26,7 +26,7 @@
     strongCiphers = [
         c
         for c in QSslConfiguration.supportedCiphers()
-        if c.name() not in blacklist and c.usedBits() >= 128
+        if c.name() not in blocklist and c.usedBits() >= 128
     ]
     defaultSslConfiguration = QSslConfiguration.defaultConfiguration()
     defaultSslConfiguration.setCiphers(strongCiphers)

eric ide

mercurial