feat(lab8): cosign sign + SBOM/provenance attestations + blob signing#1409
Open
ashuno wants to merge 1 commit into
Open
feat(lab8): cosign sign + SBOM/provenance attestations + blob signing#1409ashuno wants to merge 1 commit into
ashuno wants to merge 1 commit into
Conversation
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.
Summary
Lab 8 β Supply Chain Security: Cosign keyed signing of a digest-pinned Juice Shop image in a local OCI registry, CycloneDX SBOM + SLSA provenance attestations, and blob signing (Codecov 2021 mitigation).
localhost:5000; Juice Shop v20.0.0 pushed and digest captured (localhost:5000/juice-shop@sha256:8c76bce9...); Cosign keypair generated; image signed and verified; Alpine re-tag tamper demo fails (no signatures found); original digest still verifies.cosign attest --type cyclonedx; component count matches source (3069, empty diff); minimal SLSA provenance v0.2 predicate attached and verified (builder.id,buildType).cosign sign-blobonmy-tool.tar.gz;cosign verify-blobβVerified OK; tampered blob fails (invalid signature when validating ASN.1 encoded signature)..pre-commit-config.yaml+.gitignoreincluded; gitleaks blockscosign.keyon forcedgit add -f; onlycosign.pubcommitted.Checklist