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
bug: frontend: the Windows auto-updater downloads and installs upstream OBS Studio #1729
Found while fixing the same problem on macOS (#1727).
What happens
On Windows, OBS-Studio-Rust's updater talks to upstream OBS Studio's servers:
frontend/utility/AutoUpdateThread.cpp.hpp: WIN_MANIFEST_URL, WIN_MANIFEST_BASE_URL, WIN_BRANCHES_URL and WIN_UPDATER_URL are all under https://obsproject.com/update_studio/.
frontend/updater/updater.cpp.hpp: kCDNUrl, kCDNUpdateBaseUrl and kPatchManifestURL are on cdn-fastly.obsproject.com and obsproject.com.
frontend/cmake/os-windows.cmake builds the updater unconditionally.
Upstream signs these manifests with its own key, and the updater accepts them. So a Windows OBS-Studio-Rust build can offer, download and install upstream OBS Studio over itself, replacing the Rust build.
Expected
Until obs-rust publishes its own signed update feed (see the follow-up issue for macOS), the Windows updater is off: no update check and no Help > Check for Updates. Users update from obs-rust releases.
Test
Add it to ci/test_no_upstream_updater.py (#1727): fail if any updater URL in the frontend points at obsproject.com while the updater is built. Show it RED first.
RED: extend ci/test_no_upstream_updater.py to fail while the Windows updater (AutoUpdateThread / updater.exe) points at obsproject.com and is built by default.
GREEN: ENABLE_WIN_UPDATER CMake option (default OFF) in frontend/cmake/os-windows.cmake; when off, no updater subdirectory, no AutoUpdateThread, no update checks, and Help > Check for Updates / Repair and the settings update group are removed, like macOS without Sparkle.
Artifact-level verification only. The live self-update test is still pending: release run 39768853006 built every platform, but the publish step is blocked by the hybrid approval gate, so no certified release or feed exists to update from.
What I checked: the obs-studio-rust-windows-x64 artifact from run 39768853006 (head 71382af39, OBS-Studio-Rust-0.1.0-beta.20261022-windows-x64.zip). #1742 (merge 77cd0e47d) is an ancestor of 71382af39. I ran strings and strings -el over every .exe and .dll.
No upstream updater in the package. It contains no updater.exe and no file with "updat" in its name; os-windows.cmake no longer builds it (build: publish a signed Windows update manifest and turn ENABLE_WIN_UPDATER back on #1736). No binary contains cdn-fastly.obsproject.com, update_studio/getpatchmanifest or an obsproject.com manifest.json. That source (frontend/updater/updater.cpp.hpp:24-27) is still in the tree but is not compiled.
Upstream's signing key is not shipped.data/obs-studio/OBSPublicRSAKey.pem (RSA-4096, ...AramOrg+JnU+xAYh7WYbU...) matches the obs-rust key at 71382af39 (it differs only in CRLF line endings). It is not upstream's key (...Al3sverw9HQ+rYQNn9Ca7..., from 5abfc7c56). obs64.exe does not embed either key; it loads the .pem at runtime. The other BEGIN PUBLIC KEY hits are generic PEM parser strings in libcurl, Qt6Network and obs-outputs, plus Chromium's own key in libcef.
Remaining obsproject.com strings that are not install paths:
https://obsproject.com/update_studio/whatsnew.json (WhatsNewInfoThread). It is checked against the same obs-rust key, so upstream's signature should fail and nothing gets installed.
Help, Discord and auth links.
rtmp-services.dll and win-capture.dll use obs2_update/ data feeds for service and offset lists. These are not app updates.
Tests: #1727 was closed without merging. Its ci/test_no_upstream_updater.py landed through #1742 and was extended for Windows. test_windows_updater_is_on_and_does_not_build_upstream_updater_exe asserts that updater.exe is absent, and the publish checks assert there is no cdn-fastly.obsproject.com. These tests check the source and workflows; none of them inspects the built binaries.
Evidence: the 20261022 Windows build cannot install upstream OBS (tested on Linux, 2026-10-22)
The test used the published obs-studio-rust-v0.1.0-beta.20261022 (certified) and obs-studio-rust-v0.1.0-beta.20261023 (certified, now Latest). The source at the 20261022 tag (9f37f663b) has the same frontend/utility/ as current master.
Checks run on the real 20261022 artifacts
Check
Result
OBS-Studio-Rust-0.1.0-beta.20261022-windows-x64.zip has no updater.exe, the upstream per-file installer (find -iname '*updater*')
PASS: none shipped
strings of every non-plugin .exe/.dll in the zip contains no cdn-fastly.obsproject.com, getpatchmanifest or update_studio/manifest
PASS: no hits
Update URLs in bin/64bit/obs64.exe (from strings)
Only https://github.com/obs-rust/obs-studio/releases/latest/download/{manifest,branches}.json, .../releases/download/continuous/, and .../releases/download/ (the download-prefix check)
Key shipped at data/obs-studio/OBSPublicRSAKey.pem
Same as frontend/data/OBSPublicRSAKey.pem except for CRLF line endings. It is a different key from upstream's (sha256 of upstream's PEM: 660c3276…)
Upstreamhttps://obsproject.com/update_studio/manifest.json, with its signature taken from the live X-Signature header, checked against the obs-rust key (RSA PKCS#1 v1.5 SHA-512, the scheme FetchAndVerifyFile uses)
PASS: INVALID
Control: the same upstream manifest against upstream's key
VALID, so the harness works
Live obs-rust latest/download/manifest.json against upstream's key
INVALID
Upstream manifest given to the real ParseObsRustManifest taken from the tag's AutoUpdateThread.cpp.hpp (pulled out with awk and built with g++ and nlohmann 3.12)
PASS: rejected (key 'version' not found). The manifest would also fail the tag == obs-studio-rust-v<version> and URL-prefix checks.
So an upstream feed fails at the signature check, and also at the manifest parse if the signature check were bypassed. The only download prefix accepted is https://github.com/obs-rust/obs-studio/releases/download/<tag>/<name>.
Simulated, not run on Windows
I extracted the PowerShell installer step (Expand-Archive, then robocopy /E) and imitated it on Linux with cp -a: the 20261023 x64 zip copied over an extracted 20261022 tree. The resulting tree matches the 20261023 zip exactly (2255 files, compared by sha256), and obs64.exe reports 0.1.0-beta.20261023. Both trees have the same file list, so robocopy /E leaves no stale files for this update.
Not tested
I did not run the real obs64.exe or the PowerShell/robocopy installer on Windows. wine and pwsh are not available on this host, and robocopy has no Linux equivalent.
I did not test an elevated (runas) install into Program Files, the restart, or the GUI update dialog.
Observation, not a #1729 risk: obs64.exe still embeds https://obsproject.com/update_studio/whatsnew.json. It is reached only from the Help > What's New action (or when WHATSNEW_ENABLED is set, which is OFF by default). It is verified with the obs-rust key, so upstream content fails verification and nothing is installed from it.
Activity
zackees commentedon Oct 22, 2026
Claiming: #1729 (Windows updater off until obs-rust has its own feed, #1730).
Plan (one PR, stacked on #1727 while it is open):
ci/test_no_upstream_updater.pyto fail while the Windows updater (AutoUpdateThread / updater.exe) points at obsproject.com and is built by default.ENABLE_WIN_UPDATERCMake option (default OFF) infrontend/cmake/os-windows.cmake; when off, noupdatersubdirectory, no AutoUpdateThread, no update checks, and Help > Check for Updates / Repair and the settings update group are removed, like macOS without Sparkle.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)
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
Artifact-level verification only. The live self-update test is still pending: release run 39768853006 built every platform, but the publish step is blocked by the hybrid approval gate, so no certified release or feed exists to update from.
What I checked: the
obs-studio-rust-windows-x64artifact from run 39768853006 (head71382af39,OBS-Studio-Rust-0.1.0-beta.20261022-windows-x64.zip). #1742 (merge77cd0e47d) is an ancestor of71382af39. I ranstringsandstrings -elover every .exe and .dll.updater.exeand no file with "updat" in its name;os-windows.cmakeno longer builds it (build: publish a signed Windows update manifest and turn ENABLE_WIN_UPDATER back on #1736). No binary containscdn-fastly.obsproject.com,update_studio/getpatchmanifestor an obsproject.commanifest.json. That source (frontend/updater/updater.cpp.hpp:24-27) is still in the tree but is not compiled.data/obs-studio/OBSPublicRSAKey.pem(RSA-4096,...AramOrg+JnU+xAYh7WYbU...) matches the obs-rust key at71382af39(it differs only in CRLF line endings). It is not upstream's key (...Al3sverw9HQ+rYQNn9Ca7..., from5abfc7c56). obs64.exe does not embed either key; it loads the .pem at runtime. The otherBEGIN PUBLIC KEYhits are generic PEM parser strings in libcurl, Qt6Network and obs-outputs, plus Chromium's own key in libcef.Remaining obsproject.com strings that are not install paths:
https://obsproject.com/update_studio/whatsnew.json(WhatsNewInfoThread). It is checked against the same obs-rust key, so upstream's signature should fail and nothing gets installed.rtmp-services.dllandwin-capture.dlluseobs2_update/data feeds for service and offset lists. These are not app updates.Tests: #1727 was closed without merging. Its
ci/test_no_upstream_updater.pylanded through #1742 and was extended for Windows.test_windows_updater_is_on_and_does_not_build_upstream_updater_exeasserts thatupdater.exeis absent, and the publish checks assert there is nocdn-fastly.obsproject.com. These tests check the source and workflows; none of them inspects the built binaries.zackees commentedon Oct 22, 2026
Evidence for certified release 20261022 is in #1730 (comment). In short:
releases/latest/download/andreleases/download/continuous/).Not done yet: a true install-then-self-update test needs a second certified release built with the new updater.
zackees commentedon Oct 23, 2026
Evidence: the 20261022 Windows build cannot install upstream OBS (tested on Linux, 2026-10-22)
The test used the published
obs-studio-rust-v0.1.0-beta.20261022(certified) andobs-studio-rust-v0.1.0-beta.20261023(certified, now Latest). The source at the 20261022 tag (9f37f663b) has the samefrontend/utility/as current master.Checks run on the real 20261022 artifacts
OBS-Studio-Rust-0.1.0-beta.20261022-windows-x64.ziphas noupdater.exe, the upstream per-file installer (find -iname '*updater*')stringsof every non-plugin.exe/.dllin the zip contains nocdn-fastly.obsproject.com,getpatchmanifestorupdate_studio/manifestbin/64bit/obs64.exe(fromstrings)https://github.com/obs-rust/obs-studio/releases/latest/download/{manifest,branches}.json,.../releases/download/continuous/, and.../releases/download/(the download-prefix check)data/obs-studio/OBSPublicRSAKey.pemfrontend/data/OBSPublicRSAKey.pemexcept for CRLF line endings. It is a different key from upstream's (sha256 of upstream's PEM:660c3276…)https://obsproject.com/update_studio/manifest.json, with its signature taken from the liveX-Signatureheader, checked against the obs-rust key (RSA PKCS#1 v1.5 SHA-512, the schemeFetchAndVerifyFileuses)latest/download/manifest.jsonagainst upstream's keyParseObsRustManifesttaken from the tag'sAutoUpdateThread.cpp.hpp(pulled out with awk and built with g++ and nlohmann 3.12)key 'version' not found). The manifest would also fail thetag == obs-studio-rust-v<version>and URL-prefix checks.So an upstream feed fails at the signature check, and also at the manifest parse if the signature check were bypassed. The only download prefix accepted is
https://github.com/obs-rust/obs-studio/releases/download/<tag>/<name>.Simulated, not run on Windows
Expand-Archive, thenrobocopy /E) and imitated it on Linux withcp -a: the 20261023 x64 zip copied over an extracted 20261022 tree. The resulting tree matches the 20261023 zip exactly (2255 files, compared by sha256), andobs64.exereports0.1.0-beta.20261023. Both trees have the same file list, sorobocopy /Eleaves no stale files for this update.Not tested
obs64.exeor the PowerShell/robocopy installer on Windows. wine and pwsh are not available on this host, and robocopy has no Linux equivalent.runas) install into Program Files, the restart, or the GUI update dialog.Observation, not a #1729 risk:
obs64.exestill embedshttps://obsproject.com/update_studio/whatsnew.json. It is reached only from the Help > What's New action (or whenWHATSNEW_ENABLEDis set, which is OFF by default). It is verified with the obs-rust key, so upstream content fails verification and nothing is installed from it.zackees commentedon Oct 23, 2026
The maintainer confirmed this stays closed (2026-10-23). The install-then-self-update test from 20261022 to 20261023 passed: #1729 (comment).