Does connaisseur allow configuration to only mutate spec to image digest from tag and not verify signature #623
-
When downloading images from k8s.gcr.io, we do not have public key to validate them or the images might not be signed, but by mutating tag to digest, we can have the container runtime will automatically verify hash. Eg: for a pattern that is set in validators, it mutates tag to digest
But if for eg validators is set to allow, it does not do the mutation. Is there any way we can achieve this ?
kind: Pod
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@mathuvenkat thanks for the great question! However, the natural question arises: Should Connaisseur implement another static validator that allows converting tags to digests? Could you share your thoughts on why this would be advantageous and which improvements you see in your use case? |
Beta Was this translation helpful? Give feedback.
@mathuvenkat thanks for the great question!
If I understand you correctly, you are wondering whether it is possible to have Connaisseur translate tags to digests, even if there is no signature. That is currently not possible. In essence, Connaisseur admits images by identifying a signed digest and then sets this digest as the image reference in exchange for the tag. This provides a verified digest that is then confirmed by the kubernetes container runtime as consistent with the image, as described in the docs.
However, the natural question arises: Should Connaisseur implement another static validator that allows converting tags to digests?
Here, I am not yet entirely sure of the security …