src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html

branch
eric7
changeset 9325
8157eb19aba5
parent 9209
b99e7fd55fd3
child 10479
856476537696
diff -r 7f7f3e47b238 -r 8157eb19aba5 src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html
--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html	Tue Sep 13 19:46:19 2022 +0200
+++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html	Tue Sep 13 20:00:55 2022 +0200
@@ -27,8 +27,16 @@
 <table>
 
 <tr>
-<td><a href="#checkHashlibNew">checkHashlibNew</a></td>
-<td>Function to check for use of insecure md4, md5, or sha1 hash functions in hashlib.new().</td>
+<td><a href="#_hashlibFunc">_hashlibFunc</a></td>
+<td>Function to check for use of insecure md4, md5, sha or sha1 hash functions in hashlib.new() if 'usedforsecurity' is not set to 'False'.</td>
+</tr>
+<tr>
+<td><a href="#_hashlibNew">_hashlibNew</a></td>
+<td>Function to check for use of insecure md4, md5, sha or sha1 hash functions in hashlib.new().</td>
+</tr>
+<tr>
+<td><a href="#checkHashlib">checkHashlib</a></td>
+<td>Function to check for use of insecure md4, md5, sha or sha1 hash functions in hashlib.new().</td>
 </tr>
 <tr>
 <td><a href="#getChecks">getChecks</a></td>
@@ -37,12 +45,64 @@
 </table>
 <hr />
 <hr />
-<a NAME="checkHashlibNew" ID="checkHashlibNew"></a>
-<h2>checkHashlibNew</h2>
-<b>checkHashlibNew</b>(<i>reportError, context, config</i>)
+<a NAME="_hashlibFunc" ID="_hashlibFunc"></a>
+<h2>_hashlibFunc</h2>
+<b>_hashlibFunc</b>(<i>reportError, context, config</i>)
 
 <p>
-    Function to check for use of insecure md4, md5, or sha1 hash functions
+    Function to check for use of insecure md4, md5, sha or sha1 hash functions
+    in hashlib.new() if 'usedforsecurity' is not set to 'False'.
+</p>
+<dl>
+
+<dt><i>reportError</i> (func)</dt>
+<dd>
+function to be used to report errors
+</dd>
+<dt><i>context</i> (SecurityContext)</dt>
+<dd>
+security context object
+</dd>
+<dt><i>config</i> (dict)</dt>
+<dd>
+dictionary with configuration data
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+<hr />
+<a NAME="_hashlibNew" ID="_hashlibNew"></a>
+<h2>_hashlibNew</h2>
+<b>_hashlibNew</b>(<i>reportError, context, config</i>)
+
+<p>
+    Function to check for use of insecure md4, md5, sha or sha1 hash functions
+    in hashlib.new().
+</p>
+<dl>
+
+<dt><i>reportError</i> (func)</dt>
+<dd>
+function to be used to report errors
+</dd>
+<dt><i>context</i> (SecurityContext)</dt>
+<dd>
+security context object
+</dd>
+<dt><i>config</i> (dict)</dt>
+<dd>
+dictionary with configuration data
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+<hr />
+<a NAME="checkHashlib" ID="checkHashlib"></a>
+<h2>checkHashlib</h2>
+<b>checkHashlib</b>(<i>reportError, context, config</i>)
+
+<p>
+    Function to check for use of insecure md4, md5, sha or sha1 hash functions
     in hashlib.new().
 </p>
 <dl>

eric ide

mercurial