eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py

changeset 7616
01d646569115
parent 7615
ca2949b1a29a
child 7619
ef2b5af23ce7
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py	Wed Jun 10 17:52:53 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py	Wed Jun 10 19:57:25 2020 +0200
@@ -266,6 +266,11 @@
         "'ssl.wrap_socket' call with no SSL/TLS protocol version specified,"
         " the default 'SSLv23' could be insecure, possible security issue."),
     
+    # weak cryptographic keys
+    "S505": QCoreApplication.translate(
+        "Security",
+        "{0} key sizes below {1:d} bits are considered breakable."),
+    
     # YAML load
     "S506": QCoreApplication.translate(
         "Security",
@@ -360,10 +365,6 @@
     "S999": QCoreApplication.translate(
         "Security",
         "{0}: {1}"),
-    
-##    "S": QCoreApplication.translate(
-##        "Security",
-##        ""),
 }
 
 _securityMessagesSampleArgs = {
@@ -397,6 +398,8 @@
     "S412": ["wsgiref.handlers.CGIHandler"],
     "S413": ["Crypto.Cipher"],
     
+    "S505": ["RSA", 2048],
+    
     "S609": ["os.system"],
     
     "S999": ["SyntaxError", "Invalid Syntax"],

eric ide

mercurial