Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix incorrect signing key for sbom signature and wrong public key in release artifacts #2296

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

daniel-weisse
Copy link
Member

Context

Since release v2.9.0, our releases incorrectly use our development cosign key to sign the sboms for that release, and also include the public part of that development cosign key in the release.

Proposed change(s)

Update the release-cli workflow to not rely on branch naming, but on workflow inputs for selecting the correct key.

  • This was already done for signing the CLI binaries

Additional info

Other release artifacts (CLI binaries) are not affected, as they were correctly signed using our production key

Checklist

  • Update docs
  • Add labels (e.g., for changelog category)
  • Is PR title adequate for changelog?
  • Link to Milestone

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
@daniel-weisse daniel-weisse added the bug fix Fixing a bug label Sep 1, 2023
@daniel-weisse daniel-weisse added this to the v2.11.0 milestone Sep 1, 2023
Copy link
Member

@3u13r 3u13r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@daniel-weisse daniel-weisse changed the title ci: fix broken cosign key selection for artifact signing ci: fix incorrect signing key for sbom signature and wrong public key in release artifacts Sep 1, 2023
@daniel-weisse daniel-weisse merged commit f3218f4 into main Sep 1, 2023
6 checks passed
@daniel-weisse daniel-weisse deleted the fix/ci/release-sbom-signing branch September 1, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants