Files
tfm_ainventory/graphify-out/cache/6aaba6d8efa8125541d3cdfb6074dfb95b7a24117f515dfd35be5549145e12f8.json

1 line
14 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "label": "fshp.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L1"}, {"id": "fshp_fshp", "label": "fshp", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L25"}, {"id": "fshp_using", "label": "using()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L103"}, {"id": "fshp_fshp_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L117"}, {"id": "fshp_norm_variant", "label": "_norm_variant()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L131"}, {"id": "fshp_checksum_alg", "label": "checksum_alg()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L146"}, {"id": "fshp_checksum_size", "label": "checksum_size()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L150"}, {"id": "fshp_from_string", "label": "from_string()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L167"}, {"id": "fshp_fshp_to_string", "label": ".to_string()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L184"}, {"id": "fshp_fshp_calc_checksum", "label": "._calc_checksum()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L194"}, {"id": "fshp_rationale_1", "label": "passlib.handlers.fshp", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L1"}, {"id": "fshp_rationale_26", "label": "This class implements the FSHP password hash, and follows the :ref:`password-has", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L26"}, {"id": "fshp_rationale_78", "label": "# FIXME: should probably use different default rounds", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L78"}, {"id": "fshp_rationale_118", "label": "# NOTE: variant must be set first, since it controls checksum size, etc.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L118"}, {"id": "fshp_rationale_197", "label": "# NOTE: for some reason, FSHP uses pbkdf1 with password & salt reversed.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L197"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "base64", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "passlib_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "passlib_utils_handlers", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "passlib_utils_compat", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "passlib_crypto_digest", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "fshp_fshp", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "fshp_using", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L103", "weight": 1.0}, {"source": "fshp_fshp", "target": "fshp_fshp_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L117", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "fshp_norm_variant", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L131", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "fshp_checksum_alg", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L146", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "fshp_checksum_size", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L150", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "target": "fshp_from_string", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L167", "weight": 1.0}, {"source": "fshp_fshp", "target": "fshp_fshp_to_string", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L184", "weight": 1.0}, {"source": "fshp_fshp", "target": "fshp_fshp_calc_checksum", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L194", "weight": 1.0}, {"source": "fshp_using", "target": "fshp_norm_variant", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L106", "weight": 1.0}, {"source": "fshp_fshp_init", "target": "fshp_norm_variant", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L121", "weight": 1.0}, {"source": "fshp_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L1", "weight": 1.0}, {"source": "fshp_rationale_26", "target": "fshp_fshp", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L26", "weight": 1.0}, {"source": "fshp_rationale_78", "target": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L78", "weight": 1.0}, {"source": "fshp_rationale_118", "target": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L118", "weight": 1.0}, {"source": "fshp_rationale_197", "target": "backend_venv_lib_python3_12_site_packages_passlib_handlers_fshp_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L197", "weight": 1.0}], "raw_calls": [{"caller_nid": "fshp_using", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L104"}, {"caller_nid": "fshp_fshp_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L119"}, {"caller_nid": "fshp_fshp_init", "callee": "TypeError", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L126"}, {"caller_nid": "fshp_fshp_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L128"}, {"caller_nid": "fshp_norm_variant", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L132"}, {"caller_nid": "fshp_norm_variant", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L133"}, {"caller_nid": "fshp_norm_variant", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L134"}, {"caller_nid": "fshp_norm_variant", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L138"}, {"caller_nid": "fshp_norm_variant", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L139"}, {"caller_nid": "fshp_norm_variant", "callee": "TypeError", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L140"}, {"caller_nid": "fshp_norm_variant", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L142"}, {"caller_nid": "fshp_from_string", "callee": "to_unicode", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L168"}, {"caller_nid": "fshp_from_string", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L169"}, {"caller_nid": "fshp_from_string", "callee": "InvalidHashError", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L171"}, {"caller_nid": "fshp_from_string", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L172"}, {"caller_nid": "fshp_from_string", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L173"}, {"caller_nid": "fshp_from_string", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L174"}, {"caller_nid": "fshp_from_string", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L175"}, {"caller_nid": "fshp_from_string", "callee": "b64decode", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L177"}, {"caller_nid": "fshp_from_string", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L177"}, {"caller_nid": "fshp_from_string", "callee": "MalformedHashError", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L179"}, {"caller_nid": "fshp_from_string", "callee": "cls", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L182"}, {"caller_nid": "fshp_fshp_to_string", "callee": "bascii_to_str", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L187"}, {"caller_nid": "fshp_fshp_to_string", "callee": "b64encode", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L187"}, {"caller_nid": "fshp_fshp_to_string", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L188"}, {"caller_nid": "fshp_fshp_calc_checksum", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L195"}, {"caller_nid": "fshp_fshp_calc_checksum", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L196"}, {"caller_nid": "fshp_fshp_calc_checksum", "callee": "pbkdf1", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/handlers/fshp.py", "source_location": "L200"}]}