[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GYRVDK85XVF7AQ834AYGGC":3,"skill-same:01M6GYRVDK85XVF7AQ834AYGGC":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":61,"install":62,"resources":75},"01M6GYRVDK85XVF7AQ834AYGGC","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. The practitioner configures OIDC-based identity binding, verifies signing events against the Rekor transparency log, and integrates signing workflows into CI\u002FCD pipelines. Activates for requests involving software supply chain signing, keyless container signing, Sigstore deployment, or artifact provenance verification.","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"for","implementing","signing","sigstore","implementing sigstore for software signing","software","log","CI\u002FCD","chain","transparency","artifact","images","security","certificate","supply-chain","ci","verification","identity","workflows","cybersecurity","2026-11-10 10:12:30",false,"---\nname: implementing-sigstore-for-software-signing\ndescription: >\n  Implements Sigstore-based software signing and verification using Cosign keyless signing,\n  Rekor transparency log verification, and Fulcio certificate authority integration to establish\n  cryptographic provenance for container images, binaries, and software artifacts. The practitioner\n  configures OIDC-based identity binding, verifies signing events against the Rekor transparency\n  log, and integrates signing workflows into CI\u002FCD pipelines. Activates for requests involving\n  software supply chain signing, keyless container signing, Sigstore deployment, or artifact\n  provenance verification.\ndomain: cybersecurity\nsubdomain: supply-chain-security\ntags: [sigstore, cosign, rekor, fulcio, software-signing, supply-chain, keyless-signing, OIDC, transparency-log]\nversion: 1.0.0\nauthor: mukul975\nlicense: Apache-2.0\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":43,"author":51,"domain":37,"license":14,"version":52,"subdomain":53,"description":54},[21,44,45,46,47,32,48,49,50],"cosign","rekor","fulcio","software-signing","keyless-signing","OIDC","transparency-log","mukul975","1.0.0","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. The practitioner configures OIDC-based identity binding, verifies signing events against the Rekor transparency log, and integrates signing workflows into CI\u002FCD pipelines. Activates for requests involving software supply chain signing, keyless container signing, Sigstore deployment, or artifact provenance verification.\n","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-sigstore-for-software-signing",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add micsapp\u002Fmicstec-skills --skill implementing-sigstore-for-software-signing",{"tool":68,"command":69},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill implementing-sigstore-for-software-signing",{"tool":71,"command":72},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill implementing-sigstore-for-software-signing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002FSKILL.md",true,[76,81,87],{"path":77,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002FLICENSE",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fapi-reference.md","REFERENCE","参考文档",5257,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002Freferences\u002Fapi-reference.md",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Fagent.py","SCRIPT","脚本",18122,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-sigstore-for-software-signing\u002Fscripts\u002Fagent.py",[94,121,139,158,175,200],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[],[102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,18],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[],[128,129,36,130,103,131,132,133,134,33,135,136,111,112,118,137,138,119,25,19],"deployment","apiops deployment","azure devops","infrastructure","code","infrastructure as code","actions","github actions","github-actions","as","guides",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[],[146,147,148,30,103,106,111,112,149,150,151,152,153,154,155,119,156,157,19,18],"policy","authoring","apim policy authoring","access","use","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[],[165,30,166,111,152,167,103,128,168,34,169,170,112,171,119,172,173,174,120,18],"review","security review","api security review","benchmark","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[182,183,184,36,185,186,187,188,111,189,190,191,192,193,194,195,196,197,198,199],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[202,207,208,209,210,211,212,150,213,214],"npm","js","calculate","node","math","user","compute","errors"]