-
Notifications
You must be signed in to change notification settings - Fork 103
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
Support Nydus boostrap layer encryption and decryption #479
Conversation
When converting to nydus image, encrypt the bootstrap layer. Signed-off-by: taohong <[email protected]>
fd42796
to
9b29f13
Compare
@taoohong Hi, could you please add some unit tests to your code? Especially the newly added file |
Update encryptRecipients from string to []string, support multiple encryption recipients when conversion. Signed-off-by: taohong <[email protected]>
9b29f13
to
ae4a443
Compare
Could you please share some background information on this feature and its potential users or use cases to help us understand its necessity? How could we consume the package? |
Data security has become an important topic in the field of cloud computing. When users no longer trust CSPs, the confidentiality and integrity of user image must be guaranteed. A typical application scenario is confidential containers, where Nydus supports image encryption to address the need for users to accelerate encrypted images. This patch is only one aspect of Nydus' support for image encryption, as it only encrypts metadata. There are other subsequent patches that support chunk-level encryption of data blobs, ultimately achieving Nydus' support for encrypted images. |
done |
Maybe we could add some docs later to introduce this new feature. |
How do we support the blob layer encryption and decryption later? |
JiaNan Huang is working on this. XD |
Add testImageConvertWithCrypt to test Nydus bootstrap encryption and decryption. Signed-off-by: taohong <[email protected]>
17f5aa0
to
5a18147
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Use ocicrypt to support encryption and decryption of nydus boostrap layer.