decisions DECIDED

306. The web's authority list is a package and a capability, and jig's own channel never depends on it

Raised while milestone 809 (the package client becomes a program) was settling jig add-repository. calef ruled that verb takes just a URL, then asked why nife does not ship the usual authority list. He ruled on all three asks on 2026-10-18 (UTC): "Use those four rules.", "Y" and "Yes".

The question

A general HTTPS program on nife (a future curl, a browser at the prompt) must decide which certificate authorities to believe for a host nobody named in advance. §196 (nife carries TLS) clause 4 holds roots per source and forbids a system-wide trust store, for the package client. That reasoning does not extend to a program whose job is any host.

The ruling

  1. The web's authority list is an ordinary basalt package. Its content is Mozilla's CA list, the one most systems ship. It is versioned, vouched by digest under §195 (a reviewed recipe vouches for a package), and installed and updated by jig like any other package.
  2. It is a capability, not ambient. A program gets it only if its manifest names it and its grant plan allows it, the same shape as the network and directory grants. ls never holds it. A program that talks to one host keeps a pinned root and does not ask for the list.
  3. It updates through jig update over basalt's pinned channel, so a distrusted authority leaves at the next update, not the next image.
  4. jig's channel to basalt never depends on anything jig installs. It stays pinned to the image's roots (ISRG Root X1 and Sectigo E46) and never consults the list. The list depends on the channel and the channel never depends on the list, which removes §196's circularity instead of walking around it. A distrusted authority can never break updating the list.
  5. jig add-repository checks an added index against the list. An added index is trusted at the channel exactly as a website is, by the list's authorities. §195's digests still decide what runs. Milestone 809's item 7 builds it once the list exists.
  6. The list keeps Mozilla's partial-distrust data, and the verifier enforces it. Its source is Mozilla's NSS data (certdata.txt) or a derivative that keeps each root's server distrust-after date and trust level. The curl extract as it stands cannot be the source.

The list's package, the manifest field that names it and the verifier are a milestone's work.

What is in force around it

Alternatives refused

Shape Cost What others do
A. A frozen store in the image The list ships in the image and is readable by programs that ask Frozen until the next image, so a distrusted authority persists on every installed machine (DigiNotar 2011 and DST Root X3 2021 are the cases milestone 387 cites). Ambient if every program may read it Debian (ca-certificates), Fuchsia and OpenBSD (/etc/ssl/cert.pem) ship a store, as do macOS and Windows. Debian updates it as a package; the others with the OS (recalled, not read)
B. Per-program pinned root only No list; each program carries the one root for its one peer Nothing to curate. Cannot serve a program whose host a person or a page chooses Matches §196 and jig
C. No general HTTPS client Nothing on nife fetches an arbitrary host Cheapest, and forecloses every program that is not a package client, including the real workload with a real user that AGENTS.md principle 1 ranks first Every system named above ships a store because it runs a browser or curl (recalled)

For add-repository, the image's roots alone (X) were refused: an owner whose index sits on another authority could not add it with a URL. Either set (Z) was refused: what authenticated a source would vary by host, and the weaker set would be the real check.

The lines marked recalled were not checked against a source. Fuchsia's and OpenBSD's layouts were not read.

Measured, 2026-10-17 (UTC)

Not checked: whether webpki-roots or a direct certdata.txt build preserves the date in the form rustls-webpki consumes. Nor whether rustls-webpki accepts 121 anchors without a cost worth measuring (milestone 501's costs are for one root). Nor how long a Mozilla removal takes to reach a basalt release. The owner decides whether and when a machine updates (§250's 2026-10-07 amendment), so a machine that never updates keeps a distrusted authority.

What it costs

BUGS