Showing 324 of 1,708 total issues
Consider simplifying this complex logical expression. Open
Open
if self.public_key == other.public_key and\
self.min_generation == other.min_generation and\
self.generation == other.generation and\
self.expiration == other.expiration and\
self.target_hash == other.target_hash and\
Consider simplifying this complex logical expression. Open
Open
if hasattr(other, 'public_key') and\
hasattr(other, 'min_generation') and\
hasattr(other, 'generation') and\
hasattr(other, 'expiration') and\
hasattr(other, 'target_hash') and\
Consider simplifying this complex logical expression. Open
Open
if not session and \
(not ticket_ext or ticket_ext and not ticket_ext.ticket)\
and sessionCache and clientHello.session_id:
# Session ID resumption is allowed only if the client
# didn't send a ticket
Consider simplifying this complex logical expression. Open
Open
if cipherSuite in CipherSuite.srpAllSuites:
for result in self._serverSRPKeyExchange(clientHello, serverHello,
verifierDB, cipherSuite,
privateKey, cert_chain,
settings):
Function verify
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def verify(self, sigBytes, bytes, padding=None, hashAlg=None,
Function verify_binder
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def verify_binder(client_hello, handshake_hashes, position, secret, prf,
Function EMSA_PSS_verify
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def EMSA_PSS_verify(self, mHash, EM, emBits, hAlg, sLen=0):
Function _create_public_dsa_key
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_public_dsa_key(p, q, g, y,
Function hashAndVerify
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def hashAndVerify(self, sig_bytes, data, rsaScheme=None, hAlg=None,
Function verify
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def verify(self, signature, hashData, padding=None, hashAlg=None,
Function hashAndVerify
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def hashAndVerify(self, sigBytes, bytes, rsaScheme=None, hAlg='sha1',
Function _replicate_value
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _replicate_value(table, i, step, end, code):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, elemLength, lengthLength, fieldName, extType,
Function brotli_build_huffman_table
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def brotli_build_huffman_table(
Function parsePEMKey
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def parsePEMKey(s, private=False, public=False, passwordCallback=None,
Function _calcPendingStates
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _calcPendingStates(self, cipherSuite, masterSecret,
Function _x25519_generic
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _x25519_generic(k, u, bits, a24, p):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, server=False, extType=None, encExt=False,
Function verify
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def verify(self, sigBytes, bytes, padding='pkcs1', hashAlg=None,
Function verify
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def verify(self, sigBytes, bytes, padding=None, hashAlg=None,