Compatibility and Releases
Which notary release each swtpm-notary release needs, what each pair enables, and how releases are versioned and published.
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.
| Package | Version | Contents |
|---|---|---|
eqty-swtpm-notary .deb | 0.10.2-eqty.<revision> | The forked swtpm for Ubuntu 26.04 amd64 |
eqty-swtpm-notary .pkg | 0.10.2-eqty.<revision> | The forked swtpm for macOS arm64, self-contained |
eqty-docker .pkg | 0.<revision>.0 | The docker eqty plugin, the VZ guest kernel and the Linux guest image with the guest notary inside, for macOS |
Notary versions
| swtpm-notary | Minimum notary | Recommended | Full socket protocol (ops 0, 4, 5, 6) | Guest notary in the Docker package |
|---|---|---|---|---|
0.10.2-eqty.1 | 0.0.5 | 0.0.7 or later | 0.0.8 | 0.0.7 |
| Unreleased | 0.0.5 | 0.0.8 | 0.0.8 | Set at release time, default 0.0.8 |
What each notary release brings to vTPMs:
| Notary | vTPMs |
|---|---|
| 0.0.5 | First 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.6 | Same, plus the arm64 Linux .deb used as the guest notary. |
| 0.0.7 | Hardware-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.8 | Answers 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:
| Job | Does |
|---|---|
| Ubuntu 26.04 | Verifies the patch series, builds the .deb, runs libtpms and swtpm make check, installs the .deb and starts swtpm with --eps. |
| macOS arm64 | Builds the .pkg, signed when the secrets are set; checks that the packaged swtpm runs, loads no Homebrew library and has a valid signature. |
| Docker scripts | bash -n, Python compile and shellcheck --severity=error. |
| VZ guest kernel | Cross-compiles the arm64 kernel on an amd64 runner, in ubuntu:24.04, reproducibly: build time, user and host pinned, pahole single-threaded. |
| macOS Docker package | Bundles 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.