Skip to content

Conversation

@ananos
Copy link
Contributor

@ananos ananos commented Oct 27, 2025

It seems that cosign has moved to a new format by default (in v3.x) so this breaks the way harbor translates the signature. Until this is fixed, we can still use the updated cosign binary but we need to keep the old format:

goharbor/harbor#22401 (comment)

@ananos ananos added ok-to-test CI Related to testing labels Oct 27, 2025
@netlify
Copy link

netlify bot commented Oct 27, 2025

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 6cb186e
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/690b1b5a062c0c0008cf0316

@ananos
Copy link
Contributor Author

ananos commented Oct 27, 2025

seems to work fine with ghcr.io: https://github.com/urunc-dev/urunc/actions/runs/18833170781

verification for arm64 & the manifest:

$ ~/.cosign/cosign verify ghcr.io/urunc-dev/urunc/urunc-deploy@sha256:d0b3e741c83f371cb698defbc813afd38055722d3cc552fd831f36391b9bf87e --certificate-github-workflow-repository urunc-dev/urunc --certificate-identity-regexp "https://github.com/urunc-dev/urunc/.github/workflows/build-latest.yml.*" --certificate-oidc-issuer "https://token.actions.githu
busercontent.com"

Verification for ghcr.io/urunc-dev/urunc/urunc-deploy@sha256:d0b3e741c83f371cb698defbc813afd38055722d3cc552fd831f36391b9bf87e --
The following checks were performed on each of these signatures:
  - The cosign claims were validated
  - Existence of the claims in the transparency log was verified offline
  - The code-signing certificate was verified using trusted certificate authority certificates

[{"critical":{"identity":{"docker-reference":"ghcr.io/urunc-dev/urunc/urunc-deploy@sha256:d0b3e741c83f371cb698defbc813afd38055722d3cc552fd831f36391b9bf87e"},"image":{"docker-manifest-digest":"sha256:d0b3e741c83f371cb698defbc813afd38055722d3cc552fd831f36391b9bf87e"},"type":"https://sigstore.dev/cosign/sign/v1"},"optional":null}]


$ ~/.cosign/cosign verify ghcr.io/urunc-dev/urunc/urunc-deploy@sha256:6930c8e12e6fa1c527162213e0ce2f
69952ada441360751913d37177e673f6e5 --certificate-github-workflow-repository urunc-dev/urunc --certificate-identity-regexp "https://github.com/urunc-dev/urunc/.github/workflows/build-latest.yml.*" --certificate-oidc-issuer "https://token.actions.githu
busercontent.com"

Verification for ghcr.io/urunc-dev/urunc/urunc-deploy@sha256:6930c8e12e6fa1c527162213e0ce2f69952ada441360751913d37177e673f6e5 --
The following checks were performed on each of these signatures:
  - The cosign claims were validated
  - Existence of the claims in the transparency log was verified offline
  - The code-signing certificate was verified using trusted certificate authority certificates

[{"critical":{"identity":{"docker-reference":"ghcr.io/urunc-dev/urunc/urunc-deploy@sha256:6930c8e12e6fa1c527162213e0ce2f69952ada441360751913d37177e673f6e5"},"image":{"docker-manifest-digest":"sha256:6930c8e12e6fa1c527162213e0ce2f69952ada441360751913d37177e673f6e5"},"type":"https://sigstore.dev/cosign/sign/v1"},"optional":null}]

It seems that cosign has moved to a new format by default (in v3.x).
Since we are not using harbor, but ghcr.io, it seems we can update to
v3.x.

Signed-off-by: Anastassios Nanos <ananos@nubificus.co.uk>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2025

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

@github-actions github-actions bot added the Stale label Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Related to testing ok-to-test Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants