Skip to content

build: publish a signed Windows update manifest and turn ENABLE_WIN_UPDATER back on #1736

Closed

Description

@zackees

Follow-up to #1730 (macOS feed) and #1729/#1733 (Windows updater off by default).

What's missing

The Windows updater (frontend/utility/AutoUpdateThread.cpp.hpp, frontend/updater/) needs, from a host obs-rust controls:

  • manifest.json (and per-branch manifest_<branch>.json), branches.json and updater.exe: today WIN_MANIFEST_URL, WIN_MANIFEST_BASE_URL, WIN_BRANCHES_URL, WIN_UPDATER_URL all point at obsproject.com.
  • RSA-SHA512 (PKCS#1 v1.5) signatures. build: publish an obs-rust update feed and re-enable the in-app updaters #1730 added the obs-rust key (frontend/data/OBSPublicRSAKey.pem; private half in the OBS_RUST_UPDATE_RSA_PRIVATE_KEY secret) and a detached <url>.sig fallback in FetchAndVerifyFile, since GitHub release assets can't send X-Signature. Check whether updater.exe verifies the manifest and updater.exe itself with its own embedded key and the same header (frontend/updater/); if so it needs the same key and .sig fallback.
  • The manifest's per-file packages: updater.exe downloads individual files by hash (blake2) and optional delta patches, which upstream builds with .github/actions/windows-patches and uploads to GCS. obs-rust only publishes OBS-Studio-Rust-<ver>-windows-<arch>.zip. A minimal pipeline: unzip the release zip, write a manifest of every file with its hash and a download URL (one release asset per file is impractical; consider a per-release files/ tree on a static host, or teach the updater to take the whole zip), sign it, publish next to the macOS feed on the update-feed release.

Done when

  • publish.yaml's update-feed job also writes and signs the Windows manifest and branches.
  • The four URLs point at obs-rust; ci/test_no_upstream_updater.py asserts it.
  • ENABLE_WIN_UPDATER defaults ON, and a packaged-artifact test shows an installed old build updating to the new one.

Activity

  1. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    Closing as done by #1742 (merged). The Windows updater now verifies manifest.json and branches.json with .sig (RSA-SHA512, obs-rust's OBSPublicRSAKey.pem) and accepts only URLs on the manifest's own obs-rust release tag. Upstream's obsproject-only updater.exe path is no longer built, and the ENABLE_WIN_UPDATER switch from #1733 is gone (the maintainer decided the updaters stay on and offer only certified obs-rust releases). The nightly channel is #1759.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions