Skip to content

Support generating and verifying with "Sigstore" bundles #251

Closed

Description

@woodruffw

There are currently (at least) 3 different things called "bundles" in the Sigstore ecosystem:

  • "cosign bundles", which cosign --bundle emits. These contain a Rekor entry, plus checksum, certificate, and signature needed to perform a normal verification step.
  • "Rekor offline bundles", which contain just the Rekor entry and its SET. These need to be combined with separate inputs to perform a normal verification step.
  • "sigstore bundles", which are currently being designed (Sigstore bundle cosign#2204). These will deprecate "cosign bundles" and perform the same function.

Once the "Sigstore bundle" format is stabilized, sigstore-python should both consume and emit it (by default, rather than emitting/loading separate files for each component).

This is a counterpart to #52 and #194, and will obviate/deprecate the work in #247 once finished.

Subtasks:

Activity

  1. added
    enhancement
    on Oct 14, 2022
  2. di commented on Oct 21, 2022

    @di
    Member

    Marking this blocked on sigstore/cosign#2131

  3. woodruffw commented on Nov 1, 2022

    @woodruffw
    MemberAuthor

    The sigstore bundle spec is being developed in sigstore/protobuf-specs; tracking sigstore/protobuf-specs#6

  4. jku commented on Nov 2, 2022

    @jku
    Member

    nothing against protobufs as such but it'll likely be yet another dependency just to read a single config file :(

  5. woodruffw commented on Nov 2, 2022

    @woodruffw
    MemberAuthor

    nothing against protobufs as such but it'll likely be yet another dependency just to read a single config file :(

    Yeah, this isn't ideal (but also not the end of the world). My plan here was to look into generating a separate Python package from the protobuf specs, something like sigstore-protos or sigstore-models, so that we can avoid a direct protobuf dependency.

  6. di commented on Nov 2, 2022

    @di
    Member

    Or we could have the repo that defines the specs generate/publish the protos package as well.

  7. woodruffw commented on Jan 3, 2023

    @woodruffw
    MemberAuthor

    Bumping this to post-stable, since the Sigstore bundle format itself isn't fully stabilized.

  8. woodruffw commented on Jan 12, 2023

    @woodruffw
    MemberAuthor

    Unblocking because a 0.1 release of the bundle format is now available; we should begin evaluating against it.

  9. self-assigned this
    on Jan 20, 2023
  10. self-assigned this
    on Jan 25, 2023
  11. tetsuo-cpp commented on Jan 26, 2023

    @tetsuo-cpp
    Contributor

    I'm going to prepare a PR for verifying bundles.

  12. woodruffw commented on Jan 31, 2023

    @woodruffw
    MemberAuthor

    Done as of #478!

  13. edgarrmondragon commented on Jan 5, 2024

    @edgarrmondragon

    Not a big deal, but should the subtask

    • Verify using Sigstore-style bundles with the sigstore verify subcommands

    in the issue description be checked and linked to #478?

  14. woodruffw commented on Jan 5, 2024

    @woodruffw
    MemberAuthor

    Yes, thanks @edgarrmondragon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions