Files
mailgoserver/graphify-out/cache/ast/v0.9.37/73552cd042316daf4925b63d54e9017dba06c64cdc3eb13c09027fee46932a51.json
T
2026-08-12 12:56:22 +01:00

1 line
11 KiB
JSON

{"nodes": [{"id": "$graphify-root$_email_server_tls_utils_py", "label": "tls_utils.py", "file_type": "code", "source_file": "email_server/tls_utils.py", "source_location": "L1"}, {"id": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "label": "generate_self_signed_cert()", "file_type": "code", "source_file": "email_server/tls_utils.py", "source_location": "L20", "_callable": true}, {"id": "$graphify-root$_email_server_tls_utils_create_ssl_context", "label": "create_ssl_context()", "file_type": "code", "source_file": "email_server/tls_utils.py", "source_location": "L60", "_callable": true}, {"id": "$graphify-root$_email_server_tls_utils_rationale_1", "label": "TLS utilities for the SMTP server.", "file_type": "rationale", "source_file": "email_server/tls_utils.py", "source_location": "L1"}, {"id": "$graphify-root$_email_server_tls_utils_rationale_21", "label": "Generate self-signed SSL certificate if it doesn't exist.", "file_type": "rationale", "source_file": "email_server/tls_utils.py", "source_location": "L21"}, {"id": "$graphify-root$_email_server_tls_utils_rationale_61", "label": "Create SSL context for TLS support.", "file_type": "rationale", "source_file": "email_server/tls_utils.py", "source_location": "L61"}], "edges": [{"source": "$graphify-root$_email_server_tls_utils_py", "target": "ssl", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_py", "target": "openssl", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_py", "target": "email_server_settings_loader", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_py", "target": "email_server_tool_box", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_py", "target": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_py", "target": "$graphify-root$_email_server_tls_utils_create_ssl_context", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L60", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_rationale_1", "target": "$graphify-root$_email_server_tls_utils_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_rationale_21", "target": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_email_server_tls_utils_rationale_61", "target": "$graphify-root$_email_server_tls_utils_create_ssl_context", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tls_utils.py", "source_location": "L61", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "exists", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L22", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "TLS_CERT_FILE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/tls_utils.py", "source_location": "L22"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "exists", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L22", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "TLS_KEY_FILE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/tls_utils.py", "source_location": "L22"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "debug", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L23", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "debug", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L27", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "PKey", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L30", "receiver": "crypto"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "generate_key", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L31", "receiver": "k"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "X509", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L34", "receiver": "crypto"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "get_subject", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L35", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "get_subject", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L36", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "get_subject", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L37", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "set_serial_number", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L38", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "gmtime_adj_notBefore", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L39", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "gmtime_adj_notAfter", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L40", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "set_issuer", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L41", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "get_subject", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L41", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "set_pubkey", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L42", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "sign", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L43", "receiver": "cert"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "TLS_CERT_FILE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/tls_utils.py", "source_location": "L46"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "write", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L47", "receiver": "f"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "dump_certificate", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L47", "receiver": "crypto"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "TLS_KEY_FILE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/tls_utils.py", "source_location": "L50"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "write", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L51", "receiver": "f"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "dump_privatekey", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L51", "receiver": "crypto"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "debug", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L53", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_generate_self_signed_cert", "callee": "error", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L57", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_create_ssl_context", "callee": "create_default_context", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L63", "receiver": "ssl"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_create_ssl_context", "callee": "load_cert_chain", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L64", "receiver": "ssl_context"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_create_ssl_context", "callee": "TLS_CERT_FILE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/tls_utils.py", "source_location": "L64"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_create_ssl_context", "callee": "TLS_KEY_FILE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/tls_utils.py", "source_location": "L64"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_create_ssl_context", "callee": "set_ciphers", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L65", "receiver": "ssl_context"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_create_ssl_context", "callee": "debug", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L66", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_tls_utils_create_ssl_context", "callee": "error", "is_member_call": true, "source_file": "email_server/tls_utils.py", "source_location": "L69", "receiver": "logger"}]}