Expand description
Trust root declarations. LOADBEARING: algorithm is a property of the key, not the artifact - artifacts MUST NOT carry their own algorithm claim, or an attacker could downgrade by lying about which algo signed the bytes.
Structs§
- KeySlot
- LOADBEARING:
reject_beforeis the compromise kill-switch - artifacts signed before this timestamp are refused regardless of which key signed.successor+retire_atdeclare a planned rotation: whilenow < retire_atthe successor’s signature is accepted (overlap window); pastretire_atthe reconciler emitsAction::RotateTrustRootso the operator’s tooling can promotecurrent -> previous,successor -> current. - Trust
Config - Loaded from
/etc/nixfleet/{cp,agent}/trust.json. Restart-only reload. - Trusted
Pubkey algorithmisString(not enum) for forward-compat. Unknown values surface asUnsupportedAlgorithmat verify time. Today: ed25519, withpublicas 32-byte base64 (padded).