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

Prevent enclave from handling events until handshake is complete #209

Open
2 tasks
hu55a1n1 opened this issue Sep 17, 2024 · 0 comments
Open
2 tasks

Prevent enclave from handling events until handshake is complete #209

hu55a1n1 opened this issue Sep 17, 2024 · 0 comments
Milestone

Comments

@hu55a1n1
Copy link
Member

Summary

  • The idea is to not run any enclave code until the handshake is complete. e.g. an init_clearing event is not processed until the handshake is complete.
  • An additional improvement is to make sure the right handshake msg is processed in a seq (i.e. it's not possible to call session_set_pub_key without calling session_create.

(comment on #174)

Acceptance Criteria

  • Events are not processed until the handshake is complete.
  • Handshake messages are only processed in the right sequence. (use type-state?)
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

No branches or pull requests

2 participants