Skip to content

feat: embed Rekor bundle in OCI attestation layer annotations#1610

Open
ab-ghosh wants to merge 1 commit intotektoncd:mainfrom
ab-ghosh:feat/embed-rekor-bundle-oci-attestation
Open

feat: embed Rekor bundle in OCI attestation layer annotations#1610
ab-ghosh wants to merge 1 commit intotektoncd:mainfrom
ab-ghosh:feat/embed-rekor-bundle-oci-attestation

Conversation

@ab-ghosh
Copy link
Copy Markdown
Member

@ab-ghosh ab-ghosh commented Apr 3, 2026

Changes

This PR adds support for embedding the Rekor transparency log bundle (dev.sigstore.cosign/bundle) in OCI attestation layer annotations when transparency.enabled=true. This enables offline signature verification of attestations signed by Tekton Chains using keyless (Fulcio) signing, bringing Chains' attestation format in line with what cosign attest produces.

Fixes #1598

/kind feature

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs included if any changes are user facing
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

Embed Rekor bundle in OCI attestation layer annotations to enable offline verification of keyless-signed attestations.

  When transparency.enabled=true, the Rekor bundle (SignedEntryTimestamp,
  integratedTime, logIndex, logID) is now embedded as a
  dev.sigstore.cosign/bundle annotation on the OCI attestation layer.
  This enables offline signature verification of attestations signed
  by Tekton Chains using keyless (Fulcio) signing.

  Previously, the Rekor upload happened after storage, so the bundle
  was not available when writing attestations to OCI registries. The
  upload is now performed before storage so the bundle can be passed
  through to the OCI backend.

  Fixes tektoncd#1598

Signed-off-by: ab-ghosh <abghosh@redhat.com>
@tekton-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign jkhelil after the PR has been reviewed.
You can assign the PR to them by writing /assign @jkhelil in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 3, 2026
@tekton-robot tekton-robot requested review from jkhelil and lcarva April 3, 2026 09:01
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature Categorizes issue or PR as related to a new feature. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Embed Rekor bundle in OCI attestation layer annotations when transparency.enabled=true

2 participants