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

changeset 7619
ef2b5af23ce7
parent 7616
01d646569115
child 7622
384e2aa5c073
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py	Mon Jun 15 18:23:27 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py	Mon Jun 15 19:01:02 2020 +0200
@@ -166,13 +166,13 @@
         " using an insecure context via the _create_unverified_context that"
         " reverts to the previous behavior that does not validate"
         " certificates or perform hostname checks."),
-    "S325": QCoreApplication.translate(
+    "S324": QCoreApplication.translate(
         "Security",
         "Use of os.tempnam() and os.tmpnam() is vulnerable to symlink"
         " attacks. Consider using tmpfile() instead."),
     
     # hashlib.new
-    "S324": QCoreApplication.translate(
+    "S331": QCoreApplication.translate(
         "Security",
         "Use of insecure {0} hash function."),
     
@@ -187,11 +187,11 @@
         " insecure. Use SSH/SFTP/SCP or some other encrypted protocol."),
     "S403": QCoreApplication.translate(
         "Security",
-        "Consider possible security implications associated with '{0}'"
+        "Consider possible security implications associated with the '{0}'"
         " module."),
     "S404": QCoreApplication.translate(
         "Security",
-        "Consider possible security implications associated with '{0}'"
+        "Consider possible security implications associated with the '{0}'"
         " module."),
     "S405": QCoreApplication.translate(
         "Security",
@@ -384,7 +384,7 @@
     "S319": ["xml.dom.pulldom.parse"],
     "S320": ["lxml.etree.parse"],
     
-    "S324": ["MD5"],
+    "S331": ["MD5"],
     
     "S403": ["pickle"],
     "S404": ["subprocess"],

eric ide

mercurial