Skip to content

Software distribution

Witness can timestamp the exact bytes of a release artifact. It is complementary to software signing, provenance, transparency logging, and package-repository controls; it does not replace them.

Timestamp a distribution artifact

After producing the final archive or binary, submit it locally by file:

witness attest --file package.tar.gz --save package-job.json

Set HASH to the SHA-256 hash printed by attest and poll with witness status "$HASH". After confirmation, save and verify the job:

witness attest --hash "$HASH" --save package-confirmed.json
witness verify package-confirmed.json \
  --network-config pinned-network.json --data package.tar.gz

pinned-network.json is the public signer-key file you obtained independently of the gateway (see receipt signature verification).

What this establishes

Verification shows that enough trusted keys signed the record for that digest. The artifact hash existed no later than the reported signer time if at least one counted signer was honest and its clock was right. It does not establish who built or published the artifact, whether the build was reproducible, or whether the artifact is safe. Publish the digest and signature/provenance material according to the package ecosystem's existing controls.

Caveats

Keep the artifact and evidence paired, and review the network configuration used for verification. Hash-only input can still reveal predictable artifacts, and gateway infrastructure can observe request metadata. Witness is pre-1.0, unaudited, and not Byzantine-fault-tolerant.