[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A8MMV5WSXZQ42ATZ07J7K1":3,"skill-same:01M7A8MMV5WSXZQ42ATZ07J7K1":111},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":74,"commitSha":75,"skillDirectory":76,"forksCount":14,"repositoryHtmlUrl":77,"repositoryHomepageUrl":6,"ownerHtmlUrl":78,"ownerBlogUrl":6,"ownerDescription":79,"updatedAt":80,"install":81,"resources":94},"01M7A8MMV5WSXZQ42ATZ07J7K1","implementing-sigstore-for-software-signing",null,"Implements Sigstore-based software signing and verification using Cosign keyless signing, Rekor transparency log verification, and Fulcio certificate authority integration to establish cryptographic provenance for container images, binaries, and software artifacts, including OIDC-based identity binding and CI\u002FCD pipeline integration. Use when setting up keyless container\u002Fartifact signing, verifying signatures against the Rekor transparency log, or deploying Sigstore in a supply-chain security workflow.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: implementing-sigstore-for-software-signing\ndescription: 'Implements Sigstore-based software signing and verification using Cosign\n  keyless signing, Rekor transparency log verification, and Fulcio certificate authority\n  integration to establish cryptographic provenance for container images, binaries,\n  and software artifacts, including OIDC-based identity binding and CI\u002FCD pipeline\n  integration. Use when setting up keyless container\u002Fartifact signing, verifying\n  signatures against the Rekor transparency log, or deploying Sigstore in a supply-chain\n  security workflow.\n\n  '\ndomain: cybersecurity\nsubdomain: supply-chain-security\ntags:\n- sigstore\n- cosign\n- rekor\n- fulcio\n- software-signing\n- supply-chain\n- keyless-signing\n- OIDC\n- transparency-log\nversion: 1.0.0\nauthor: mukul975\nlicense: Apache-2.0\nnist_csf:\n- GV.SC-01\n- GV.SC-03\n- GV.SC-06\n- GV.SC-07\nmitre_attack:\n- T1078\n- T1190\n- T1059\n- T1610\n- T1611\nmitre_f3:\n  version: '1.1'\n  tactics:\n  - resource-development\n  - initial-access\n  - stealth\n  techniques:\n  - id: T1195\n    name: Supply Chain Compromise\n    tactic: initial-access\n    source: attack\n  - id: T1608\n    name: Stage Capabilities\n    tactic: resource-development\n    source: attack\n  - id: T1608.006\n    name: 'Stage Capabilities: SEO Poisoning'\n    tactic: resource-development\n    source: attack\n  - id: T1586\n    name: Compromise Accounts\n    tactic: resource-development\n    source: attack\n  - id: T1070\n    name: Indicator Removal\n    tactic: stealth\n    source: attack\n---\n# Implementing Sigstore for Software Signing\n\n## When to Use\n\n- Signing container images and software artifacts without managing long-lived cryptographic keys\n- Establishing verifiable provenance for build outputs in CI\u002FCD pipelines using OIDC identity binding\n- Querying the Rekor transparency log to audit when and by whom an artifact was signed\n- Verifying that container images pulled from registries were signed by authorized identities and issuers\n- Integrating Sigstore verification into Kubernetes admission controllers to enforce signed-image policies\n\n**Do not use** for signing artifacts that require air-gapped or offline signing workflows where OIDC authentication is unavailable, for environments that cannot reach the public Sigstore infrastructure (Fulcio, Rekor) and have no private instance deployed, or as a replacement for traditional PGP\u002FGPG signing where regulatory compliance mandates specific key management procedures.\n\n## Prerequisites\n\n- Cosign CLI v2.4+ installed (`go install github.com\u002Fsigstore\u002Fcosign\u002Fv2\u002Fcmd\u002Fcosign@latest` or binary release)\n- Access to an OIDC identity provider supported by Fulcio (Google, GitHub, Microsoft, or a custom OIDC issuer)\n- Container registry credentials (for signing container images) with push access to store signature objects\n- Python 3.9+ with `sigstore`, `requests`, and `cryptography` packages for the automation agent\n- Network access to `fulcio.sigstore.dev`, `rekor.sigstore.dev`, and `tuf-repo-cdn.sigstore.dev` (or private Sigstore instance URLs)\n\n## Workflow\n\n### Step 1: Install and Configure Cosign\n\nInstall Cosign and verify it can reach the Sigstore infrastructure:\n\n- **Install from binary release**: Download the appropriate binary from the Cosign GitHub releases page and verify its checksum. On Linux: `curl -LO https:\u002F\u002Fgithub.com\u002Fsigstore\u002Fcosign\u002Freleases\u002Flatest\u002Fdownload\u002Fcosign-linux-amd64 && chmod +x cosign-linux-amd64 && sudo mv cosign-linux-amd64 \u002Fusr\u002Flocal\u002Fbin\u002Fcosign`\n- **Verify installation**: Run `cosign version` to confirm the version and check connectivity to Sigstore services with `cosign initialize` which fetches the TUF root of trust\n- **Configure custom infrastructure** (optional): If running a private Sigstore stack, set `--fulcio-url`, `--rekor-url`, and `--oidc-issuer` flags or use environment variables `COSIGN_REKOR_URL` and `COSIGN_FULCIO_URL`\n\n### Step 2: Keyless Signing with Cosign and Fulcio\n\nPerform identity-based signing where Fulcio issues a short-lived certificate bound to your OIDC identity:\n\n- **Sign a container image**: Run `cosign sign \u003CIMAGE_DIGEST>` which triggers an OIDC authentication flow. Cosign generates an ephemeral key pair, obtains a short-lived certificate from Fulcio binding the public key to the OIDC identity, signs the image digest, and records the signing event in Rekor. The private key is destroyed immediately after signing.\n- **Sign a blob (file)**: Run `cosign sign-blob \u003Cfile> --bundle artifact.sigstore.json` to sign arbitrary files. The bundle contains the signature, certificate, timestamp, and Rekor inclusion proof.\n- **Non-interactive signing in CI**: Set `SIGSTORE_ID_TOKEN` environment variable with a valid OIDC token (e.g., from GitHub Actions OIDC or GCP workload identity) to skip the browser-based authentication flow:\n  ```bash\n  export SIGSTORE_ID_TOKEN=$(curl -sH \"Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN\" \\\n    \"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=sigstore\" | jq -r '.value')\n  cosign sign $IMAGE_DIGEST\n  ```\n- **Supported OIDC providers**: Google (`https:\u002F\u002Faccounts.google.com`), GitHub (`https:\u002F\u002Fgithub.com\u002Flogin\u002Foauth`), Microsoft (`https:\u002F\u002Flogin.microsoftonline.com`), GitLab (`https:\u002F\u002Fgitlab.com`), and custom providers registered with a private Fulcio instance\n\n### Step 3: Verify Signed Artifacts\n\nVerify that artifacts were signed by expected identities from expected OIDC issuers:\n\n- **Verify a container image**: Run `cosign verify \u003CIMAGE_URI> --certificate-identity=name@example.com --certificate-oidc-issuer=https:\u002F\u002Faccounts.google.com` to confirm the image was signed by the specified identity. Cosign validates the certificate chain, checks the Rekor inclusion proof, and verifies the signature matches the current image digest.\n- **Verify a signed blob**: Run `cosign verify-blob \u003Cfile> --bundle artifact.sigstore.json --certificate-identity=name@example.com --certificate-oidc-issuer=https:\u002F\u002Faccounts.google.com`\n- **Regex matching for CI identities**: Use `--certificate-identity-regexp` to match CI workflow identities:\n  ```bash\n  cosign verify $IMAGE --certificate-identity-regexp=\"https:\u002F\u002Fgithub.com\u002Fmyorg\u002Fmyrepo\u002F.*\" \\\n    --certificate-oidc-issuer=https:\u002F\u002Ftoken.actions.githubusercontent.com\n  ```\n- **Verification failure modes**: Cosign returns a non-zero exit code on failure. Common failures include certificate identity mismatch, expired certificates without a valid Rekor timestamp, missing Rekor entry, and image digest mismatch (image was modified after signing).\n\n### Step 4: Query the Rekor Transparency Log\n\nSearch and verify entries in the Rekor transparency log to audit signing events:\n\n- **Search by email identity**: Use `rekor-cli search --email user@example.com` to find all signing events for an identity\n- **Search by artifact hash**: Use `rekor-cli search --sha sha256:\u003Chash>` to find signing events for a specific artifact\n- **Retrieve and verify an entry**: Use `rekor-cli get --uuid \u003Centry_uuid>` to retrieve full entry details including the certificate, signature, and artifact hash\n- **Verify log inclusion**: Use `rekor-cli verify --entry-uuid \u003Cuuid>` to verify the entry's inclusion proof against the signed tree head, confirming the entry exists in the append-only log and has not been tampered with\n- **REST API queries**: Query `https:\u002F\u002Frekor.sigstore.dev\u002Fapi\u002Fv1\u002Findex\u002Fretrieve` with POST body `{\"hash\": \"sha256:\u003Chash>\"}` to retrieve entry UUIDs, then fetch full entries from `\u002Fapi\u002Fv1\u002Flog\u002Fentries\u002F\u003Cuuid>`\n- **Monitor for consistency**: Use the rekor-monitor tool or Omniwitness to continuously verify the log remains append-only and entries are never mutated or removed\n\n### Step 5: Integrate into CI\u002FCD Pipelines\n\nEmbed signing and verification into build and deployment pipelines:\n\n- **GitHub Actions**: Use `sigstore\u002Fcosign-installer` action to install Cosign, then sign images using the GitHub OIDC token as the identity. The signing identity will be the workflow URL (e.g., `https:\u002F\u002Fgithub.com\u002Forg\u002Frepo\u002F.github\u002Fworkflows\u002Fbuild.yml@refs\u002Fheads\u002Fmain`).\n- **Kubernetes admission enforcement**: Deploy Sigstore Policy Controller or Kyverno with Cosign verification policies to reject unsigned or incorrectly signed images at admission time\n- **Supply chain metadata**: Use `cosign attest` to attach in-toto attestations (SLSA provenance, SBOM, vulnerability scan results) to images, signed with the same keyless flow, enabling consumers to verify both the artifact and its build metadata\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Keyless Signing** | Identity-based signing that uses short-lived certificates from Fulcio bound to OIDC identities instead of long-lived cryptographic keys, eliminating key management overhead |\n| **Fulcio** | Sigstore's certificate authority that issues short-lived X.509 certificates after verifying OIDC tokens, binding an ephemeral public key to a verified identity |\n| **Rekor** | Sigstore's immutable, append-only transparency log that records signing events with timestamps, enabling auditors to verify when and by whom an artifact was signed |\n| **Cosign** | The primary CLI tool for signing and verifying container images and blobs using the Sigstore infrastructure (Fulcio + Rekor) |\n| **TUF Root of Trust** | The Update Framework distribution mechanism for Sigstore's root CA certificate and Rekor public key, ensuring clients trust the correct Sigstore infrastructure |\n| **OIDC Identity Binding** | The process where Fulcio verifies a user's identity through an OpenID Connect token and binds it to a short-lived signing certificate |\n| **Inclusion Proof** | A cryptographic proof from Rekor demonstrating that a signing event entry exists within the transparency log's Merkle tree |\n\n## Tools & Systems\n\n- **Cosign**: CLI tool for signing containers and blobs, verifying signatures, and attaching attestations using Sigstore keyless signing or traditional key-based signing\n- **Fulcio**: Free root certificate authority for code signing certificates issued based on OIDC identity verification with a validity period of approximately 10 minutes\n- **Rekor**: Transparency log server providing tamper-evident storage of signing metadata, searchable by identity, artifact hash, or public key\n- **Sigstore Policy Controller**: Kubernetes admission webhook that enforces image signing policies by verifying Cosign signatures and attestations before allowing pod creation\n- **rekor-cli**: Command-line client for querying, uploading, and verifying entries in the Rekor transparency log\n\n## Common Scenarios\n\n### Scenario: Securing a Container Image Build Pipeline with Keyless Signing\n\n**Context**: A DevOps team builds container images in GitHub Actions and deploys to a Kubernetes cluster. They need to ensure only images built by their CI pipeline can be deployed, preventing supply chain attacks from compromised registries or unauthorized pushes.\n\n**Approach**:\n1. Add `sigstore\u002Fcosign-installer@v3` to the GitHub Actions workflow and enable OIDC token permissions with `id-token: write`\n2. After building and pushing the image, sign it with `cosign sign $IMAGE_DIGEST` using the GitHub Actions OIDC identity automatically\n3. Deploy Sigstore Policy Controller to the Kubernetes cluster with a ClusterImagePolicy requiring signatures from `--certificate-identity-regexp=https:\u002F\u002Fgithub.com\u002Fmyorg\u002Fmyrepo\u002F.*` and `--certificate-oidc-issuer=https:\u002F\u002Ftoken.actions.githubusercontent.com`\n4. Verify the signing entry appears in Rekor by querying with the image digest hash to confirm the transparency log recorded the event\n5. Test the admission controller by attempting to deploy an unsigned image and confirming it is rejected with a policy violation error\n\n**Pitfalls**:\n- Signing the image tag instead of the digest (`cosign sign myimage:latest` vs `cosign sign myimage@sha256:abc...`) means verification breaks when the tag is updated to point to a different digest\n- Not pinning the `--certificate-oidc-issuer` during verification allows signatures from any OIDC provider to pass, defeating the purpose of identity binding\n- Forgetting to set `id-token: write` permission in GitHub Actions results in OIDC token retrieval failure and signing errors\n- Using `--certificate-identity-regexp=.*` in production verification policies effectively disables identity verification\n\n## Output Format\n\n```\n## Sigstore Signing Verification Report\n\n**Artifact**: ghcr.io\u002Fmyorg\u002Fmyapp@sha256:a1b2c3d4...\n**Verification Status**: PASSED\n\n**Certificate Details**:\n  Subject: https:\u002F\u002Fgithub.com\u002Fmyorg\u002Fmyapp\u002F.github\u002Fworkflows\u002Fbuild.yml@refs\u002Fheads\u002Fmain\n  Issuer: https:\u002F\u002Ftoken.actions.githubusercontent.com\n  Valid From: 2026-03-19T10:00:00Z\n  Valid To: 2026-03-19T10:10:00Z\n\n**Rekor Entry**:\n  UUID: 24296fb24b8ad77a8d52...\n  Log Index: 89234567\n  Integrated Time: 2026-03-19T10:00:05Z\n  Inclusion Proof: VERIFIED (tree size: 92000000, root hash: e4f5a6...)\n\n**Policy Check**: Image signed by authorized CI workflow identity\n```\n","# Implementing Sigstore for Software Signing\n\n## When to Use\n\n- Signing container images and software artifacts without managing long-lived cryptographic keys\n- Establishing verifiable provenance for build outputs in CI\u002FCD pipelines using OIDC identity binding\n- Querying the Rekor transparency log to audit when and by whom an artifact was signed\n- Verifying that container images pulled from registries were signed by authorized identities and issuers\n- Integrating Sigstore verification into Kubernetes admission controllers to enforce signed-image policies\n\n**Do not use** for signing artifacts that require air-gapped or offline signing workflows where OIDC authentication is unavailable, for environments that cannot reach the public Sigstore infrastructure (Fulcio, Rekor) and have no private instance deployed, or as a replacement for traditional PGP\u002FGPG signing where regulatory compliance mandates specific key management procedures.\n\n## Prerequisites\n\n- Cosign CLI v2.4+ installed (`go install github.com\u002Fsigstore\u002Fcosign\u002Fv2\u002Fcmd\u002Fcosign@latest` or binary release)\n- Access to an OIDC identity provider supported by Fulcio (Google, GitHub, Microsoft, or a custom OIDC issuer)\n- Container registry credentials (for signing container images) with push access to store signature objects\n- Python 3.9+ with `sigstore`, `requests`, and `cryptography` packages for the automation agent\n- Network access to `fulcio.sigstore.dev`, `rekor.sigstore.dev`, and `tuf-repo-cdn.sigstore.dev` (or private Sigstore instance URLs)\n\n## Workflow\n\n### Step 1: Install and Configure Cosign\n\nInstall Cosign and verify it can reach the Sigstore infrastructure:\n\n- **Install from binary release**: Download the appropriate binary from the Cosign GitHub releases page and verify its checksum. On Linux: `curl -LO https:\u002F\u002Fgithub.com\u002Fsigstore\u002Fcosign\u002Freleases\u002Flatest\u002Fdownload\u002Fcosign-linux-amd64 && chmod +x cosign-linux-amd64 && sudo mv cosign-linux-amd64 \u002Fusr\u002Flocal\u002Fbin\u002Fcosign`\n- **Verify installation**: Run `cosign version` to confirm the version and check connectivity to Sigstore services with `cosign initialize` which fetches the TUF root of trust\n- **Configure custom infrastructure** (optional): If running a private Sigstore stack, set `--fulcio-url`, `--rekor-url`, and `--oidc-issuer` flags or use environment variables `COSIGN_REKOR_URL` and `COSIGN_FULCIO_URL`\n\n### Step 2: Keyless Signing with Cosign and Fulcio\n\nPerform identity-based signing where Fulcio issues a short-lived certificate bound to your OIDC identity:\n\n- **Sign a container image**: Run `cosign sign \u003CIMAGE_DIGEST>` which triggers an OIDC authentication flow. Cosign generates an ephemeral key pair, obtains a short-lived certificate from Fulcio binding the public key to the OIDC identity, signs the image digest, and records the signing event in Rekor. The private key is destroyed immediately after signing.\n- **Sign a blob (file)**: Run `cosign sign-blob \u003Cfile> --bundle artifact.sigstore.json` to sign arbitrary files. The bundle contains the signature, certificate, timestamp, and Rekor inclusion proof.\n- **Non-interactive signing in CI**: Set `SIGSTORE_ID_TOKEN` environment variable with a valid OIDC token (e.g., from GitHub Actions OIDC or GCP workload identity) to skip the browser-based authentication flow:\n  ```bash\n  export SIGSTORE_ID_TOKEN=$(curl -sH \"Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN\" \\\n    \"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=sigstore\" | jq -r '.value')\n  cosign sign $IMAGE_DIGEST\n  ```\n- **Supported OIDC providers**: Google (`https:\u002F\u002Faccounts.google.com`), GitHub (`https:\u002F\u002Fgithub.com\u002Flogin\u002Foauth`), Microsoft (`https:\u002F\u002Flogin.microsoftonline.com`), GitLab (`https:\u002F\u002Fgitlab.com`), and custom providers registered with a private Fulcio instance\n\n### Step 3: Verify Signed Artifacts\n\nVerify that artifacts were signed by expected identities from expected OIDC issuers:\n\n- **Verify a container image**: Run `cosign verify \u003CIMAGE_URI> --certificate-identity=name@example.com --certificate-oidc-issuer=https:\u002F\u002Faccounts.google.com` to confirm the image was signed by the specified identity. Cosign validates the certificate chain, checks the Rekor inclusion proof, and verifies the signature matches the current image digest.\n- **Verify a signed blob**: Run `cosign verify-blob \u003Cfile> --bundle artifact.sigstore.json --certificate-identity=name@example.com --certificate-oidc-issuer=https:\u002F\u002Faccounts.google.com`\n- **Regex matching for CI identities**: Use `--certificate-identity-regexp` to match CI workflow identities:\n  ```bash\n  cosign verify $IMAGE --certificate-identity-regexp=\"https:\u002F\u002Fgithub.com\u002Fmyorg\u002Fmyrepo\u002F.*\" \\\n    --certificate-oidc-issuer=https:\u002F\u002Ftoken.actions.githubusercontent.com\n  ```\n- **Verification failure modes**: Cosign returns a non-zero exit code on failure. Common failures include certificate identity mismatch, expired certificates without a valid Rekor timestamp, missing Rekor entry, and image digest mismatch (image was modified after signing).\n\n### Step 4: Query the Rekor Transparency Log\n\nSearch and verify entries in the Rekor transparency log to audit signing events:\n\n- **Search by email identity**: Use `rekor-cli search --email user@example.com` to find all signing events for an identity\n- **Search by artifact hash**: Use `rekor-cli search --sha sha256:\u003Chash>` to find signing events for a specific artifact\n- **Retrieve and verify an entry**: Use `rekor-cli get --uuid \u003Centry_uuid>` to retrieve full entry details including the certificate, signature, and artifact hash\n- **Verify log inclusion**: Use `rekor-cli verify --entry-uuid \u003Cuuid>` to verify the entry's inclusion proof against the signed tree head, confirming the entry exists in the append-only log and has not been tampered with\n- **REST API queries**: Query `https:\u002F\u002Frekor.sigstore.dev\u002Fapi\u002Fv1\u002Findex\u002Fretrieve` with POST body `{\"hash\": \"sha256:\u003Chash>\"}` to retrieve entry UUIDs, then fetch full entries from `\u002Fapi\u002Fv1\u002Flog\u002Fentries\u002F\u003Cuuid>`\n- **Monitor for consistency**: Use the rekor-monitor tool or Omniwitness to continuously verify the log remains append-only and entries are never mutated or removed\n\n### Step 5: Integrate into CI\u002FCD Pipelines\n\nEmbed signing and verification into build and deployment pipelines:\n\n- **GitHub Actions**: Use `sigstore\u002Fcosign-installer` action to install Cosign, then sign images using the GitHub OIDC token as the identity. The signing identity will be the workflow URL (e.g., `https:\u002F\u002Fgithub.com\u002Forg\u002Frepo\u002F.github\u002Fworkflows\u002Fbuild.yml@refs\u002Fheads\u002Fmain`).\n- **Kubernetes admission enforcement**: Deploy Sigstore Policy Controller or Kyverno with Cosign verification policies to reject unsigned or incorrectly signed images at admission time\n- **Supply chain metadata**: Use `cosign attest` to attach in-toto attestations (SLSA provenance, SBOM, vulnerability scan results) to images, signed with the same keyless flow, enabling consumers to verify both the artifact and its build metadata\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **Keyless Signing** | Identity-based signing that uses short-lived certificates from Fulcio bound to OIDC identities instead of long-lived cryptographic keys, eliminating key management overhead |\n| **Fulcio** | Sigstore's certificate authority that issues short-lived X.509 certificates after verifying OIDC tokens, binding an ephemeral public key to a verified identity |\n| **Rekor** | Sigstore's immutable, append-only transparency log that records signing events with timestamps, enabling auditors to verify when and by whom an artifact was signed |\n| **Cosign** | The primary CLI tool for signing and verifying container images and blobs using the Sigstore infrastructure (Fulcio + Rekor) |\n| **TUF Root of Trust** | The Update Framework distribution mechanism for Sigstore's root CA certificate and Rekor public key, ensuring clients trust the correct Sigstore infrastructure |\n| **OIDC Identity Binding** | The process where Fulcio verifies a user's identity through an OpenID Connect token and binds it to a short-lived signing certificate |\n| **Inclusion Proof** | A cryptographic proof from Rekor demonstrating that a signing event entry exists within the transparency log's Merkle tree |\n\n## Tools & Systems\n\n- **Cosign**: CLI tool for signing containers and blobs, verifying signatures, and attaching attestations using Sigstore keyless signing or traditional key-based signing\n- **Fulcio**: Free root certificate authority for code signing certificates issued based on OIDC identity verification with a validity period of approximately 10 minutes\n- **Rekor**: Transparency log server providing tamper-evident storage of signing metadata, searchable by identity, artifact hash, or public key\n- **Sigstore Policy Controller**: Kubernetes admission webhook that enforces image signing policies by verifying Cosign signatures and attestations before allowing pod creation\n- **rekor-cli**: Command-line client for querying, uploading, and verifying entries in the Rekor transparency log\n\n## Common Scenarios\n\n### Scenario: Securing a Container Image Build Pipeline with Keyless Signing\n\n**Context**: A DevOps team builds container images in GitHub Actions and deploys to a Kubernetes cluster. They need to ensure only images built by their CI pipeline can be deployed, preventing supply chain attacks from compromised registries or unauthorized pushes.\n\n**Approach**:\n1. Add `sigstore\u002Fcosign-installer@v3` to the GitHub Actions workflow and enable OIDC token permissions with `id-token: write`\n2. After building and pushing the image, sign it with `cosign sign $IMAGE_DIGEST` using the GitHub Actions OIDC identity automatically\n3. Deploy Sigstore Policy Controller to the Kubernetes cluster with a ClusterImagePolicy requiring signatures from `--certificate-identity-regexp=https:\u002F\u002Fgithub.com\u002Fmyorg\u002Fmyrepo\u002F.*` and `--certificate-oidc-issuer=https:\u002F\u002Ftoken.actions.githubusercontent.com`\n4. Verify the signing entry appears in Rekor by querying with the image digest hash to confirm the transparency log recorded the event\n5. Test the admission controller by attempting to deploy an unsigned image and confirming it is rejected with a policy violation error\n\n**Pitfalls**:\n- Signing the image tag instead of the digest (`cosign sign myimage:latest` vs `cosign sign myimage@sha256:abc...`) means verification breaks when the tag is updated to point to a different digest\n- Not pinning the `--certificate-oidc-issuer` during verification allows signatures from any OIDC provider to pass, defeating the purpose of identity binding\n- Forgetting to set `id-token: write` permission in GitHub Actions results in OIDC token retrieval failure and signing errors\n- Using `--certificate-identity-regexp=.*` in production verification policies effectively disables identity verification\n\n## Output Format\n\n```\n## Sigstore Signing Verification Report\n\n**Artifact**: ghcr.io\u002Fmyorg\u002Fmyapp@sha256:a1b2c3d4...\n**Verification Status**: PASSED\n\n**Certificate Details**:\n  Subject: https:\u002F\u002Fgithub.com\u002Fmyorg\u002Fmyapp\u002F.github\u002Fworkflows\u002Fbuild.yml@refs\u002Fheads\u002Fmain\n  Issuer: https:\u002F\u002Ftoken.actions.githubusercontent.com\n  Valid From: 2026-03-19T10:00:00Z\n  Valid To: 2026-03-19T10:10:00Z\n\n**Rekor Entry**:\n  UUID: 24296fb24b8ad77a8d52...\n  Log Index: 89234567\n  Integrated Time: 2026-03-19T10:00:05Z\n  Inclusion Proof: VERIFIED (tree size: 92000000, root hash: e4f5a6...)\n\n**Policy Check**: Image signed by authorized CI workflow identity\n```\n",{"name":5,"tags":25,"author":35,"domain":36,"license":15,"version":37,"mitre_f3":38,"nist_csf":61,"subdomain":66,"description":67,"mitre_attack":68},[26,27,28,29,30,31,32,33,34],"sigstore","cosign","rekor","fulcio","software-signing","supply-chain","keyless-signing","OIDC","transparency-log","mukul975","cybersecurity","1.0.0",{"tactics":39,"version":43,"techniques":44},[40,41,42],"resource-development","initial-access","stealth","1.1",[45,49,52,55,58],{"id":46,"name":47,"source":48,"tactic":41},"T1195","Supply Chain Compromise","attack",{"id":50,"name":51,"source":48,"tactic":40},"T1608","Stage Capabilities",{"id":53,"name":54,"source":48,"tactic":40},"T1608.006","Stage Capabilities: SEO Poisoning",{"id":56,"name":57,"source":48,"tactic":40},"T1586","Compromise Accounts",{"id":59,"name":60,"source":48,"tactic":42},"T1070","Indicator Removal",[62,63,64,65],"GV.SC-01","GV.SC-03","GV.SC-06","GV.SC-07","supply-chain-security","Implements Sigstore-based software signing and verification using Cosign keyless signing, Rekor transparency log verification, and Fulcio certificate authority integration to establish cryptographic provenance for container images, binaries, and software artifacts, including OIDC-based identity binding and CI\u002FCD pipeline integration. Use when setting up keyless container\u002Fartifact signing, verifying signatures against the Rekor transparency log, or deploying Sigstore in a supply-chain security workflow.\n",[69,70,71,72,73],"T1078","T1190","T1059","T1610","T1611","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fimplementing-sigstore-for-software-signing","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":82,"prompt":92,"zipAvailable":93},[83,86,89],{"tool":84,"command":85},"npx","npx skills add NeelakshSaxena\u002FVayu --skill implementing-sigstore-for-software-signing",{"tool":87,"command":88},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill implementing-sigstore-for-software-signing",{"tool":90,"command":91},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill implementing-sigstore-for-software-signing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002FSKILL.md",true,[95,99,105],{"path":96,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":100,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fapi-reference.md","REFERENCE","参考文档",5257,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002Freferences\u002Fapi-reference.md",{"path":106,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":109,"sourceHtmlUrl":110},"scripts\u002Fagent.py","SCRIPT","脚本",18122,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002Fscripts\u002Fagent.py",[112,119,126,133,140,147],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]