Skip to content

Status: the reproducible-build metadata (cargo-chef recipe + a fixed SOURCE_DATE_EPOCH, recorded in the manifest) and the verification instructions below are published. The build script defaults SOURCE_DATE_EPOCH to the source commit time; packages built before 2026-09-25 carry an empty sourceDateEpoch. The signing-identity decision (D-08) is made — minisign with a pinned key (trust/release-key.pub; no third party in the trust path) — and that chain is built and fail-closed but has never been exercised: no release key has been provisioned. The browser /pkg manifest signature chain was removed (2026-11-25), so these assets are SRI-pinned only. Nothing here is gated behind a third party: the hash comparison works today.

Reproducible Builds

The browser client ships as two artefacts — tallow_web_bg.wasm (the Rust encryption engine, compiled to WebAssembly) and tallow_web.js (the bindgen glue that loads it). The package at /pkg/ publishes two digest families for those same two files, and they are computed over identical bytes:

File your browser receives File you compare it with What the value is
tallow_web_bg.wasm /pkg/CHECKSUM.sha256 a plain SHA-256 hex digest (the sha256sum format)
tallow_web.js /pkg/CHECKSUM.sha256 a plain SHA-256 hex digest
tallow_web_bg.wasm /pkg/manifest.json → wasmHash a SHA-384 digest in SRI form (sha384- + base64)
tallow_web.js /pkg/manifest.json → jsHash a SHA-384 digest in SRI form

CHECKSUM.sha256 is what sha256sum -c reads, so it is the one a terminal recipe can check without extra steps. The SRI values are what the in-page self-test and the browser’s subresource integrity compare against — same bytes, a different algorithm and encoding for a different consumer.

This page documents how to check both from your own terminal.

Rebuilding from source

Not possible as of 2026-10-16. Rebuilding needs the source, and the source is closed. Stating that plainly matters more than leaving a clone command that cannot work, because it changes what this page can promise you: you can still check that the bytes your browser loads match the hashes published in the manifest (below), but you can no longer check that those bytes were built from published source. That second half of the guarantee is unavailable until publication resumes — and this page says so rather than implying the rebuild path is merely inconvenient.

The build recipe itself (a pinned toolchain, a fixed SOURCE_DATE_EPOCH, a deterministic dependency layer, and the packaging script) is retained internally and returns here with the source.

The packaging script writes the package into /pkg/: the wasm, the glue, the .br/.gz/.zst sidecars, CHECKSUM.sha256 (plain SHA-256, sha256sum format) and the SRI manifest.json (wasmHash / jsHash, both sha384-…).

Comparing against the published hashes

1. The SHA-256 recipe (sha256sum -c)

This is the comparison that needs nothing but coreutils: download the two artefacts and the checksum file they are described by, into one directory, and let sha256sum do the comparison.

Terminal window
mkdir -p tallow-pkg && cd tallow-pkg
base=https://your-domain.example/pkg
curl -fsSO "$base/tallow_web_bg.wasm"
curl -fsSO "$base/tallow_web.js"
curl -fsSO "$base/CHECKSUM.sha256"
# Both files must report OK. A FAILED line names the file that did not match.
sha256sum -c CHECKSUM.sha256

Expected output — the two OK lines are the whole check:

tallow_web_bg.wasm: OK
tallow_web.js: OK

The file is a standard sha256sum list (two-space separator between digest and name), so it can also be read by any tool that speaks that format. Anything other than OK on both lines — a mismatch, a missing file — means the bytes you hold are not the bytes the package describes.

2. The SHA-384 SRI values (manifest.json)

The manifest carries the same two artefacts as SRI digests. The browser self-test compares against these; from a terminal, recompute them against the files you just downloaded:

Terminal window
# what the published manifest says
curl -fsS "$base/manifest.json"
# the SRI form: base64 of the SHA-384 digest, prefixed 'sha384-'
echo "sha384-$(openssl dgst -sha384 -binary tallow_web_bg.wasm | openssl base64 -A)"
echo "sha384-$(openssl dgst -sha384 -binary tallow_web.js | openssl base64 -A)"

The first line must equal wasmHash, the second must equal jsHash. Equality of both fields is the whole check. A mismatch in either family is a real signal: either the served artefact is not the one the published digest describes, or something rewrote it in transit — report it (see /.well-known/security.txt).

What that check does not cover, and cannot while the source is closed, is provenance: it shows the bytes you got match the published manifest, not that those bytes were built from published source. That second half was the rebuild recipe, and it returns with the source.

The comparison proves the bytes you received are the ones the manifest describes; the rebuild is the second half — rebuild, compare, and the pins below are what made the published package reproducible while builds were published. One of those pins is a path remap: without it the wasm embedded the builder’s absolute cargo path (measured on a shipped package: 54 machine-specific strings such as ~/.cargo/registry/src/index.crates.io-…/fips204-0.4.6/src/high_low.rs), so no other machine could have reproduced the hash no matter how exact its toolchain. The packaging script applies the remap, and a build of the same source now embeds none of them: rebuilding from a second checkout at a different path produced identical wasmHash and jsHash. Attesting who built a published artefact is the job of a signature, and no signature covers these artefacts today: D-08 is decided (minisign, pinned key) and the CLI release chain is built and fail-closed, but it has never been exercised — the pin file carries a fail-closed placeholder until the key exists, so releases refuse to publish unsigned. The browser /pkg manifest signature chain was removed on 2026-11-25.

Hash algorithm

Two algorithms ship, each in the form its consumer expects, and the earlier design-report text that mentions SHA-256 for “the manifest hashes” conflated the two:

Both families are computed over the same two files, so a package that matches on one and not the other means the published digest files disagree with each other — as serious as a byte mismatch. Neither algorithm is used for the CSP script-src hashes (those are a third, unrelated use — see Security).

Signature (minisign, pinned key — D-08)

D-08 is decided: minisign (Ed25519), with the public key pinned in the source tree at trust/release-key.pub — trust is “pin the key”: no keyring, no keyserver, no third party in the trust path.

Release binaries ride the implemented chain — which is armed and fail-closed but has never been exercised, because no release key exists yet (trust/release-key.pub is still the PLACEHOLDER marker and every gate refuses): each release will publish a MANIFEST.json — every archive with its sha256 — signed to MANIFEST.json.minisig. Verification (refuses today):

Terminal window
minisign -Vm MANIFEST.json -x MANIFEST.json.minisig -p trust/release-key.pub
scripts/verify-release.sh <release-dir> # end-to-end incl. every artifact hash

The browser /pkg manifest has no signature slot. That chain was removed on 2026-11-25 (commit 3bb9f97bf: manifest-sig.ts, its tests and pkg-manifest-sign.py), by the same decision that left D-08 unprovisioned — a verifier that could never verify. The manifest is an SRI pin only. Custody model and the out-of-band channels (repo file now; CLI constant and DNS TXT queued) live in trust/README.md; do not reintroduce the /pkg chain without a new decision.

Toolchain pins

Component Pin
Rust target wasm32-unknown-unknown
wasm-bindgen CLI must match the locked crate version — the build script refuses to build on a mismatch (only ALLOW_WASM_BINDGEN_MISMATCH=1 overrides it, deliberately)
wasm-opt -O3 with the listed feature flags (binaryen)
Source date SOURCE_DATE_EPOCH — default: source commit time; recorded in the manifest