cmd/

directory
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0

Directories

Path Synopsis
Command bsecret keeps an organisation's secrets on overlay hosts, and reads them as a member of the group a vault is keyed to: it creates an identity home around a borg organisation's key, creates crypts and vaults, writes each version of a secret under a fresh content key wrapped to the group's current epoch, acknowledges a new epoch of the group and re-keys everything the vault held, retires and retracts, reads a secret with every check made in the signed order, audits a vault's trail from block headers alone, pays a host's 402 for the priced questions, and settles the payments a host accepted as its payee.
Command bsecret keeps an organisation's secrets on overlay hosts, and reads them as a member of the group a vault is keyed to: it creates an identity home around a borg organisation's key, creates crypts and vaults, writes each version of a secret under a fresh content key wrapped to the group's current epoch, acknowledges a new epoch of the group and re-keys everything the vault held, retires and retracts, reads a secret with every check made in the signed order, audits a vault's trail from block headers alone, pays a host's 402 for the priced questions, and settles the payments a host accepted as its payee.
Command devchain is a local stand-in chain for trying bsecret without a node, a settlement service or any coin: it serves a node's JSON-RPC (generatetoaddress, sendrawtransaction, getinfo) at /rpc, a node's asset API under /api/v1/, and a header source (/v1/root/<height>, /v1/tip) that the bsecret and borg commands and the overlay hosts check proofs against.
Command devchain is a local stand-in chain for trying bsecret without a node, a settlement service or any coin: it serves a node's JSON-RPC (generatetoaddress, sendrawtransaction, getinfo) at /rpc, a node's asset API under /api/v1/, and a header source (/v1/root/<height>, /v1/tip) that the bsecret and borg commands and the overlay hosts check proofs against.
Command vectors writes the golden vectors under testdata/vectors.
Command vectors writes the golden vectors under testdata/vectors.

Jump to

Keyboard shortcuts

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