-
Notifications
You must be signed in to change notification settings - Fork 2
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
Race condition with Attestor
s?
#147
Comments
Originally posted by @hu55a1n1 in #139 (comment) |
cc: @amiller |
Seems like a simple solution here, to be on the safe side, would be to deliberately serialize all attestation requests coming into the enclave? |
This is a good point, i'm pretty sure this attestation flow is indeed not threadsafe. I would guess a lot of handling of sensitive data would need to be revisited if switching to use multiple threads |
what's the status on this? |
I think this isn't a major problem now because we're using tokio's single-threaded runtime. So this is something we should revisit post v0.1. |
Summary
Originally posted by @thanethomson in #139 (comment)
The text was updated successfully, but these errors were encountered: