Skip to content

Encrypt parts of bottles #2

Description

@nathan-joslin

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BottlesRelated to bottlesFeatureFeature requests and ideasSecurityIssues related to secuirty

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions