Reference · v0.76.0
Air-gapped audit kits
From the pinned CLI source. Read upstream.
Current format policy: Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4.
Air-gapped audit kit: tine audit-kit (0.49)
tine audit-kit build RUN... | BUNDLE --out DIR [--zip] [--pubkey FILE] [--pin FPR]
[--action-policy FILE] [--trusted-root FILE] [--sign KEY]
[--attest-key KEY | --replay-attestation FILE [--replay-pubkey FILE]]
[--witness VKEY]... [--witness-set FILE] [--log-key FILE]... [--quorum N-of-M]
[--operator NAME] [--allow-unredacted] [--json]
tine audit-kit verify DIR|ZIP [--pyz] [--pubkey FILE] [--json]
build writes a self-contained directory (and with --zip a deterministic
DIR.zip): tine-verify.pyz, verify.html (the TS verifier as one offline
page with the runs embedded), the evidence folder (tine evidence export --with-verifier), each run's Provenance Run Crate, a replay/v1 attestation
(--attest-key replays the run now in cache mode and signs the verdict;
--replay-attestation copies one), the pinned witness set and log keys,
REPORT.md/report.html (the printed report; no PDF), the artifact-evaluation
package ae/ (an ACM-badge README, verify_kit.py needing only the standard
library, verify.sh, verify.ps1, reproduce.sh) and SHA256SUMS. A bundle
input is verified and its runs are written out; the bundle is kept in
source/. verify re-checks everything with the network refused (SPEC
§8.4.1); --pyz also runs the kit's own pyz in a separate process. Without
opentine: python3 -I ae/verify_kit.py, then open verify.html. Both exit 1
when a check fails; --json writes tine-cli-audit-kit-build-1 (also the kit's
kit.json) and tine-cli-audit-kit-verify-1.
A kit is made to be handed out, so build refuses (exit 2, nothing written) a
run that the redaction ruleset would still change; build from tine bundle create --redacted-public instead, or pass --allow-unredacted. Whoever alters
a kit can also regenerate SHA256SUMS and its pubkey.pub, so without an
outside key verify proves integrity only (its anchor check is skip);
verify --pubkey FILE pins the run signatures to a key obtained separately and
fails anchor when the kit carries another. verify refuses links and special
files in a kit directory, and unsafe, linked, duplicate or oversized zip entries.