MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / _lib_cryptography

Method _lib_cryptography

aura/analyzers/python/crypto.py:54–65  ·  view source on GitHub ↗
(self, context, info)

Source from the content-addressed store, hash-verified

52 return
53
54 def _lib_cryptography(self, context, info):
55 try:
56 signature = context.node.apply_signature("key_size", backend=None)
57 except TypeError: # Signature call doesn't match parameters/kws
58 return
59 key_size = signature.args[0]
60 if isinstance(key_size, Number):
61 key_size = key_size.value
62 elif not type(key_size) == int:
63 return
64
65 yield self._gen_hit(context, info, key_size)
66
67 def _lib_crypto(self, context, info):
68 try:

Callers

nothing calls this directly

Calls 2

_gen_hitMethod · 0.95
apply_signatureMethod · 0.80

Tested by

no test coverage detected