Skip to content

Feature/lab8#1

Open
PollyS6 wants to merge 2 commits into
mainfrom
feature/lab8
Open

Feature/lab8#1
PollyS6 wants to merge 2 commits into
mainfrom
feature/lab8

Conversation

@PollyS6

@PollyS6 PollyS6 commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Goal

cosign sign + SBOM/provenance attestations + blob signing

Changes

-Added signed Juice Shop image to local registry (localhost:5000/juice-shop:v20.0.0)
-Created cosign key pair (cosign.key and cosign.pub) in labs/lab8/keys/
-Added image digest to labs/lab8/results/juice-shop-digest.txt
-Created SBOM attestation using CycloneDX for Juice Shop image
-Created SLSA provenance attestation with custom builder metadata
-Added tampered image demo (alpine:3.20 tagged as juice-shop:v20.0.0-tampered)

Testing

  • Commands: export DIGEST="localhost:5000/juice-shop@sha256:8c76bce948965bcb2ad33c24a659d58f307d679ff48ec253a3d29138329f3c0d"
    COSIGN_PASSWORD="KEYPAIR" cosign sign --key labs/lab8/keys/cosign.key --yes "$DIGEST"
  • Observed output:Signing artifact... - Pushing signature to: localhost:5000/juice-shop

Artifacts & Screenshots

Checklist

  • Title is clear (feat(labN): style)
  • No secrets/large temp files committed
  • Submission file at submissions/labN.md exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant