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

changeset 7616
01d646569115
parent 7615
ca2949b1a29a
child 7619
ef2b5af23ce7
equal deleted inserted replaced
7615:ca2949b1a29a 7616:01d646569115
264 "S504": QCoreApplication.translate( 264 "S504": QCoreApplication.translate(
265 "Security", 265 "Security",
266 "'ssl.wrap_socket' call with no SSL/TLS protocol version specified," 266 "'ssl.wrap_socket' call with no SSL/TLS protocol version specified,"
267 " the default 'SSLv23' could be insecure, possible security issue."), 267 " the default 'SSLv23' could be insecure, possible security issue."),
268 268
269 # weak cryptographic keys
270 "S505": QCoreApplication.translate(
271 "Security",
272 "{0} key sizes below {1:d} bits are considered breakable."),
273
269 # YAML load 274 # YAML load
270 "S506": QCoreApplication.translate( 275 "S506": QCoreApplication.translate(
271 "Security", 276 "Security",
272 "Use of unsafe 'yaml.load()'. Allows instantiation of arbitrary" 277 "Use of unsafe 'yaml.load()'. Allows instantiation of arbitrary"
273 " objects. Consider 'yaml.safe_load()'."), 278 " objects. Consider 'yaml.safe_load()'."),
358 363
359 # Syntax error 364 # Syntax error
360 "S999": QCoreApplication.translate( 365 "S999": QCoreApplication.translate(
361 "Security", 366 "Security",
362 "{0}: {1}"), 367 "{0}: {1}"),
363
364 ## "S": QCoreApplication.translate(
365 ## "Security",
366 ## ""),
367 } 368 }
368 369
369 _securityMessagesSampleArgs = { 370 _securityMessagesSampleArgs = {
370 "S103": ["0o777", "testfile.txt"], 371 "S103": ["0o777", "testfile.txt"],
371 "S105": ["password"], 372 "S105": ["password"],
395 "S410": ["lxml"], 396 "S410": ["lxml"],
396 "S411": ["xmlrpclib"], 397 "S411": ["xmlrpclib"],
397 "S412": ["wsgiref.handlers.CGIHandler"], 398 "S412": ["wsgiref.handlers.CGIHandler"],
398 "S413": ["Crypto.Cipher"], 399 "S413": ["Crypto.Cipher"],
399 400
401 "S505": ["RSA", 2048],
402
400 "S609": ["os.system"], 403 "S609": ["os.system"],
401 404
402 "S999": ["SyntaxError", "Invalid Syntax"], 405 "S999": ["SyntaxError", "Invalid Syntax"],
403 } 406 }

eric ide

mercurial