Documentation
¶
Overview ¶
Command tpa-db is the operator tool for Spec 101 signed TPA bundles.
Subcommands:
keygen --out DIR
write DIR/operator.key (0600, base64 of the 64-byte Ed25519 private
key) and DIR/operator.pub (base64 of the 32-byte public key); print the
public key and its key id. Never overwrites existing files.
sign --bundle PATH --key KEYFILE [--out PATH]
write the detached sidecar <out>.sig for the bundle. Bundle bytes are
never edited: the operator authors sequence, key_id, trust_epoch and
generated_at in the bundle itself. Refuses a bundle whose manifest
key_id differs from the signing key's id.
verify --bundle PATH --signer BASE64PUB
verify <bundle>.sig against one trusted signer and the manifest key_id;
print OK, or the contract rejection code with exit status 1.
Exit status: 0 success, 1 failure, 2 usage error.
Click to show internal directories.
Click to hide internal directories.