EQTY LabDocs

Compatibility and Releases

Which notary release each swtpm-notary release needs, what each pair enables, and how releases are versioned and published.

View as Markdown

swtpm-notary and the notary are released separately. A swtpm-notary release is tagged v0.10.2-eqty.<revision>: the upstream swtpm and libtpms version plus an EQTY revision. One tag carries three packages.

PackageVersionContents
eqty-swtpm-notary .deb0.10.2-eqty.<revision>The forked swtpm for Ubuntu 26.04 amd64
eqty-swtpm-notary .pkg0.10.2-eqty.<revision>The forked swtpm for macOS arm64, self-contained
eqty-docker .pkg0.<revision>.0The docker eqty plugin, the VZ guest kernel and the Linux guest image with the guest notary inside, for macOS

Notary versions

swtpm-notaryMinimum notaryRecommendedFull socket protocol (ops 0, 4, 5, 6)Guest notary in the Docker package
0.10.2-eqty.10.0.50.0.7 or later0.0.80.0.7
Unreleased0.0.50.0.80.0.8Set at release time, default 0.0.8

What each notary release brings to vTPMs:

NotaryvTPMs
0.0.5First notary with vTPMs: eqty-notaryctl vtpm, --eps fd and --extkey over the notary socket, ops 1 to 3. Hardware rooting must be turned on by hand with EQTY_VTPM_BACKING=identity and EQTY_VTPM_EPS=1, and EQTY_VTPM_SWTPM must point at /opt/eqty/swtpm-notary/bin/swtpm.
0.0.6Same, plus the arm64 Linux .deb used as the guest notary.
0.0.7Hardware-rooted vTPMs by default when this package is installed. A vTPM’s owner starts and inspects it without sudo. The tutorial scripts skip the configure step from here.
0.0.8Answers CAPS, so seed epochs, bound signing and key release are in effect. With any older notary swtpm keeps to ops 1 to 3 and behaves as it did with 0.0.7.

On a Mac, install swtpm-notary before the notary, or restart the notary after installing it: the notary selects its swtpm when it starts. See Install.

How a release is built

The Release workflow runs only on request, from the repository’s Actions tab. Pushes and pull requests do not start a build. Given a release number such as 1, it:

JobDoes
Ubuntu 26.04Verifies the patch series, builds the .deb, runs libtpms and swtpm make check, installs the .deb and starts swtpm with --eps.
macOS arm64Builds the .pkg, signed when the secrets are set; checks that the packaged swtpm runs, loads no Homebrew library and has a valid signature.
Docker scriptsbash -n, Python compile and shellcheck --severity=error.
VZ guest kernelCross-compiles the arm64 kernel on an amd64 runner, in ubuntu:24.04, reproducibly: build time, user and host pinned, pahole single-threaded.
macOS Docker packageBundles the kernel and guest image into eqty-docker; installs, checks and uninstalls that package.

The workflow creates a draft release, verifies the three uploaded assets, then publishes. It fails if any build or test fails, an asset is missing, or the release exists. replace_existing removes an old release and tag only after every new package passes its build, signature, notarization and install checks. No VM boots in the workflow, since GitHub’s Mac runners cannot run one; the docker eqty end-to-end runs stay manual.

The kernel build is reproducible: the same sources in the same toolchain give the same image, so the PCR 9 value recorded in the kernel’s BUILDINFO holds for anyone who rebuilds it. A native arm64 build on a Mac uses a different compiler and gives a different image.

macOS signing uses the same repository secrets as vcomp-notary-desktop. The Docker package’s guest image contains the Linux arm64 notary from that separate release, so CI needs a token with read access to it.

Changelog

The repository’s CHANGELOG.md follows Keep a Changelog, with the notary version each entry needs at the top of the entry.