internal/

directory
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2026 License: Apache-2.0

Directories

Path Synopsis
Package config resolves the bsecret command's settings: flags, then BSECRET_* in the environment, then the config file, then the built-in default.
Package config resolves the bsecret command's settings: flags, then BSECRET_* in the environment, then the config file, then the built-in default.
Package engine is a bsecret publisher: the owner's tooling (docs/spec.md sections 7, 8, 12 and 13), run from one identity's home.
Package engine is a bsecret publisher: the owner's tooling (docs/spec.md sections 7, 8, 12 and 13), run from one identity's home.
Package secrec is the byte-level contract of bsecret: the vault record that rides a mined chain token, the secret record that rides an unmined carrier, the payload a secret's ciphertext holds, the BRC-369 keyed content around it, the wrap of a content key under a group epoch's key and to the owner's own wallet, the crypt, label and name grammars, the vault fold, and the lookup question classes.
Package secrec is the byte-level contract of bsecret: the vault record that rides a mined chain token, the secret record that rides an unmined carrier, the payload a secret's ciphertext holds, the BRC-369 keyed content around it, the wrap of a content key under a group epoch's key and to the owner's own wallet, the crypt, label and name grammars, the vault fold, and the lookup question classes.
Package state is an identity's durable record in its home: the funding trees its carriers and vaults spend, the vaults it owns (each vault's chain of mined tokens and every version it published), the objects persisted before they are published, the sweeps it built, every content key commitment it ever published or listed, and, for a reader, the latest token of each vault it has verified.
Package state is an identity's durable record in its home: the funding trees its carriers and vaults spend, the vaults it owns (each vault's chain of mined tokens and every version it published), the objects persisted before they are published, the sweeps it built, every content key commitment it ever published or listed, and, for a reader, the latest token of each vault it has verified.
Package testhost is the local stand-ins this module's tests run against: an overlay host that carries bsecret crypts and borg halls, a plane, a terms route, and an organization's borg tooling reduced to what a vault needs of it.
Package testhost is the local stand-ins this module's tests run against: an overlay host that carries bsecret crypts and borg halls, a plane, a terms route, and an organization's borg tooling reduced to what a vault needs of it.
Package vectors generates the golden vectors under testdata/vectors from the codec in internal/secrec.
Package vectors generates the golden vectors under testdata/vectors from the codec in internal/secrec.
Package vread asks overlay hosts the ls_bsecret questions and checks every answer itself (docs/spec.md sections 10.2, 13 and 14): a vault token's record, lock and field signature, its proof against the reader's own headers and its descent by spends from the vault's first token; a secret carrier by the host's own admission rules and by SPV through its funding parent; a sweep by its proof.
Package vread asks overlay hosts the ls_bsecret questions and checks every answer itself (docs/spec.md sections 10.2, 13 and 14): a vault token's record, lock and field signature, its proof against the reader's own headers and its descent by spends from the vault's first token; a secret carrier by the host's own admission rules and by SPV through its funding parent; a sweep by its proof.

Jump to

Keyboard shortcuts

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