-
Notifications
You must be signed in to change notification settings - Fork 34
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
Coordinator API - allow updating mrenclave key #293
Comments
Hi @lead4good , If only mrenclave updates are required, it shouldn't be too difficult to implement. |
@brenzi @mullefel @daniel-weisse |
@lead4good @brenzi @mullefel Regarding the secret management. Currently, a secret can only have one "version" of that secret. |
@lead4good Would a simple updateability of mrenclave be sufficient for your use-case with the current behavior of secret updates? |
@m1ghtym0 From what I understand, updating the mrenclave would change the "version" of the protected files key secret. That would mean, the updated enclave would not be able to decrypt encrypted state stored by previous enclaves with an out of date mrenclave? Or can we access older versions of the secret as well? In that case, whatever had been stored and encrypted with the old version would need to be converted to that new key. This could possibly be detected as part of a startup routine. In general it makes a lot of sense to shield the confidentiality of newer enclaves by distributing different secret versions, it just needs to be clear how to migrate from one version to the other while maintaining the old state. |
@lead4good If you set the protected files key secret as shared. Newer versions of the gramine enclave will get the same secret and be able to decrypt the old state (taken from the nginx gramine example manifest: "ProtectedFilesKey": {
"Type": "symmetric-key",
"Size": 128,
"Shared": true
} That also means all instances of this Marble will be able to decrypt each other's state because they share the same encryption key. Further, instances of the old Marble version will be able to decrypt the state of newer versions. |
@lead4good Is this still a feature that you need or are actively working on? |
Use case
If the coordinator verifies a marble via the mrenclave instead of the mrsigner, no update mechanism exists yet. The coordinator needs to be reinitialized.
Describe your solution
allow mrenclave key updates, add these to the update log
Additional context
The text was updated successfully, but these errors were encountered: