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

Runtime boot using a randomly generated key from image-rs passed inside enclave sefs #312

Merged

Conversation

piotrpalcz
Copy link
Contributor

@piotrpalcz piotrpalcz commented Dec 19, 2023

This PR is related to image-rs PR confidential-containers/guest-components#385 and replaces
#266 for easier reading
After merge of image-rs PR, branch in Cargo.toml will be reverted

Makes Runtime boot use key stored in file by image-rs/enclave agent.

After merging and fixes next step will be to seal/unseal the file with SGX

Fixes: #149

@piotrpalcz piotrpalcz requested a review from a team as a code owner December 19, 2023 14:58
@mythi mythi marked this pull request as draft December 19, 2023 17:09
@piotrpalcz piotrpalcz force-pushed the unified_enclave_sefs_key branch from 28097ae to d5a380a Compare December 20, 2023 08:58
@piotrpalcz piotrpalcz mentioned this pull request Dec 20, 2023
@piotrpalcz piotrpalcz force-pushed the unified_enclave_sefs_key branch 2 times, most recently from c9d6cb3 to 1d958f9 Compare December 20, 2023 13:06
src/runtime-boot/init/src/main.rs Outdated Show resolved Hide resolved
src/runtime-boot/init/src/main.rs Outdated Show resolved Hide resolved
src/runtime-boot/init/src/main.rs Outdated Show resolved Hide resolved
src/runtime-boot/init/src/main.rs Show resolved Hide resolved
@piotrpalcz piotrpalcz force-pushed the unified_enclave_sefs_key branch 4 times, most recently from b941d00 to 1b67f2b Compare December 21, 2023 12:13
@piotrpalcz piotrpalcz force-pushed the unified_enclave_sefs_key branch from 1b67f2b to 303b73b Compare December 22, 2023 10:51
@piotrpalcz piotrpalcz marked this pull request as ready for review December 22, 2023 10:52
@mythi mythi merged commit e5c5f58 into confidential-containers:main Jan 4, 2024
8 checks passed
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 this pull request may close these issues.

create rootfs_key dynamically and seal it
3 participants