OpenBoot
Draft: this page is not reviewed yet.

Release workflowDraft

A release is built by a GitHub Actions workflow from a protected tag, then rebuilt on the maintainer's machine, signed offline and published only after the signature verifies. The workflow is .github/workflows/release.yml. It has never run: the key ceremony has not been done, so the inputs it needs do not exist yet.

Design rules#

  • Trigger: a push of a tag v*. There is no pull request, branch, schedule or manual trigger.
  • No key is a CI secret. The workflow uses only the automatic GITHUB_TOKEN, with contents: read for the build job and contents: write for the two jobs that handle the release.
  • Every job runs only on a tag. The jobs that make the manifest and publish run in the protected environment release, whose required reviewer is the maintainer.
  • Every Action is pinned by commit SHA and the build container by digest; a host test fails when one is not.
  • The build uses the public profile: the write-capable release profile of the boot object, and the ceremony Secure Boot certificates. The maintainer's own key set is never part of it.

Stages#

  1. Build. tools/release/ci-build.sh builds the boot object and the installer tarball. The job then runs the installer host tests, the release marker, install-slot and trackpad-firmware checks, scans every output for vendor firmware (tools/release/scan_no_firmware.py), and builds twice in the same environment to see that the bytes are equal (tools/release/repro.sh).
  2. Inputs and manifest. The driver package and the code-integrity policy, signed offline in the ceremony, are attached to the draft release. tools/release/check_inputs.py compares each file's sha256 and its signer certificate fingerprint with tools/release/release-inputs.lock; a package signed by another key set (the lab set) has another fingerprint and is refused. Then tools/release/mkmanifest.py writes the unsigned manifest.
  3. Offline signing. The maintainer rebuilds the tag locally with ci-build.sh, and tools/release/sign-release.sh signs the manifest only when the local SHA256SUMS equals the CI one and every manifest entry (sha256, md5, size, and the set of names) equals the local rebuild's file (check_manifest_files.py). The signature is attached to the draft release.
  4. Publish. After the reviewer approves, the workflow verifies the signature against the pinned root key (tools/release/verify.sh), re-hashes the artefact it is about to upload against that signed manifest, and only then uploads the files and publishes the release. A tag containing -rc is published as a pre-release. A final release additionally needs the hardware gate for a real Windows install; the reviewer checks that before approving.

Repository settings#

Setting Value
Tag protection rule for v*
Environment release required reviewer: the maintainer
Secrets none are required by this workflow
tools/release/root.pub the root public key, committed after the ceremony; absent until then
keys-public/ public Secure Boot and driver CA certificates of the ceremony, committed after it
tools/release/release-inputs.lock filled from the offline signing step; UNSET until then, which makes the workflow refuse

The hygiene workflow uses one optional secret for its private-geometry check; it is unrelated to releases.

Not verified#

  • The workflow has not been run on a real tag; a tag pushed before the ceremony fails at the inputs stage by design.
  • The build container is a plain base image with the toolchain installed at build time, so the build is not yet reproducible across runs of the workflow on different days. A toolchain image pinned by digest is still to be made.
  • Whether the object, firmware volume and tarball are byte-identical between the CI container and the maintainer's machine is untested.