tang: declare client pins and server allow lists in one table #1354

Merged
JakeHillion merged 1 commits from jj/vuqtykuqskou into main 2026-09-26 22:53:32 +01:00
Owner

Clevis blobs were bound by hand with scripts/clevis against two JSON
specs without key thumbprints, nothing recorded which spec each host
used, and the tang servers shared one hardcoded allow list.

Added custom.tang.fleet to the tang module: each server's signing key
thumbprint and URLs, and two client groups. home covers the hosts
behind cyclone and pins only cyclone, warlock and stinger over the LAN.
internet covers boron, cyclone, iceman, slider and viper, pinning
cyclone, boron and li.pop by public address. Hosts enabling custom.tang
now enable ogygia.clevis with their group's spec minus their own pin,
and custom.services.tang derives ipAddressAllow from the sources of
every group pinning that server.

Removed scripts/clevis and pointed the boron and phoenix install steps
at the generated spec.

Test plan:

  • Evaluated the generated clevis specs and tang allow lists for every
    client and server
  • CI
  • Applied on stinger, it changed the file, then created a new boot
    generation and booted into it - all worked
Clevis blobs were bound by hand with scripts/clevis against two JSON specs without key thumbprints, nothing recorded which spec each host used, and the tang servers shared one hardcoded allow list. Added custom.tang.fleet to the tang module: each server's signing key thumbprint and URLs, and two client groups. home covers the hosts behind cyclone and pins only cyclone, warlock and stinger over the LAN. internet covers boron, cyclone, iceman, slider and viper, pinning cyclone, boron and li.pop by public address. Hosts enabling custom.tang now enable ogygia.clevis with their group's spec minus their own pin, and custom.services.tang derives ipAddressAllow from the sources of every group pinning that server. Removed scripts/clevis and pointed the boron and phoenix install steps at the generated spec. Test plan: - Evaluated the generated clevis specs and tang allow lists for every client and server - CI - Applied on stinger, it changed the file, then created a new boot generation and booted into it - all worked
JakeHillion force-pushed jj/vuqtykuqskou from f6e185e40c to fc40d58641 2026-09-26 21:19:19 +01:00 Compare
JakeHillion force-pushed jj/vuqtykuqskou from fc40d58641 to 4998e6185c 2026-09-26 22:30:13 +01:00 Compare
JakeHillion force-pushed jj/vuqtykuqskou from 4998e6185c to cdf6ab4687 2026-09-26 22:40:00 +01:00 Compare
JakeHillion scheduled this pull request to auto merge when all checks succeed 2026-09-26 22:40:19 +01:00
JakeHillion added 1 commit 2026-09-26 22:43:40 +01:00
tang: declare client pins and server allow lists in one table
commit-validation / validate-single-commit (pull_request) Successful in 8s
flake-update / update (push) Successful in 33s
buildbot/nix-eval Build done. (655 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
bb01af81d8
Clevis blobs were bound by hand with scripts/clevis against two JSON
specs without key thumbprints, nothing recorded which spec each host
used, and the tang servers shared one hardcoded allow list.

Added custom.tang.fleet to the tang module: each server's signing key
thumbprint and URLs, and two client groups. home covers the hosts
behind cyclone and pins only cyclone, warlock and stinger over the LAN.
internet covers boron, cyclone, iceman, slider and viper, pinning
cyclone, boron and li.pop by public address. Hosts enabling custom.tang
now enable ogygia.clevis with their group's spec minus their own pin,
and custom.services.tang derives ipAddressAllow from the sources of
every group pinning that server.

Removed scripts/clevis and pointed the boron and phoenix install steps
at the generated spec.

Test plan:
- Evaluated the generated clevis specs and tang allow lists for every
  client and server
- CI
- Applied on stinger, it changed the file, then created a new boot
  generation and booted into it - all worked
JakeHillion force-pushed jj/vuqtykuqskou from cdf6ab4687 to bb01af81d8 2026-09-26 22:43:40 +01:00 Compare
JakeHillion merged commit bb01af81d8 into main 2026-09-26 22:53:32 +01:00
JakeHillion deleted branch jj/vuqtykuqskou 2026-09-26 22:53:32 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JakeHillion/nixos#1354