MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / check_master_password

Function check_master_password

web/pgadmin/browser/__init__.py:651–656  ·  view source on GitHub ↗

Checks if the master password is available in the memory This password will be used to encrypt/decrypt saved server passwords

()

Source from the content-addressed store, hash-verified

649@blueprint.route("/master_password", endpoint="check_master_password",
650 methods=["GET"])
651def check_master_password():
652 """
653 Checks if the master password is available in the memory
654 This password will be used to encrypt/decrypt saved server passwords
655 """
656 return make_json_response(data=get_crypt_key()[0])
657
658
659@blueprint.route("/master_password", endpoint="reset_master_password",

Callers

nothing calls this directly

Calls 2

make_json_responseFunction · 0.90
get_crypt_keyFunction · 0.90

Tested by

no test coverage detected