Skip to content

Validate cosign signatures if included in images #2257

@Racer159

Description

@Racer159

Is your feature request related to a problem? Please describe.

As Ezra I want to validate cosign signatures on zarf package create so that I can have confidence that they will work correctly before the package goes to the air gap.

Describe the solution you'd like

  • Given I have a package with cosign signatures defined under images
  • When Zarf pulls the signatures and the images to which they relate
  • Then Zarf validates the signatures against the images

Describe alternatives you've considered

We could have a separate process for this (and this will slow down create) but since it will only run when cosign signatures are defined it should be a fine tradeoff since people can opt into the slowdown if they need / want to and if they do it will save them time in the long run since it would be costly to bring an invalid package to the airgap.

Additional context

#475

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions