diff --git a/pyproject.toml b/pyproject.toml index 75bc966..11c6462 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ dependencies = [ "intel-sgx-ra>=2.3.1,<2.4.0", "hypercorn[uvloop]>=0.17.3,<0.18.0", "h2>=4.1.0,<4.2.0", - "uvicorn[standard]>=0.34.0,<1.0.0", + "uvicorn[standard] @ git+https://github.com/encode/uvicorn.git@f50dddb0b70779f2a2e3460349452e6610c21189", "cenclave-lib-crypto>=1.0.0,<1.1.0" ] dynamic = ["version"] diff --git a/src/cenclave_lib_sgx/cli.py b/src/cenclave_lib_sgx/cli.py index 3158f91..68e0432 100644 --- a/src/cenclave_lib_sgx/cli.py +++ b/src/cenclave_lib_sgx/cli.py @@ -293,7 +293,7 @@ def run() -> None: loop="uvloop", workers=1, ssl_certfile=cast(Path, config_map["certfile"]), - ssl_keyfile=cast(Path, config_map["keyfile"]), + ssl_keyfile=cast(str, f"{config_map['keyfile']}"), ssl_ca_certs=cast(str, config_map["ca_certs"]), ssl_cert_reqs=cast(int, config_map["verify_mode"]), )