250. An image names its distribution's package index, at basalt.nifeos.org, and a package's bytes may live anywhere
calef, 2026-10-06 (UTC), refining the maintainer's recommendation himself: "can't we plan to be
able to change where the packages are served from? We just can't change where the list of packages
is served from?" Then: "yes, index at packages.nifeos.org." Later the same day he changed
the host: "confirm basalt.nifeos.org", one host per distribution. This is question 1 of the
milestone 198 (a package manager) decision review, researched 2026-10-05 against main at
8848a701f.
Amended 2026-10-07 (UTC) by calef, on #1805: basalt's index is an image's default source, not its only one, and CI never deploys. See the amendment at the end.
Amended again 2026-10-10 (UTC) by calef, on #1884: two index addresses, the channel path, and X1 for download hosts. See the second amendment.
Amended a third time 2026-10-12 (UTC) by calef, on #2048: a listed location's root is named by the index, and one redirect is followed. See the third amendment.
The ruling
- An image carries one fixed name: its own distribution's package index, which for basalt
(§247 (the split begins with basalt holding nife)) is at
basalt.nifeos.org. The index lists packages, their versions, their digests, and where each package's bytes live. The index's path and file name on that host are not ruled yet; calef is deciding them, and until he does they are pending, not provisional. - A package's bytes may be served from any host: GitHub Releases, a CDN, a mirror, plain HTTP. They are verified by the digest the index lists, which is §195 (a reviewed recipe vouches for a package) and §197 (a package is one archive file) applied unchanged. The package host is neither trusted nor pinned, so moving it is an edit to the index and ships no image.
- The pinned root of §196 (nife carries TLS) clause 4 applies to the index host only. That
root is ISRG Root X1 (Let's Encrypt), chosen because it survives a change of who serves the
name: any host that will present a Let's Encrypt certificate for
basalt.nifeos.orgcan take the name over without an image changing. - The index carries a "moved to" field, so the index itself can migrate while the old name still answers.
Name: ratified 2026-10-06 (calef, this section). basalt.nifeos.org is basalt's index host.
Refused packages.nifeos.org (one name for every distribution, so a second distribution could not
have its own pin or migration path), a GitHub host name (H2 below), and no built-in name (H3 below).
Why one host per distribution
An image names its own distribution's host. A later distribution that is not rolling gets its own
name, its own certificate pin and its own migration path, and none of them is shared with basalt's.
GitHub Pages allows one custom domain per repository, so nifeos/basalt can own
basalt.nifeos.org outright, and the same host can serve basalt's web page as well as its index.
packages.nifeos.org, ruled first the same day, was one name for every distribution and is
refused for those reasons.
Why the split, and why it is the elegant shape
A name baked into a shipped image is the irreversible part of hosting: it is fixed on every machine installed from that image until the machine changes its own source. The ruling makes exactly one thing irreversible, the index's name, and leaves everything else movable. Authenticity of a package never depended on where it came from (§195's digest decides), so pinning the package host bought nothing. Authenticity of the index does depend on its host, because the index is where the digests come from, so that is where the pin goes.
Prior art, read 2026-10-05: Debian ships deb.debian.org, a project name that is a CNAME to
Fastly; Rust ships static.rust-lang.org and static.crates.io, both CNAMEs to Fastly. Debian also
splits the signed index (Release, Packages) from the bytes any mirror serves, which is this
shape.
What was refused
| Option | Why it lost |
|---|---|
H2. A GitHub host name baked into images (github.com/.../releases/download/... or ghcr.io) |
The host and its certificate chain are GitHub's to change, and they already have. Measured 2026-10-05: a Release asset now redirects to release-assets.githubusercontent.com (Let's Encrypt, ISRG Root X1); milestone 442 (a crypto provider rustls can use on all three bare-metal targets) measured the asset host as objects.githubusercontent.com on 2026-09-20; ghcr.io is Sectigo. Two hosts, two CAs, and one name moved in two weeks. Under §196's one root per source, every shipped image would pin something GitHub can change. GitHub Releases remains a fine place for the bytes under clause 2. |
packages.nifeos.org, ruled first and then replaced the same day |
One name shared by every distribution: a second distribution would share basalt's pin and could not migrate on its own. See above. |
| H3. No built-in host; the page tells the owner what to type | Adds a step to §157 (a trivial install is a web page, a USB drive, and packages over the internet)'s stranger path, which §157 exists to remove, and a typed URL is a phishing surface the image cannot check. |
At equal cost the answer is the same: the argument is about who controls the name, and H2 was the cheap option.
What this unblocks
- Milestone 198's rung 3c has a host to fetch the index from by name, once the index's path and file name are ruled.
- Milestone 501 (a TLS client that speaks to one pinned peer) has its one root: ISRG Root X1, for the index host.
- The GPL repository's org (owed to §135 (running GPL software is aggregation)'s amendment) becomes reversible, because no image names an org.
BUGS
- Choosing a host for the index is now constrained. Whatever serves
basalt.nifeos.orgmust present a certificate chaining to ISRG Root X1. A host that issues through another CA (some CDNs default to their own) breaks every shipped image until it is reconfigured. Nothing checks this; this line is the record. - The index's format is not ruled. It is a wire format two programs agree on, so by rule 7 it goes in a crate, and it must be fixed before anyone outside this repository fetches one. The "moved to" field's semantics (how often a client follows it, whether it rewrites its own source) belong to that ruling.
- The index is authenticated by TLS alone. A per-source signature over the index, which §195 leaves room for, would let the index itself be mirrored. Not ruled; nothing is blocked on it.
- Root rotation. ISRG Root X1 expires 2035-06-04 (UTC), read from the certificate itself by the
milestone 501 lane on 2026-10-06; this replaces the earlier recalled "2035". A date earlier
than that one governs: Let's Encrypt now issues from
Root YEandRoot YR, which chain to X1 only through cross-signatures that expire 2032-09-02, three years before X1. A client pinned to X1 alone stops verifying Let's Encrypt certificates on that date unless the pin changes. The evidence is in milestone 501's BUGS (branchlane/501-tls, PR #1759); the rotation itself is not solved here. - Renewing
nifeos.org(2027-10-03) gates every image that names it. Milestone 198's BUGS carry the same line; neither enforces it. - The index's path and file name on
basalt.nifeos.orgare pending calef's ruling. - No DNS record or host exists for
basalt.nifeos.orgyet. Creating them is calef's act; agents publish nothing undernifeos.org.
Amendment, 2026-10-07 (UTC): the owner chooses the source and the moment
calef ruled two things on pull request #1805, reading the lab self-update proposal
(design/roadmap/0858-lab-machines-update-themselves.md). They are recorded here because this
is the section that rules where an update comes from, and its first clause is the one they change.
§208 (installing is granting) rules what an install changes, and §157 (a trivial install) rules how
a stranger starts; neither names a source.
On when a machine updates: "CI should not be part of deployment. Owners should decide when and if to update a machine and can enable automated updates if they choose."
- CI is never part of deployment. A gate may publish a release; nothing pushes it onto a machine.
- The owner decides whether and when a machine updates. Automatic updates are a setting the owner may turn on, and a machine with it on pulls from its channel. The lab machines update automatically because their owner turned that on.
On where it updates from: "I want to make certain owners can update off of their own media or servers. I'm thinking of air gapped deployments for example." Then "Yes" to the following.
- The source is the owner's setting: basalt's index at
basalt.nifeos.org(clause 1 above, now the default), a mirror or server the owner runs, or local media, air-gapped machines included. - The index is a TUF repository (the same day's Fork 9 on #1805). A mirror copies it without re-signing, so every copy verifies against basalt's root. An owner may also trust a further repository under a root key of their own, as §221 (the boot prompt is the owner's console) lets an owner vouch today.
- Freshness, TUF's timestamp expiry, is enforced by default, and the owner may switch it off per source, so older media still installs. Rollback protection, versions that never decrease, is always on and has no switch.
Prior art named with the ruling, recalled rather than read for this amendment: Debian's
apt-offline, apt-cdrom and Check-Valid-Until=false; Red Hat Satellite's disconnected mirrors;
WSUS; and Uptane, whose Director repository is a per-fleet source. This binds milestone 809 (the
package client becomes a program), whose source is compiled in today as QEMU's 10.0.2.9:8080.
Amendment, 2026-10-10 (UTC): two addresses, one path, and what a download host must present
calef ruled these on pull request #1884, for milestone 801 (packages over the internet), recorded there as rulings Q1, Q2, Q4, A and B. Each changes a clause above; the clause's text is left as first ruled so the change can be read against it.
- Clause 1 now reads: an image carries one index at up to two addresses. The first is
basalt.nifeos.org. The second is on a different registrable domain, so losing one domain cannot take both, and the client tries it when the first stops answering. calef chose this as A1, "two domains", after his Q2 ruling, "M1 plus a backup address." The second domain iscrickertech.com(calef, 2026-10-21 UTC: "crickertech.com"), registered at GoDaddy wherenifeos.orgis at Name.com, so one registrar account's compromise or lapsed payment cannot take both. Its address isbasalt.crickertech.com. Name: provisional. calef chose the domain; thebasalt.label follows the first address and is not ruled. It is served by a second GitHub Pages site in thenifeosorganization,nifeos/basalt-backup(Name: provisional), which basalt's publish fills with the same files as the first (calef, 2026-10-21 UTC: "P1: a second Pages site in nifeos for basalt.crickertech.com."). Pages serves one custom domain per site, so the second address needs a site of its own. Shared failures remain, and the second address covers none of them: GitHub Pages serves both sites, thenifeosorganization owns both repositories, one publish workflow fills both, and NS1's name servers answer for both domains (measured 2026-10-21 UTC). - The index's path, pending under clause 1, is ruled (Q4, "Channel prefix, no architecture"):
the index lives at
/<channel>/metadata/and packages at/<channel>/targets/, each channel its own TUF repository, one index for all three architectures. The channel's name is calef's; milestone 801 ships a provisional one. - Clause 4's "moved to" field becomes a root's act (Q2, M1). Only a signed root may name the index's new location, and a client follows only after the new place serves a root that chains to the one it trusts.
- Clause 2 is narrowed (Q1, "L1, with the safeguards"). A package may list further locations,
tried in order, and basalt always keeps a copy under its own
targets/, which is tried last. Listed locations are HTTPS only, and the client refuses private and link-local addresses. An owner may pin one mirror instead of the listed locations. Plain HTTP is no longer allowed for a listed location, though local media and an owner's own source (clause 3 of the 2026-10-07 amendment) are unchanged. - Clause 3's single pin, ISRG Root X1, now covers both index addresses and every listed download location (B, "X1 only"). A location whose certificate chains elsewhere is skipped, and the client falls back to basalt's own copy. A per-location root named in the signed index was left open as a later field; a bundled root store (against §196's one root per source) and no certificate check (which voids the HTTPS-only safeguard) were refused.
The digest in the signed index still decides whether a package is authentic. What clause 10 adds is that the client reached the host the index named.
Amendment, 2026-10-12 (UTC): a listed location's root, and one redirect
calef ruled where basalt.nifeos.org is served on 2026-10-12 (UTC): GitHub Pages for the index,
and "Packages on Releases, index on Pages", so each asset's download count measures adoption
(milestone 801's block has the words). A Release download URL is on github.com, which chains to
Sectigo Public Server Authentication Root E46, not ISRG Root X1, and it answers 302 to a host that
chains to X1. Under clause 10 a client skips it, and nothing is counted. The question was put on
#2048 with five options (notes/packages/the-index-format.md, question C); calef answered "a",
the recommended one. Clause 10's open "later field" is what it fills.
- The signed index may name, for each listed location, the root its certificate must chain to, chosen from the roots the image carries. A location that names none chains to the index's root, X1. The index chooses among roots and never adds one; an image that does not carry the named root skips the location.
- basalt's images carry one further root for listed locations, Sectigo E46, for GitHub Release downloads. It is never a root for an index address.
- A fetch from a listed location follows exactly one redirect: an absolute HTTPS URL, its host held to clause 9's address rule and to the index's root, X1. A second redirect is refused.
Clause 10 otherwise stands: one root per source, and a bundled root store and an unchecked
certificate stay refused. The digest in the signed index still decides whether a package is
authentic. Built by lane lane/basalt-on-pages-and-releases (#2048) and recorded by it; the
section's number is unchanged.