Module ImportFrom alias ImportFrom alias Import alias Import alias Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Return BinOpMod Str Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMult BinOpMult BinOpMult BinOpMult Num Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str NameLoad Str orelse With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A _base Config OpenSSL crypto N/A subprocess N/A os N/A GENERATE_DH_PARAMS False TlsConfig N/A Config N/A read_config N/A N/A self config N/A N/A N/A N/A self tls_certificate N/A N/A self read_tls_certificate N/A N/A config get tls_certificate_path N/A N/A self tls_certificate_file N/A N/A config get tls_certificate_path N/A N/A self no_tls N/A N/A config get no_tls False N/A N/A self no_tls N/A N/A N/A self tls_private_key None N/A N/A N/A self tls_private_key N/A N/A self read_tls_private_key N/A N/A config get tls_private_key_path N/A N/A self tls_dh_params_path N/A N/A self check_file N/A N/A config get tls_dh_params_path tls_dh_params N/A N/A self use_insecure_ssl_client_just_for_testing_do_not_use N/A N/A config get use_insecure_ssl_client_just_for_testing_do_not_use N/A default_config N/A N/A self config_dir_path server_name N/A kwargs N/A N/A base_key_name N/A N/A N/A os path join config_dir_path server_name N/A tls_certificate_path N/A base_key_name .tls.crt N/A tls_private_key_path N/A base_key_name .tls.key N/A tls_dh_params_path N/A base_key_name .tls.dh N/A N/A         # PEM encoded X509 certificate for TLS.
        # You can replace the self-signed certificate that synapse
        # autogenerates on launch with your own SSL certificate + key pair
        # if you like.  Any required intermediary certificates can be
        # appended after the primary certificate in hierarchical order.
        tls_certificate_path: "%(tls_certificate_path)s"

        # PEM encoded private key for TLS
        tls_private_key_path: "%(tls_private_key_path)s"

        # PEM dh parameters for ephemeral keys
        tls_dh_params_path: "%(tls_dh_params_path)s"

        # Don't bind to the https port
        no_tls: False
         N/A locals N/A read_tls_certificate N/A N/A self cert_path N/A N/A N/A cert_pem N/A N/A self read_file cert_path tls_certificate N/A N/A N/A crypto load_certificate N/A crypto FILETYPE_PEM cert_pem N/A read_tls_private_key N/A N/A self private_key_path N/A N/A N/A private_key_pem N/A N/A self read_file private_key_path tls_private_key N/A N/A N/A crypto load_privatekey N/A crypto FILETYPE_PEM private_key_pem N/A generate_files N/A N/A self config N/A N/A N/A tls_certificate_path N/A config N/A tls_certificate_path N/A tls_private_key_path N/A config N/A tls_private_key_path N/A tls_dh_params_path N/A config N/A tls_dh_params_path N/A N/A N/A N/A N/A os path exists tls_private_key_path N/A N/A N/A open tls_private_key_path w private_key_file N/A N/A tls_private_key N/A N/A crypto PKey N/A N/A N/A tls_private_key generate_key N/A crypto TYPE_RSA 2048 N/A private_key_pem N/A N/A crypto dump_privatekey N/A crypto FILETYPE_PEM tls_private_key N/A N/A N/A private_key_file write private_key_pem N/A N/A N/A open tls_private_key_path private_key_file N/A N/A private_key_pem N/A N/A private_key_file read N/A tls_private_key N/A N/A crypto load_privatekey N/A crypto FILETYPE_PEM private_key_pem N/A N/A N/A N/A N/A os path exists tls_certificate_path N/A N/A N/A open tls_certificate_path w certificate_file N/A N/A cert N/A N/A crypto X509 N/A subject N/A N/A cert get_subject N/A N/A subject CN N/A config N/A server_name N/A N/A N/A cert set_serial_number 1000 N/A N/A N/A cert gmtime_adj_notBefore 0 N/A N/A N/A cert gmtime_adj_notAfter N/A N/A N/A N/A 10 365 24 60 60 N/A N/A N/A cert set_issuer N/A N/A cert get_subject N/A N/A N/A cert set_pubkey tls_private_key N/A N/A N/A cert sign tls_private_key sha256 N/A cert_pem N/A N/A crypto dump_certificate N/A crypto FILETYPE_PEM cert N/A N/A N/A certificate_file write cert_pem N/A N/A N/A N/A N/A os path exists tls_dh_params_path N/A N/A GENERATE_DH_PARAMS N/A N/A N/A N/A subprocess check_call N/A openssl dhparam -outform PEM -out tls_dh_params_path 2048 N/A N/A N/A open tls_dh_params_path w dh_params_file N/A N/A N/A N/A dh_params_file write 2048-bit DH parameters taken from rfc3526
-----BEGIN DH PARAMETERS-----
MIIBCAKCAQEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb
IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft
awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT
mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh
fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq
5RXSJhiY+gUQFXKOWoqsqmj//////////wIBAg==
-----END DH PARAMETERS-----
 N/A N/A