Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make enclave server async #33

Open
emostov opened this issue Jun 14, 2022 · 2 comments
Open

Make enclave server async #33

emostov opened this issue Jun 14, 2022 · 2 comments

Comments

@emostov
Copy link
Contributor

emostov commented Jun 14, 2022

The enclave server should be async so

  • it can proxying requests to a secure app
  • the phase can be checked while its executing other processes
@emostov
Copy link
Contributor Author

emostov commented Jun 15, 2022

Once we make the server async, it will be important to ensure we are properly updating protocol phase mid request handling.

For example if we get the Kth provision request, we should lock state to ensure we don't simultaneously accept the K+1 provision request in the middle of trying to reconstruct secret.

@emostov
Copy link
Contributor Author

emostov commented Jul 1, 2022

In order to prove this works we should create the status endpoint and show we can query the status endpoint while doing some other slow op

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant