Every Stolonic release image is signed with Cosign and carries a signed SBOM and a signed vulnerability report. Verify them before you install: it proves the image came from Stolonic, unmodified, with a known dependency tree and a known CVE state.
The whole chain rests on one value: the SHA-256 of cosign.pub. Take it from an independent channel
— the trust anchor page or a signed release announcement from
security@stolonic.com — before you run any verify command.
cosign.pubverify-release.sh.
Contact security@stolonic.com and quote both values.# Download the release files with the release token Stolonic gave you
oras login stolonicrelease.azurecr.io -u cust-YOUR_ID
oras pull stolonicrelease.azurecr.io/release/stolonic/release-files:<version>
# -> release-manifest.json(.sig), cosign.pub, verify-release.sh, verify-bundle.sh
shasum -a 256 cosign.pub # must equal the trust anchor above
chmod +x verify-release.sh
./verify-release.sh <version> --registry stolonicrelease.azurecr.io/release \
--pubkey cosign.pub \
--expected-pubkey-sha 9651b1ac12e4433e23f5cf66be9e73ab2c754d0104cf67920070be59165701b2
The script checks, in order: the trust anchor, the signature on the release manifest, that the manifest names the same key, and then for every image its Cosign signature, both SBOM attestations, the vulnerability attestation and that the registry digest matches the manifest. Any non-zero exit means: stop installing. The last line says which check failed.
Cosign v2.2.0 or newer (cosign version). Install with brew install cosign on macOS,
or download the binary from the Sigstore releases. Stolonic signs and
verifies with two different Cosign versions on purpose, so a bug in one version cannot approve its own output.
--insecure-ignore-tlog is correct hereStolonic uses keyed signing: the signature itself proves it was made with the private key, and your copy of
cosign.pub is the anchor. The flag only says "do not require an entry in Sigstore's public transparency log". Keyed
signing lets air-gapped installs verify without reaching sigstore.dev, and keeps your releases out of a public log.
# On a connected machine: pull the release files and the air-gap bundle
oras pull stolonicrelease.azurecr.io/release/stolonic/release-files:<version>
oras pull stolonicrelease.azurecr.io/release/stolonic/airgap-bundle:<version>-amd64
shasum -a 256 cosign.pub # compare with the trust anchor
# Inside the air gap: load the images into your registry mirror, then verify against it
skopeo copy oci-archive:backend-<version>.tar docker://your-mirror.local/stolonic/backend:<version>
./verify-release.sh <version> --registry your-mirror.local \
--pubkey cosign.pub --manifest release-manifest.json --manifest-sig release-manifest.json.sig \
--expected-pubkey-sha 9651b1ac12e4433e23f5cf66be9e73ab2c754d0104cf67920070be59165701b2
The vulnerability report is the full list — every severity, fixable and unfixable — so you can apply your own policy.
cosign download attestation --predicate-type spdxjson \
stolonicrelease.azurecr.io/release/stolonic/backend:<version> \
| jq -r '.payload | @base64d | fromjson | .predicate' > backend-spdx.json
cosign download attestation --predicate-type vuln \
stolonicrelease.azurecr.io/release/stolonic/backend:<version> \
| jq -r '.payload | @base64d | fromjson | .predicate' > backend-trivy.json
Before deploying an agent on the shared runtime image, your worker resolves the tag to its digest, reads the Cosign signature
stored beside it, checks that the signature names exactly that digest and verifies it with the Stolonic key built into the worker.
In required mode it then runs exactly that digest. Set the mode with STOLONIC_IMAGE_VERIFICATION or
image_verification: in the worker config:
If you copy images into your own registry, copy the signature tags too (cosign copy). Images your worker builds
itself (tools, custom agents) are trusted by their local build, not by this check.
The Helm chart ships an opt-in Kyverno policy that admits only verified Stolonic images and pins them to their digest:
helm upgrade ... --set imageVerification.kyverno.enabled=true \
--set imageVerification.kyverno.validationFailureAction=Audit # observe first, then Enforce
A Sigstore policy-controller ClusterImagePolicy with the contents of cosign.pub works the same way.
When the signing key rotates, the trust anchor page publishes the new fingerprint within 24 hours and keeps the previous one with its rotation date, so older releases stay verifiable. Each release manifest names the key that signed it.