You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I was thinking about #784, this was another (largely orthogonal) thought
tl;drcosigned only verifies root-level signatures, which for multi-arch indices may not be where the signatures live!
As we deal with multi-arch images, the signatures may exist deeper in the tree than on the tagged entity itself, so unless we do recursive verification this is going to be limiting. We also don't necessarily know which arch/platform/os to resolve for the image (consider heterogeneous clusters).
I think the check we really want here is: "every leaf image or one of its containing indices satisfies the check we are performing."
Right now, all we check is "is it signed?", so this is simpler, but if/as this expands into the broader policy space, this will get complicated fast.
The text was updated successfully, but these errors were encountered:
Description
As I was thinking about #784, this was another (largely orthogonal) thought
tl;dr
cosigned
only verifies root-level signatures, which for multi-arch indices may not be where the signatures live!As we deal with multi-arch images, the signatures may exist deeper in the tree than on the tagged entity itself, so unless we do recursive verification this is going to be limiting. We also don't necessarily know which arch/platform/os to resolve for the image (consider heterogeneous clusters).
I think the check we really want here is: "every leaf image or one of its containing indices satisfies the check we are performing."
Right now, all we check is "is it signed?", so this is simpler, but if/as this expands into the broader policy space, this will get complicated fast.
The text was updated successfully, but these errors were encountered: