tpa-db

command
v0.73.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

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