Skip to content

Commit

Permalink
Fix: use uvicorn with ASGI TLS Extension
Browse files Browse the repository at this point in the history
  • Loading branch information
grydz committed Dec 27, 2024
1 parent 92e2168 commit dc4d837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion src/cenclave_lib_sgx/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
)
Expand Down

0 comments on commit dc4d837

Please sign in to comment.