Skip to content

Support the protobuf bundle format in Cosign #3139

@haydentherapper

Description

@haydentherapper

Background

Sigstore created a common format in sigstore/protobuf-specs for the output from Sigstore clients. sigstore-python, sigstore-java and sigstore-js currently support the bundle format. Golang currently does not support the bundle: sigstore-go is under active development, and Cosign has defined its own format.

Requirements

  • [P0] Output bundle for cosign sign-blob or cosign attest-blob
  • [P0] Read bundle for cosign verify-blob or cosign verify-blob-attestation
  • [P0] Verify conformance with other clients

Secondary goals

  • [P1] Persist bundle in OCI image manifest for cosign sign
  • [P1] Persist bundle in OCI image manifest for cosign attest
  • [P1] Read bundle from OCI image manifest for cosign verify or cosign verify-attestation

Nice to haves

  • [P2] Separation of utilities in a dedicated package to make it easy to move code to sigstore-go
  • [P2] Support for uploading a bundle to OCI with cosign attach

Resources

Justification for sign-blob being a P0 and sign being a P1 is that OCI handles storage already, so it's less critical to have a new format.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions