Skip to content

Encrypt parts of bottles #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

Open
nathan-joslin opened this issue Apr 15, 2025 · 0 comments
Open

Encrypt parts of bottles #2

nathan-joslin opened this issue Apr 15, 2025 · 0 comments
Labels
Bottles Related to bottles Feature Feature requests and ideas Security Issues related to secuirty

Comments

@nathan-joslin
Copy link
Collaborator

Looks like encrypted images are possible in OCI and here is the best practice for doing so overview and MR

Notice that they settled on +encrypted (like +tar and +zstd) to specify that a layer is encrypted. They use JWK for cypto. They use a KEK to wrap the CEK with asymmetric crypto. The content is encrypted with symmetric crypto with the CEK. What digest value is used for the blob id (plaintext or ciphertext digest)?

The user would provide the KEK.

Looks like ocicrypt might be helpful.

@nathan-joslin nathan-joslin added Bottles Related to bottles Feature Feature requests and ideas Security Issues related to secuirty labels Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bottles Related to bottles Feature Feature requests and ideas Security Issues related to secuirty
Projects
None yet
Development

No branches or pull requests

1 participant