Skip to content

Conversation

@p5
Copy link

@p5 p5 commented Dec 24, 2025

Fixes #388

This is a very early stage implementation of the new sigstore bundle format verification for use in podman, skopeo and co.

Cosign v3 was released a few months ago with a change to the default format they use for signatures. The new format is not compatible with this library, and therefore verification fails on any image pushed using the default settings in cosign v3.

This does NOT implement pushing new signatures - purely reading and verifying.


I expect to iterate over this PR in draft for a while. Just raised this here for some early feedback. Fulcio is completely new to me and have not yet been able to test this use-case, yet.

Test cases were pretty heavily implemented by Claude Code with close guidance from myself.

Assisted by: Claude Opus 4.5 via Cursor

@p5 p5 changed the title sigstore-bundle: add sigstore bundle media type consts and helpers sigstore-bundle: add sigstore bundle image verification Dec 24, 2025
@github-actions github-actions bot added the image Related to "image" package label Dec 24, 2025
podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Dec 24, 2025
@podmanbot
Copy link

✅ A new PR has been created in buildah to vendor these changes: containers/buildah#6613

@packit-as-a-service
Copy link

Packit jobs failed. @containers/packit-build please check.

@p5 p5 force-pushed the dev/robertsturla/sigstore-bundle-verification branch from a285903 to 1f0c308 Compare December 24, 2025 03:29
podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Dec 24, 2025
@p5 p5 force-pushed the dev/robertsturla/sigstore-bundle-verification branch from 1f0c308 to 98629c5 Compare January 2, 2026 10:38
@github-actions github-actions bot added storage Related to "storage" package common Related to "common" package labels Jan 2, 2026
@p5 p5 force-pushed the dev/robertsturla/sigstore-bundle-verification branch 8 times, most recently from 374a72c to 2f9c022 Compare January 2, 2026 11:55
p5 added 2 commits January 2, 2026 12:09
Update the minimum Go version requirement to 1.25.0 in go.work and
image/go.mod to support sigstore dependencies that require Go 1.25.0.

Signed-off-by: Robert Sturla <rsturla@redhat.com>
Signed-off-by: Robert Sturla <rsturla@redhat.com>
@p5 p5 force-pushed the dev/robertsturla/sigstore-bundle-verification branch from 2f9c022 to 07102dd Compare January 2, 2026 12:10
p5 added 2 commits January 2, 2026 13:15
Signed-off-by: Robert Sturla <rsturla@redhat.com>
Signed-off-by: Robert Sturla <rsturla@redhat.com>
@p5 p5 force-pushed the dev/robertsturla/sigstore-bundle-verification branch from 07102dd to 7dd6b21 Compare January 2, 2026 13:16
p5 added 2 commits January 2, 2026 13:35
…atures

Signed-off-by: Robert Sturla <rsturla@redhat.com>
Signed-off-by: Robert Sturla <rsturla@redhat.com>
@p5 p5 force-pushed the dev/robertsturla/sigstore-bundle-verification branch from 7dd6b21 to b5c927b Compare January 2, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to "common" package image Related to "image" package storage Related to "storage" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails to verify signatures for Cosign v3 bundle format

2 participants