Skip to main content

Module trust

Module trust 

Source
Expand description

Local trust store.

The user’s trusted publishers live under ~/.config/confium/trust/<publisher>.toml, one file per publisher. Each file mirrors the [[publisher]] row from the registry’s trust-roots.toml so the same TrustRoot type round-trips through both. This makes “trust a publisher” a simple file write — auditable, mergeable, and trivially backed up.

TrustStore owns the file-layout knowledge so the CLI’s trust sub-commands stay thin.

Structs§

TrustStore
A handle on the local trust directory.

Type Aliases§

TrustStoreEntry
One row in the local trust store.