add PoC for signed charts - #39
Open
David-Development wants to merge 1 commit into
Open
Conversation
Member
Author
|
@seb-kw @timbastin Das hier wird benötigt falls wir bei Artifactshub die Signierungs-Badge bekommen wollen. Erstmal nur ein PoC (durch Claude). Ob wir wirklich alles brauchen sei dahingestellt. Lässt sich auch sicher deutlich reduzieren (nur signierung ohne validierung etc. etc.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sign chart packages (provenance files)
Releases now ship an OpenPGP-signed
.tgz.provnext to every chart package, sohelm verifyworks and Artifact Hub shows the "signed" badge (it probes<chart-url>.provfor HTTP repos and the provenance layer for OCI ones).Changes
GPG_KEYRING_BASE64,packages with
--sign, verifies the result against the committed public key,and attaches the
.provto the GitHub release.helm pushpicks it up as anOCI provenance layer automatically. The
artifacthub.io/signKeyannotation isinjected at package time from the key actually used, so it cannot drift.
*.tgz.provalongside the packages, verifies everysigned package before deploying, and publishes
signing-key.ascnext toindex.yaml.artifacthub.io/categorywas a top-level key, which Helm silentlydrops; moved under
annotations:so it reaches Artifact Hub.DISTRIBUTION.md(key generation, secrets, rotation).Required before the next tag
A tagged release now fails if signing material is missing (pushes to
mainonlywarn):
.github/pages/signing-key.asc.GPG_KEYRING_BASE64andGPG_PASSPHRASEsecrets — seeDISTRIBUTION.md→ "Chart signing".Charts released before this change stay unsigned and are skipped during verification.
.gitlab-ci.ymlis unchanged; the GitLab pipeline is a mirror and is not indexed byArtifact Hub.