5-minute local proof
Issue and verify a record locally.
Generate conformant sample records and verify one offline with the issuer public key. No account, no server. Requires Node 22+.
01
Generate samples
The CLI issues valid signed records and a sandbox JWKS you can verify against.
shell
npx @peac/cli@0.15.1 samples generate -o ./samples02
Verify one offline
Point the verifier at a record and the sandbox public key. No network needed.
shell
npx @peac/cli@0.15.1 verify ./samples/valid/basic-record.jws \
--public-key ./samples/bundles/sandbox-jwks.jsonExpected: Signature valid (offline).
03
Tamper and watch it fail
Change one byte in the record and re-verify; the signature check fails closed.
shell
# edit any byte in basic-record.jws, then re-run verify
# -> E_INVALID_SIGNATURENext
Verify a record in the browser, wire records into an MCP tool, or read the full quickstart and API reference.