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

Create a BLS private key on enclave startup #6

Closed
fnerdman opened this issue Jan 20, 2023 · 1 comment
Closed

Create a BLS private key on enclave startup #6

fnerdman opened this issue Jan 20, 2023 · 1 comment

Comments

@fnerdman
Copy link
Collaborator

Create a BLS private key on enclave startup, if it doesn't exist yet.
Store encrypted on hard drive in case of application restart.

Sealing BLS key with mrenclave is the only way to guarantee confidentiality of key. This means an application update will result in a new key, unless we implement update mechanisms such as the ones discussed here.

@fnerdman
Copy link
Collaborator Author

fnerdman commented Feb 7, 2023

Discussing with @metachris we came to the conclusion that the BLS key can be provided by the enclave owner, it is not a secret that must be kept within the enclave. It can be passed to the enclave via environment variable BUILDER_SECRET_KEY

@fnerdman fnerdman closed this as completed Feb 7, 2023
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

1 participant