-
Notifications
You must be signed in to change notification settings - Fork 34
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
Use Key Provider to provide encryption key #67
Comments
I am not quite sure what you mean. Is the 'encryption key' you mention the 'KEK' and now you want to choose whether to use gpg versus pkcs7/cms versus pkcs11 with that encryption key? |
you should be able to make the payload anything you want and program the keyprovider to unwrap that structure and do what you want with it. |
@lumjjb, this is correct, we can do whatever we want with the annotation. The key used to encrypt the layers is picked randomly (if none is specified on the command line) before being passed in to the ocicrypt key provider. Ideally, I would want to have a provider for the key in addition to a provider for the KEK. Does that make sense? |
A better name for the current key provider would be |
Would it be possible to give the key provider the option to specify the encryption key and protocols instead of just the KEK?
The text was updated successfully, but these errors were encountered: