src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/snmpSecurity.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
30 (checkWeakCryptography, ("S509",)), 30 (checkWeakCryptography, ("S509",)),
31 ], 31 ],
32 } 32 }
33 33
34 34
35 def checkInsecureVersion(reportError, context, config): 35 def checkInsecureVersion(reportError, context, config): # noqa: U100
36 """ 36 """
37 Function to check for the use of insecure SNMP version like 37 Function to check for the use of insecure SNMP version like
38 v1, v2c. 38 v1, v2c.
39 39
40 @param reportError function to be used to report errors 40 @param reportError function to be used to report errors
56 "M", 56 "M",
57 "H", 57 "H",
58 ) 58 )
59 59
60 60
61 def checkWeakCryptography(reportError, context, config): 61 def checkWeakCryptography(reportError, context, config): # noqa: U100
62 """ 62 """
63 Function to check for the use of insecure SNMP cryptography 63 Function to check for the use of insecure SNMP cryptography
64 (i.e. v3 using noAuthNoPriv). 64 (i.e. v3 using noAuthNoPriv).
65 65
66 @param reportError function to be used to report errors 66 @param reportError function to be used to report errors

eric ide

mercurial