Relay has not been released. This document is the plan and the checklist; nothing here describes a
shipped artifact. Gate status lives in docs/gates.md; measurements in docs/evidence.md.
- Project license: Apache-2.0. The root
LICENSEis the unmodified Apache License 2.0 text (it differs from the canonical text only by one leading blank line) and[workspace.package] license = "Apache-2.0"is inherited by every crate, so the two agree. - The appendix boilerplate in
LICENSEstill has the[yyyy] [name of copyright owner]placeholder. That is normal for the license file itself; add a copyright line toREADME.mdor aNOTICEfile when the owner decides the wording. - Dependency policy is
deny.toml. Permissive licenses only; three reviewed exceptions (MPL-2.0 foroption-ext, OFL-1.1 and Ubuntu-font-1.0 for the desktop's bundled fonts). Check withcargo deny check. cargo deny checkwas run locally on 2026-11-05 and reported advisories, bans, licenses and sources ok (three unmaintained-crate advisories for the zbus family are ignored with reasons indeny.toml). CI runs it too, once CI has run.
| Purpose | Command | Notes |
|---|---|---|
| Dependency policy | cargo deny check |
cargo install cargo-deny --locked |
| Third-party notices | cargo about generate about.hbs > THIRD_PARTY_LICENSES |
cargo install cargo-about --locked --features cli. Config in about.toml (accepted list mirrors deny.toml) and about.hbs. Generated at release time from the tagged revision and shipped with the binaries (attribution is required for distributed binaries, not for the source tree); the output is git-ignored, not committed. |
| SBOM | cargo cyclonedx --manifest-path apps/relay-daemon/Cargo.toml --format json --describe binaries (repeat for apps/relay-cli and apps/relay-desktop) |
cargo install cargo-cyclonedx --locked. Run once on 2026-11-05 (CycloneDX 1.3, 387 components for relay); output was not committed because it is tied to one lockfile. It writes *_bin.cdx.json next to each binary crate's manifest, including relay-desktop and the benches; ship only the files for artifacts that are shipped. |
| Fuzz build | cd fuzz && cargo +nightly fuzz build |
Needs nightly and cargo install cargo-fuzz --locked. |
| Fuzz run | cd fuzz && cargo +nightly fuzz run <target> -- -max_total_time=600 |
Targets: rtp_parse, record_header, control_envelope, media_datagram, channel_wire, channel_text, manual_endpoint, avatar_decode. |
SBOMs are release outputs attached to the release, not committed on main. The notices file is committed
as a snapshot but is only authoritative when regenerated at the release revision.
- Freeze. Pick the revision. All crates share
[workspace.package] version; bump it, updateCargo.lockin the same commit, tagvX.Y.Z(annotated, signed when a signing key exists). - Gates. Walk
docs/gates.md. Every gate that applies to the claimed targets must be met-by-test or have recorded hardware or review evidence at this revision. If not, the release either narrows its claims or does not happen. A tag cannot be cut with an open blocker row. - Local checks on the tag.
cargo fmt --all -- --check,cargo clippy --all-targets -- -D warnings,cargo test,cargo deny check, plus the desktop crate built separately. - CI green on the same commit for ubuntu, macos and windows (see
.github/workflows/ci.yml). - Build artifacts from a clean checkout with the pinned toolchain (
rust-toolchain.toml), usingcargo build --release --locked -p relay-daemon -p relay-cli(and-p relay-desktopfor the GUI). Artifacts arerelayd,relayandrelay-desktop, installed side by side (docs/packaging.md). Each target is built on its native runner; there is no cross-compiled artifact unless it is separately qualified. - Notices and SBOM. Generate
THIRD_PARTY_LICENSESand the CycloneDX files from the tagged revision. Translations are embedded fromlocalizations/(nothing to ship beside the binary); every language ships; a native-speaker review is wanted but not required (docs/i18n.md,docs/gates.md). Also shipassets/font/OFL-*.txtandassets/font/LICENSE-phosphor.txt(the bundled Noto fonts are OFL 1.1 and the Phosphor icon font is MIT; neither is a crate, socargo aboutdoes not list them). - Hash and sign (below), publish, then record the release in
docs/evidence.mdwith the commit, toolchain, host OS and artifact hashes.
.github/workflows/release.yml and the scripts in scripts/packaging/ are described step by step in
docs/releasing.md (artifact names, jobs, local packaging). In short: a vX.Y.Z tag equal to the
workspace version builds every package on its native runner with the toolchain pinned in
rust-toolchain.toml and Swatinem/rust-cache, then publishes a draft-then-final GitHub release whose
asset list is diffed against the expected set. The same workflow runs build-only on pull requests that
touch packaging files and by hand. Release notes come from git-cliff (cliff.toml) over the
conventional commits.
Not done: the APK is debug-signed (installable, not a Play Store build), macOS apps are ad-hoc signed
and not notarized, Windows binaries are unsigned, and the workflow has never run. Everything that
needs a Linux or Windows host (cargo-packager, cargo-generate-rpm, WiX, the MSI check) is unverified
until the first CI run; docs/releasing.md lists what was run locally.
Planned, not in place:
- A
SHA256SUMS.txtfile (written by the release workflow) lists every artifact, SBOM and notices file. It is itself signed. - Release signing with a project-held key (minisign or
gpg); the public key is published in the repository and the release notes. Signing happens on a maintainer machine, never in CI with a stored private key. - Build provenance: the release workflow requests a GitHub artifact attestation for every asset (unverified until it runs).
Until then, the recorded commit, toolchain and
Cargo.lockhash are the provenance claim, and reproducibility is not claimed. - macOS: Developer ID signing and notarization of the app bundle and the
relaybinary. Needed for the microphone permission flow to be tested at all. No identity exists yet. - Windows: Authenticode signing. No certificate exists yet. Until then Windows artifacts, if built, are labelled unsigned developer builds.
- Linux:
.deb,.rpm,.AppImageand a tarball, all unsigned, with checksums. No repository is published.
A cell is filled only when its evidence exists. Everything below is currently unverified.
| Target | Headless CLI/engine build | Test suite | Real audio call | Global PTT | Desktop GUI | Status |
|---|---|---|---|---|---|---|
| macOS 14, Apple silicon | built and tested locally by authors | run locally by authors | not run | not run | built locally, not observed | developer builds only |
| macOS, Intel | not built | not run | not run | not run | not run | unsupported |
| Windows 10/11 x64 | CI job written, not run | not run | not run | not run | not run | unsupported |
| Linux x86_64 (X11) | CI job written, not run | not run | not run | not run | not run | unsupported |
| Linux (Wayland, portal PTT) | not built | not run | not run | not run | not run | unsupported |
| Linux aarch64 | not built | not run | not run | not run | not run | unsupported |
Promotion rule: a target becomes "supported" for a capability only when a dated entry in
docs/evidence.md names the OS version, hardware, command and result, and the matching rows in
docs/gates.md are updated. Latency or resource numbers are quoted only with the conditions listed
there; the current microbenchmarks are not call latency.
- Independent security review of the peer transport and channels (
docs/net.md,docs/channels.md). - Windows local transport (named pipe) and its access control.
- Hardware validation of capture/playback, global PTT and a two-machine call.
- Signing identities for macOS and Windows.
- Desktop client resource measurement.
- Before publishing: delete the tag and draft release; nothing has reached users.
- After publishing: mark the release as withdrawn in its notes, remove the download links, publish a checksum revocation note, and ship a fixed patch version. Tags are never moved or reused.
- There is no auto-update channel, so a withdrawn build stays installed until the user replaces it; the release notes state the replacement and any manual step.
- Data: the per-user SQLite database carries a schema version and refuses a newer schema without touching the file, so downgrading the binary cannot corrupt a newer database. A downgrade to an older schema is not supported; a user restores the snapshot taken at open time or starts fresh. No compatibility shims exist because there is no earlier release.
- Security-relevant rollbacks (key handling, transport) bump the wire major so mismatched peers fail at the preface instead of falling back.