Expand description
Key-centric trust store for service identity verification.
The trust store holds verified Ed25519 pubkeys and their attestations. Keys ARE identity — service names are authorization scopes.
§Bootstrap
PolicyService’s verifying key is the root trust anchor, loaded from:
- Inproc: generated in memory during
generate_independent_service_keys - IPC: loaded from
ca-pubkeycredential file
§Runtime
Services register their pubkeys via registerServiceKey RPC.
Clients verify peer keys via is_authorized(key, scope).
§Multi-instance
Multiple services with the same scope (e.g., two “model” instances) each have their own key. The trust store holds all of them. A client connecting to any endpoint verifies the response signer is authorized for the requested scope.
Structs§
- Attestation
- An attestation binding a key to authorization scopes.
- Published
Service Key - A named, currently published service verification key.
- Trust
Store - Key-centric trust store. Thread-safe, lock-free reads.
Functions§
- global_
trust_ store - Get the global trust store.
- service_
key_ id - Canonical public identifier for an Ed25519 service verification key.