Skip to content

Should we validate on digest only? #1

@mlieberman85

Description

@mlieberman85

https://github.com/trmiller/vendorme/blob/0b7091a0736be19ca2fd0a3245d997356822ba07/cmd/cli/rekor/rekoruuid_validator.go#L59

The above will error on an image with the same digest but just a different URI, e.g. registry or name. I noticed this recently with gcr where they have both a global registry gcr.io as well as region specific subdomains like asia.gcr.io and

Separately do we want to just validate images in almost a reverse way? Ignore if the image isn't found in the release at all just ensure that all images inside a release have valid attestations associated with them? This would probably be difficult given the current setup as different images could have different attestations.

See: tektoncd/chains#305 as an example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions