The installer and camy update
already verify every download over TLS against a SHA-256 checksum from the
release's signed manifest before anything is installed. This page is for
going further: checking a release's signed manifest yourself, reading its
SBOM, and knowing exactly what is inside a release tarball.
| File | What it is | Where |
|---|---|---|
camy_<version>_<os>_<arch>.tar.gz |
One platform's tarball: the camy binary at its root, README.md, and, when the release ships them, completions/ and manpages/ directories. |
Both for macOS and Linux on arm64 and amd64; the channel only for the rest, from 1.0.7 |
camy_<version>_<os>_<arch>.tar.gz.sbom.cdx.json |
A CycloneDX SBOM for that tarball. | Both for macOS and Linux on arm64 and amd64; the channel only for the rest, from 1.0.7 |
SHA256SUMS-<version> |
That release's own checksum manifest, under a version-scoped name so it is never overwritten. The signatures cover this file. | Both |
SHA256SUMS-<version>.sig |
Detached cosign signature for that manifest. | Both |
SHA256SUMS-<version>.pem |
The certificate that signature was made with. | Both |
SHA256SUMS-<version>.minisig |
minisign signature for that manifest. | Both |
camy_<version>.intoto.jsonl |
SLSA build provenance covering every tarball, from 1.0.1 on (four through 1.0.6, eleven from 1.0.7), and the Camy.app zip, from 1.0.3 on. | Both |
Camy_<version>_darwin.zip |
Camy.app, the notarized Mac application, with a .sha256 sidecar, from 1.0.2 on. |
Both |
Camy_<version>_darwin.zip.sig |
Detached cosign signature for the zip, from 1.0.3 on. | Both |
Camy_<version>_darwin.zip.pem |
The certificate that signature was made with. | Both |
Camy_<version>_darwin.zip.minisig |
minisign signature for the zip, from 1.0.3 on. | Both |
SHA256SUMS |
A merged, cumulative checksum index spanning every published version. This is what the installer and camy update check downloads against. |
Channel only |
VERSION |
The current version as a plain-text string — what the installer and camy update read to find the latest release. |
Channel only |
The two checksum names serve different purposes. SHA256SUMS is convenient:
one file, works with any release, grows with every version. Because its bytes
change with every release, it is never the file a signature covers.
SHA256SUMS-<version> is the exact set of bytes a release's signature was
computed over, scoped to that release alone, which is what makes it
verifiable with cosign below.
- The GitHub Release for that tag, at https://github.com/trycamy/cli/releases, as downloadable assets.
- The release channel,
https://dl.camy.sh/stable/, which serves those same files plus the mergedSHA256SUMSandVERSION.
The GitHub Release is created by this repository's release-mirror workflow: it downloads a version from the channel, runs exactly the checks described below, and uploads the same files. The channel is the origin of every asset.
Pick whichever is easier to script against. The tarballs and SBOMs are byte-identical in both.
From 1.0.7 the GitHub Release carries the tarballs and SBOMs for macOS and Linux on arm64 and amd64. The tarballs for FreeBSD and for Linux on 386, 32-bit ARM, ppc64le, s390x and riscv64, and their SBOMs, are on the release channel only. The checksum manifest and the provenance name all eleven.
Download a tarball and SHA256SUMS from either location, then confirm the
tarball's hash matches the line for its filename:
shasum -a 256 -c <(grep camy_1.0.0_darwin_arm64.tar.gz SHA256SUMS)On Linux, sha256sum is the equivalent:
sha256sum -c <(grep camy_1.0.0_darwin_arm64.tar.gz SHA256SUMS)A mismatch, or no matching line at all, means don't run the binary. Re-download from a trusted network, or verify the signed manifest below to rule out a compromised mirror.
A checksum proves a file was not corrupted in transit. It does not prove who built it. For that, verify the version-scoped manifest with cosign:
cosign verify-blob \
--certificate SHA256SUMS-1.0.0.pem \
--signature SHA256SUMS-1.0.0.sig \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp '^https://github\.com/CamyAI/camy-cli/\.github/workflows/release\.yml@refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$' \
SHA256SUMS-1.0.0Download the manifest, its signature, and its certificate from the release
channel first — there they are SHA256SUMS-1.0.0, SHA256SUMS-1.0.0.sig,
and SHA256SUMS-1.0.0.pem.
Verification is keyless: it checks the signature against GitHub Actions' OIDC issuer and against an identity you pin yourself. Pin the identity, never read it out of the certificate you are checking — that proves nothing more than that some GitHub Actions workflow signed the file.
The certificate names the workflow that signed the manifest. camy is built and signed by the release workflow of the CLI's source repository, not by this one, so the identity to pin is that workflow's path; the regexp above matches it for any release tag. To see the identity a certificate actually carries:
cosign writes the certificate base64-wrapped, so decode it before reading it:
base64 -d < SHA256SUMS-1.0.0.pem | openssl x509 -noout -text | grep -A1 'Subject Alternative Name'A successful verification confirms that SHA256SUMS-1.0.0 was signed by a
workflow matching that identity, through GitHub Actions' OIDC issuer, using a
short-lived certificate issued at signing time. There is no long-lived
private key to leak.
Once the manifest itself is trusted, check your tarball's hash against it:
grep camy_1.0.0_darwin_arm64.tar.gz SHA256SUMS-1.0.0
shasum -a 256 camy_1.0.0_darwin_arm64.tar.gzCompare the two hashes by hand, or point shasum -c at the grep'd line as
shown earlier.
A minisign signature, SHA256SUMS-1.0.0.minisig, is also published, for
readers who prefer a single pinned key to a certificate chain. The public
key is:
RWT7bpmBcMfiVQvo6BbIeVDh7f9B8WbapvOEBzs7TxhSkLsjlySfxXG6
Record it somewhere you trust; it changes only if the signing key is
rotated, which this document will say. Verify with
minisign (the minisign
package on Homebrew and most distributions):
minisign -Vm SHA256SUMS-1.0.0 -x SHA256SUMS-1.0.0.minisig \
-P RWT7bpmBcMfiVQvo6BbIeVDh7f9B8WbapvOEBzs7TxhSkLsjlySfxXG6A good result prints Signature and comment signature verified and a
trusted comment carrying the signing timestamp and the manifest's name.
Either signature alone is sufficient; they are produced by the same
release run over the same bytes.
It was never the input to a signature. SHA256SUMS grows with every release:
the file that exists today has different bytes than the one that existed when
version 1.0.0 shipped, so signing it once would mean nothing for a later
download.
The signature covers the manifest for a single release, published as
SHA256SUMS-<version>, whose contents are fixed forever at that version's
release. Cryptographic assurance, rather than TLS and a checksum, needs the
version-scoped file.
From 1.0.1 on, every release also publishes camy_<version>.intoto.jsonl,
a SLSA provenance statement over the release's
tarballs (four through 1.0.6, eleven from 1.0.7) and, from 1.0.3 on, the Camy.app zip. Where the cosign signature proves who signed the checksum
manifest, the provenance proves how the tarballs came to exist: which
source repository and tag they were built from, and by which builder. It is
generated and signed not by the CLI's own release workflow but by the SLSA
project's generator,
running as a separate, isolated job, so the workflow that built the binaries
could not have forged it.
Check a tarball with slsa-verifier
(the slsa-verifier package on Homebrew):
slsa-verifier verify-artifact camy_1.0.1_darwin_arm64.tar.gz \
--provenance-path camy_1.0.1.intoto.jsonl \
--source-uri github.com/CamyAI/camy-cli \
--source-tag v1.0.1A good result ends with PASSED: SLSA verification passed. It confirms that
the tarball's hash is a subject of the provenance, that the provenance was
signed through GitHub Actions' OIDC issuer by a tagged release of the SLSA
generator, and that the release workflow that produced these digests ran
from the v1.0.1 tag of the CLI's source repository. The tarballs are built
on the project's own runners, which the provenance does not describe; what
it pins is the set of digests, the repository, the tag, and the workflow. Pin the source URI and tag yourself, as with the cosign identity
above; the values in the provenance are what is being checked, not what to
trust.
The source repository is private, so the provenance names a repository you cannot browse. What it still gives you is a binding, made by a builder the CLI's maintainers do not control, between these exact bytes and one tagged commit of that repository; the same binding every later release carries.
The installer fetches the release's own SHA256SUMS-<version> over TLS
and verifies that manifest's signature with the public key above before
trusting it; the summary line says "signature and checksum verified". From
1.0.6 the signature check is required: without minisign installed, the
installer stops before downloading anything. Setting
CAMY_REQUIRE_SIGNATURE=0 skips the check, and the install then rests on
TLS plus the checksum alone, which the summary line says. The installer
also refuses a channel that names a release older than the one before it
shipped: every installer's floor is the previous release.
camy update, from 1.0.1, makes the same check with no way to turn it
off, and makes it first. Before it downloads anything it
fetches the release's SHA256SUMS-<version> and its .minisig, verifies
that signature with the minisign public key above, which is built into the
binary, and only then downloads the tarball and checks its hash against the
signed manifest. A manifest that is missing, unsigned, or signed by any
other key stops the update, so control of the download host alone cannot
push a binary to an updater. It does not run cosign or slsa-verifier.
camy update also refuses to honor CAMY_DL_BASE, an override for which
host it downloads from, on any released binary. Only an unstamped development
build reads that variable, and only when it is a well-formed https:// URL.
A poisoned shell profile cannot redirect camy update at another host.
The installer script is different. It honors CAMY_DL_BASE, because
pointing it at a mirror is how the script itself is retargeted, but only as
an https:// address, and it refuses a redirect off https. Plain http://
is accepted only for a mirror on this machine (127.0.0.1, localhost or
[::1]). The release signature is checked whichever base you name, unless
CAMY_REQUIRE_SIGNATURE=0 is set. Check the environment before piping the
installer to a shell.
Each tarball ships a matching CycloneDX SBOM listing the Go modules built into
that binary. It is a standard CycloneDX JSON
document — read it with any CycloneDX-aware tool, or with jq:
jq -r '.components[] | "\(.name) \(.version)"' camy_1.0.0_darwin_arm64.tar.gz.sbom.cdx.jsonUse it to check whether a specific dependency or version is present in a given release, or to feed your own software-composition scanning.
From 1.0.2, the camy binary for macOS inside each tarball carries an
Apple Developer ID code signature and is notarized with Apple. The installer
and camy update never needed this, because a file fetched with curl
carries no quarantine flag; what it fixes is a tarball downloaded in a
browser and unpacked by Finder, which macOS would otherwise refuse to run.
A standalone executable cannot carry a stapled ticket, so Gatekeeper fetches
the notarization ticket from Apple the first time the binary runs.
To check a binary yourself:
codesign --verify --strict --verbose=2 camy
codesign -dv --verbose=2 camy 2>&1 | grep -E 'Authority=|TeamIdentifier'Expect satisfies its Designated Requirement from the first, and from the
second Authority=Developer ID Application: CamyAI Inc. (8AKMTS9968)
followed by Apple's intermediate and root. (spctl --assess is the wrong
tool for a standalone executable; it reports "does not seem to be an app"
for every command-line binary, notarized or not.)
From 1.0.2, each release also publishes Camy_<version>_darwin.zip, the
Mac application that runs Camy as a device. It holds the same
camy binary as the tarballs, as a universal build, inside a bundle that is
code-signed with Apple Developer ID, notarized, and stapled.
From 1.0.3 on, the zip is covered by the same three proofs as the tarballs,
made by the same identities: a cosign signature (.sig and .pem beside
it) whose certificate names the release workflow at the release tag, a
minisign signature (.minisig) with the release key, and a subject entry
in the release's SLSA provenance. The zip is not listed in
SHA256SUMS-<version>; its signatures are its own. To check a downloaded
copy:
cosign verify-blob \
--certificate Camy_1.0.3_darwin.zip.pem \
--signature Camy_1.0.3_darwin.zip.sig \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity https://github.com/CamyAI/camy-cli/.github/workflows/release.yml@refs/tags/v1.0.3 \
Camy_1.0.3_darwin.zip
minisign -Vm Camy_1.0.3_darwin.zip \
-P RWT7bpmBcMfiVQvo6BbIeVDh7f9B8WbapvOEBzs7TxhSkLsjlySfxXG6
slsa-verifier verify-artifact Camy_1.0.3_darwin.zip \
--provenance-path camy_1.0.3.intoto.jsonl \
--source-uri github.com/CamyAI/camy-cli \
--source-tag v1.0.3Expect Verified OK from cosign, Signature and comment signature verified
from minisign, and PASSED: SLSA verification passed from slsa-verifier,
each with the meaning described in the sections above. Then check the
bundle the way macOS does:
shasum -a 256 -c Camy_1.0.3_darwin.zip.sha256
unzip -q Camy_1.0.3_darwin.zip
spctl -a -t exec -vv Camy.app
xcrun stapler validate Camy.appExpect accepted with source=Notarized Developer ID from spctl, which
does assess application bundles, and The validate action worked from
stapler. The 1.0.2 zip predates the signatures and the provenance entry:
for that one release, the .sha256 sidecar and Apple's notarization are
the checks available.
Release builds are compiled with -trimpath and CGO_ENABLED=0, and the
binary's timestamp inside the tarball is taken from the tagged commit rather
than the build time. Two builds of the same commit for the same
GOOS/GOARCH produce the same Linux camy binary; the macOS binaries
differ only by the code-signature block Apple's timestamp service dates. The CLI's source is not
published, so this describes how releases are built rather than a check you
can run today.
- Installation — the one-line installer, Homebrew, and manual downloads
- Troubleshooting —
camy doctor, update failures, and the diagnosis card when the binary's directory isn't writable - Exit codes — exit 1, the runtime code
camy updateuses when a checksum doesn't match and it won't install