You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build: publish an obs-rust update feed and re-enable the in-app updaters #1730
Follow-up to #1727 and the Windows updater issue. Both in-app updaters are off, or should be, because the only feeds they know are upstream OBS Studio's.
To do
Signing keys. Create an obs-rust Sparkle EdDSA key pair (macOS) and an update-manifest signing key (Windows). Store the private keys as repository secrets.
macOS:.github/workflows/publish.yaml (the sparkle-appcast step) still builds an appcast with urlPrefix: https://cdn-fastly.obsproject.com/downloads and customLink: https://obsproject.com/. Change it to publish an obs-rust appcast, for example on GitHub Pages or as a release asset, with obs-rust download URLs. Or remove the step until that exists. This is a workflow change, so it needs maintainer sign-off.
Presets and code: set SPARKLE_APPCAST_URL and SPARKLE_PUBLIC_KEY to the obs-rust feed and key. Also fix the hard-coded feed in frontend/utility/OBSSparkle.mm.hpp and MAC_BRANCHES_URL in frontend/utility/MacUpdateThread.cpp.hpp.
Windows: point the manifest, branches and updater URLs at the obs-rust feed.
Tests: extend ci/test_no_upstream_updater.py so the feed and key must be obs-rust's. The packaging test should show the app reading the obs-rust feed.
Claiming: #1730 (one PR, stacked on #1733fix/1729-windows-updater-off while #1727/#1733 are open).
RED: extend ci/test_no_upstream_updater.py so the macOS feed, key, Rosetta feed override and branches URL must be obs-rust's, and publish.yaml must not publish upstream URLs.
GREEN: obs-rust Sparkle Ed25519 key and RSA metadata key (private halves as repo secrets); feed hosted as assets of a fixed update-feed GitHub release, written by publish.yaml after each successful daily release.
Windows stays OFF (ENABLE_WIN_UPDATER): its manifest/patch/updater.exe pipeline gets a follow-up issue.
Decisions: release assets (no Pages/CDN needed); signed metadata fetches follow redirects and accept a detached <file>.sig because GitHub can't send X-Signature. First PR today.
Decision on the three existing full releases (v0.1.0-beta.20261014, 20261018, 20261020): leave them as they are.
Builds already installed from them carry upstream's update settings. Release flags on GitHub don't change what those builds do, so re-marking them protects nobody. Moving off upstream's feed needs a new install.
The new updaters (frontend: Update from certified obs-rust releases #1742) read releases/latest/download/. 20261020 has no manifest.json or appcast, so until the first certify run they get a 404 and report "no update". That's the safe result.
Marking all three as pre-releases would make obs-stream-rust v0.1.0 the repo's Latest, which is worse on the releases page and changes nothing for the updaters.
Next step: after #1742 merges and a daily build ships, run gh workflow run release-rust.yaml -f certify=obs-studio-rust-v<that version>, then test a real self-update from the build before it.
Nightly feed (releases/download/continuous/): manifest.json with "channel": "nightly", its .sig, and both appcasts. It has no branches.json, which is by design for nightly (see ci/update_feed.py).
URLs: every URL in the six files is on github.com/obs-rust/obs-studio. The only other URL is the Sparkle XML namespace (andymatuschak.org). There are 0 references to obsproject.com.
Signatures: RSA PKCS#1 v1.5 SHA-512, checked with uv run --script and cryptography.
upstream key, UI/data/OBSPublicRSAKey.pem before 5abfc7c (fp ca888ef1)
stable/manifest.json
verifies
fails
stable/branches.json
verifies
fails
nightly/manifest.json
verifies
fails
c) strings on the shipped binaries
Windows x64 (bin/64bit/obs64.exe from the zip):
Update URLs: only https://github.com/obs-rust/obs-studio/releases/latest/download/{manifest.json,branches.json}, .../releases/download/continuous/ and .../releases/download/.
Key: the bundled data/obs-studio/OBSPublicRSAKey.pem is the obs-rust key (fp d0289c62; it differs from the repo file only by CRLF line endings).
macOS arm64 (OBS-Studio-Rust.app from the DMG):
Info.plist has SUFeedURL = https://github.com/obs-rust/obs-studio/releases/latest/download/updates_arm64_v2.xml and the obs-rust SUPublicEDKey.
The binary contains only obs-rust update and branch URLs plus .../download/continuous/.
Key: Resources/OBSPublicRSAKey.pem is the obs-rust key (fp d0289c62).
Remaining obsproject.com strings: these are help, Discord, contribute and auth links, plus the What's New fetch https://obsproject.com/update_studio/whatsnew.json (WhatsNewInfoThread, which frontend: decide which remaining obsproject.com network calls OBS-Studio-Rust keeps #1732 decided on). None of them is an update feed. The What's New fetch is checked against the obs-rust key, so an upstream-signed whatsnew.json would be rejected.
d) Simulated updater check (Linux)
This script does what the updater does: fetch releases/latest/download/manifest.json and its .sig, verify the signature with the obs-rust key, then compare versions.
live https://github.com/obs-rust/obs-studio/releases/latest/download/manifest.json: signature OK, version 0.1.0-beta.20261022
installed 0.1.0-beta.20261022: up to date
installed 0.1.0-beta.20261020: update available -> 0.1.0-beta.20261022
installed 0.1.0-beta.20261014: update available -> 0.1.0-beta.20261022
Not done yet
A true install-then-self-update test has not been run. 20261022 is the first certified release that ships the new obs-rust updater, so no installed build can update itself to a newer obs-rust release yet. That test needs a second certified (blessed) release built with this updater, and only the maintainer can authorize one.
Evidence: self-update from 20261022 to 20261023 against the live feed (tested on Linux, 2026-10-22)
Releases: obs-studio-rust-v0.1.0-beta.20261022 (certified) and obs-studio-rust-v0.1.0-beta.20261023 (certified). gh api repos/obs-rust/obs-studio/releases/latest returns the 20261023 tag.
Linux AppImage: real self-update, PASS
I ran the real appimageupdatetool (AppImageCommunity continuous, sha256 8d17a50e…) in ubuntu:24.04 Docker on the downloaded 20261022 AppImage:
-j (check): exit 1, meaning an update is available. -O (update): exit 0. zsync2 reported "checksum matches OK", reused 101871616 bytes locally and fetched 6576632.
The result has sha256 6d9d292fd72979dea10491a5a766bc985d1f031a6af7e85367754dbc88b69503, which is identical to the 20261023 SHA256SUMS entry. The old file was 2f7bf5f0….
Caveat: the AppImage follows the continuous (nightly) release, not releases/latest (certified). It works today because continuous currently holds 20261023. A stable AppImage user will still receive uncertified daily builds; that looks like a design choice (build-aux/appimage/test-appimage.sh:296 requires continuous), but it differs from the Windows and macOS "stable" default.
Windows: the real client code against the live feed, PASS
Feed URLs come from strings of the 20261022 bin/64bit/obs64.exe: https://github.com/obs-rust/obs-studio/releases/latest/download/manifest.json and .../branches.json, and .../releases/download/continuous/ for nightly.
The live latest/download/manifest.json is byte-identical to the 20261023 release asset. Its .sig is VALID against the key shipped in the 20261022 zip (data/obs-studio/OBSPublicRSAKey.pem; RSA PKCS#1 v1.5 SHA-512). branches.json and the continuous manifest.json ("channel":"nightly") are also VALID. A cross-check, the continuous .sig against the stable manifest.json, is INVALID as expected.
I built a harness from the 20261022 tag's real obs-rust-update.hpp and the tag's ParseObsRustManifest/IsHexDigest, with current version 0.1.0-beta.20261022:
arm64: YES, the ...-windows-arm64.zip from the same tag
Running 20261023 against the same manifest gives order=0, so no update is offered.
Hashes: the manifest's x64 sha256 f891ab842968f76b359894fce6917a7ea4d25bac7af0b93ed133e4fd3eee11c6 and size 223163449 match the downloaded asset. The arm64 sha256 a91e757c… matches SHA256SUMS. Every URL in the manifest is under github.com/obs-rust/obs-studio.
Install step (simulated): I copied the 20261023 zip over the extracted 20261022 tree, imitating robocopy /E. The result equals the 20261023 tree (2255 files, by sha256), and obs64.exe reports 0.1.0-beta.20261023.
The live appcast item has sparkle:version 2026.10.23 (newer than 2026.10.22). Its enclosure is the 20261023 arm64 DMG on obs-rust, with length 214951658, which matches the asset.
I checked the edSignature with Ed25519 against the 20261022 app's SUPublicEDKey: VALID for the 20261023 DMG, INVALID against the 20261022 DMG (control).
Not tested
I did not run Windows obs64.exe, the PowerShell installer, a UAC/Program Files install or the restart (no Windows, wine or pwsh here).
I did not run Sparkle on a Mac or launch the OBS GUI on any platform. I did not install the .deb (it has no self-update; the system package manager handles it).
I checked only the arm64 appcast and DMG for macOS; I did not check the x86_64 pair.
Scripts and downloads are in my local scratchpad; I can attach them on request.
Closing on the maintainer's decision. The obs-rust feed is published and signed, and the updaters are back on. The update from 20261022 to 20261023 was verified (evidence: #1730 (comment)). Follow-ups for the Linux update channel and the What's New fetch are filed separately.
Activity
zackees commentedon Oct 22, 2026
Claiming: #1730 (one PR, stacked on #1733
fix/1729-windows-updater-offwhile #1727/#1733 are open).ci/test_no_upstream_updater.pyso the macOS feed, key, Rosetta feed override and branches URL must be obs-rust's, andpublish.yamlmust not publish upstream URLs.update-feedGitHub release, written bypublish.yamlafter each successful daily release.ENABLE_WIN_UPDATER): its manifest/patch/updater.exe pipeline gets a follow-up issue.Decisions: release assets (no Pages/CDN needed); signed metadata fetches follow redirects and accept a detached
<file>.sigbecause GitHub can't sendX-Signature. First PR today.ci: RED: updaters must offer only certified obs-rust releases (#1729, #…
frontend: Update from certified obs-rust releases (#1729, #1730, #1736)
ci: RED: updaters must offer only certified obs-rust releases (#1729, #…
frontend: Update from certified obs-rust releases (#1729, #1730, #1736)
zackees commentedon Oct 22, 2026
Decision on the three existing full releases (v0.1.0-beta.20261014, 20261018, 20261020): leave them as they are.
releases/latest/download/. 20261020 has nomanifest.jsonor appcast, so until the first certify run they get a 404 and report "no update". That's the safe result.obs-stream-rust v0.1.0the repo's Latest, which is worse on the releases page and changes nothing for the updaters.--latest=false, and certify sets--latestexplicitly, so the first certified release (built after frontend: Update from certified obs-rust releases #1742 merges) takes Latest on its own.Next step: after #1742 merges and a daily build ships, run
gh workflow run release-rust.yaml -f certify=obs-studio-rust-v<that version>, then test a real self-update from the build before it.ci: RED: updaters must offer only certified obs-rust releases (#1729, #…
frontend: Update from certified obs-rust releases (#1729, #1730, #1736)
ci: RED: updaters must offer only certified obs-rust releases (#1729, #…
frontend: Update from certified obs-rust releases (#1729, #1730, #1736)
frontend: Update from certified obs-rust releases (obs-rust#1742)
zackees commentedon Oct 22, 2026
Evidence: obs-rust update feed on certified release 20261022
Release: obs-studio-rust-v0.1.0-beta.20261022. Publish run 39845783549 succeeded; certify run 39858309482 was done at the maintainer's request.
a) Latest and the commit it was built from
GET releases/latestreturnsobs-studio-rust-v0.1.0-beta.20261022(prerelease=false). It was built from9f37f663bce5.git merge-base --is-ancestorconfirms that9f37f663contains:77cd0e47)bd49ef7d)88a9de45)9f37f663, the head commit itself)b) Feed assets and signatures
releases/latest/download/):manifest.json,manifest.json.sig,branches.json([]),branches.json.sig,updates_x86_64_v2.xml,updates_arm64_v2.xml.manifest.jsonhas"channel": "stable".releases/download/continuous/):manifest.jsonwith"channel": "nightly", its.sig, and both appcasts. It has nobranches.json, which is by design for nightly (seeci/update_feed.py).github.com/obs-rust/obs-studio. The only other URL is the Sparkle XML namespace (andymatuschak.org). There are 0 references toobsproject.com.uv run --scriptandcryptography.frontend/data/OBSPublicRSAKey.pem(fp d0289c62)UI/data/OBSPublicRSAKey.pembefore 5abfc7c (fp ca888ef1)c)
stringson the shipped binariesbin/64bit/obs64.exefrom the zip):https://github.com/obs-rust/obs-studio/releases/latest/download/{manifest.json,branches.json},.../releases/download/continuous/and.../releases/download/.data/obs-studio/OBSPublicRSAKey.pemis the obs-rust key (fp d0289c62; it differs from the repo file only by CRLF line endings).OBS-Studio-Rust.appfrom the DMG):Info.plisthasSUFeedURL = https://github.com/obs-rust/obs-studio/releases/latest/download/updates_arm64_v2.xmland the obs-rustSUPublicEDKey..../download/continuous/.Resources/OBSPublicRSAKey.pemis the obs-rust key (fp d0289c62).obsproject.comstrings: these are help, Discord, contribute and auth links, plus the What's New fetchhttps://obsproject.com/update_studio/whatsnew.json(WhatsNewInfoThread, which frontend: decide which remaining obsproject.com network calls OBS-Studio-Rust keeps #1732 decided on). None of them is an update feed. The What's New fetch is checked against the obs-rust key, so an upstream-signedwhatsnew.jsonwould be rejected.d) Simulated updater check (Linux)
This script does what the updater does: fetch
releases/latest/download/manifest.jsonand its.sig, verify the signature with the obs-rust key, then compare versions.Not done yet
A true install-then-self-update test has not been run. 20261022 is the first certified release that ships the new obs-rust updater, so no installed build can update itself to a newer obs-rust release yet. That test needs a second certified (blessed) release built with this updater, and only the maintainer can authorize one.
zackees commentedon Oct 23, 2026
Evidence: self-update from 20261022 to 20261023 against the live feed (tested on Linux, 2026-10-22)
Releases:
obs-studio-rust-v0.1.0-beta.20261022(certified) andobs-studio-rust-v0.1.0-beta.20261023(certified).gh api repos/obs-rust/obs-studio/releases/latestreturns the 20261023 tag.Linux AppImage: real self-update, PASS
I ran the real
appimageupdatetool(AppImageCommunity continuous, sha2568d17a50e…) inubuntu:24.04Docker on the downloaded 20261022 AppImage:gh-releases-zsync|obs-rust|obs-studio|continuous|OBS-Studio-Rust-*-linux-x86_64.AppImage.zsynchttps://github.com/obs-rust/obs-studio/releases/download/continuous/OBS-Studio-Rust-0.1.0-beta.20261023-linux-x86_64.AppImage.zsync-j(check): exit 1, meaning an update is available.-O(update): exit 0. zsync2 reported "checksum matches OK", reused 101871616 bytes locally and fetched 6576632.6d9d292fd72979dea10491a5a766bc985d1f031a6af7e85367754dbc88b69503, which is identical to the 20261023SHA256SUMSentry. The old file was2f7bf5f0….releases/latest(certified). It works today because continuous currently holds 20261023. A stable AppImage user will still receive uncertified daily builds; that looks like a design choice (build-aux/appimage/test-appimage.sh:296requirescontinuous), but it differs from the Windows and macOS "stable" default.Windows: the real client code against the live feed, PASS
stringsof the 20261022bin/64bit/obs64.exe:https://github.com/obs-rust/obs-studio/releases/latest/download/manifest.jsonand.../branches.json, and.../releases/download/continuous/for nightly.latest/download/manifest.jsonis byte-identical to the 20261023 release asset. Its.sigis VALID against the key shipped in the 20261022 zip (data/obs-studio/OBSPublicRSAKey.pem; RSA PKCS#1 v1.5 SHA-512).branches.jsonand the continuousmanifest.json("channel":"nightly") are also VALID. A cross-check, the continuous.sigagainst the stablemanifest.json, is INVALID as expected.obs-rust-update.hppand the tag'sParseObsRustManifest/IsHexDigest, with current version0.1.0-beta.20261022:order=1 updateAvailable=YES, urlhttps://github.com/obs-rust/obs-studio/releases/download/obs-studio-rust-v0.1.0-beta.20261023/OBS-Studio-Rust-0.1.0-beta.20261023-windows-x64.zip...-windows-arm64.zipfrom the same tagorder=0, so no update is offered.f891ab842968f76b359894fce6917a7ea4d25bac7af0b93ed133e4fd3eee11c6and size 223163449 match the downloaded asset. The arm64 sha256a91e757c…matchesSHA256SUMS. Every URL in the manifest is undergithub.com/obs-rust/obs-studio.robocopy /E. The result equals the 20261023 tree (2255 files, by sha256), andobs64.exereports0.1.0-beta.20261023.macOS Sparkle: feed and signature, PASS (not run)
Info.plist:SUFeedURL=https://github.com/obs-rust/obs-studio/releases/latest/download/updates_arm64_v2.xml,SUPublicEDKey=x7PaevvHxyhTaZdEFDhjr6+SqKf631gWXuIHowm6D3I=,CFBundleVersion=2026.10.22, Sparkle.framework bundled.sparkle:version 2026.10.23(newer than 2026.10.22). Its enclosure is the 20261023 arm64 DMG on obs-rust, with length 214951658, which matches the asset.edSignaturewith Ed25519 against the 20261022 app'sSUPublicEDKey: VALID for the 20261023 DMG, INVALID against the 20261022 DMG (control).Not tested
obs64.exe, the PowerShell installer, a UAC/Program Files install or the restart (no Windows, wine or pwsh here)..deb(it has no self-update; the system package manager handles it).Scripts and downloads are in my local scratchpad; I can attach them on request.
zackees commentedon Oct 23, 2026
Closing on the maintainer's decision. The obs-rust feed is published and signed, and the updaters are back on. The update from 20261022 to 20261023 was verified (evidence: #1730 (comment)). Follow-ups for the Linux update channel and the What's New fetch are filed separately.