Integrate SPIFFE credentials and live fleet authorization into DNS #3
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kaiba/nixos-kaiba-network!3
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/spiffe-dns-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add an explicit SPIFFE mode to the DNS updater and controller. Both consume rotating Workload API credentials; clients require exact server identities, and the controller revalidates the client certificate and requests a fresh authenticated fleet decision before each protected request. The assigned DNS device number remains separate from the fleet logical device ID.
File credentials remain the explicit compatibility default. SQLite intent, idempotency, generation, lease, publication and TSIG behavior are preserved. Publisher credentials and Workload API access remain separated.
Depends on the DNSWorkloadAuthorization draft in https://github.com/pd-codex/kaiba-contracts/pull/14. This adds operational workload authorization, not production enrollment or hardware qualification.
Validation: Go tests (including real mTLS rotation, exact peer identity, fresh nonce and decision validation), pinned contract fixtures, Nix package build, and module evaluation passed locally. The combined SPIRE/fleet/PostgreSQL/DNS VM in https://github.com/PseudoDesign/kaiba-fleet/pull/28 also passed locally, including actual publication and denial after quarantine, replacement, or database outage. Remote CI passed the seven-VM file-mode compatibility topology and ARM64 package build. Hardware qualification remains open.