Help us shape the future of Go! Take the 2026 Go Developer Survey

bide-audit

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Command bide-audit produces and verifies audit ProofBundles from the command line, for the auditor/compliance persona who does not write Go. It is deliberately dependency-light: it imports only the core + audit packages (stdlib under the hood), no store backend, so it works against any store by operating on an exported journal (a JSON array of records) and a signed tree head. `verify` needs neither: just the bundle and a public key.

# Produce a proof that one tool call happened, against an anchored STH:
bide-audit prove -journal run.json -sth sth.json -tool call_abc -out proof.json

# Verify it offline, trusting only an out-of-band public key:
bide-audit verify -bundle proof.json -pubkey 1a2b...   # exit 0 = verified

Export the journal with: json.Marshal(store.History(ctx, runID)).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL