Repository navigation
Conversation
…1730) publish.yaml writes per-arch Sparkle appcasts and an RSA-signed branches.json to the fixed update-feed release after each daily release. The presets, the Rosetta feed override and MAC_BRANCHES_URL name that feed; OBSPublicRSAKey.pem is obs-rust's metadata key. Signed metadata fetches follow redirects and fall back to a detached <url>.sig, since GitHub release assets can't send X-Signature. app_identity_check.py bundle now checks the packaged SUFeedURL, SUPublicEDKey and Sparkle.framework.
This was referenced Oct 22, 2026
Member
Author
|
Superseded by #1742. Per the maintainer's decision, the updaters stay on and offer only certified obs-rust releases (daily builds are pre-releases; a certify dispatch promotes one and attaches a signed feed). |
zackees
added a commit
that referenced
this pull request
Oct 22, 2026
Daily betas are now GitHub pre-releases. A maintainer certifies one with 'gh workflow run release-rust.yaml -f certify=<tag>': the certify job checks the assets against SHA256SUMS, writes the update feed with ci/update_feed.py (EdDSA-signed Sparkle appcasts, RSA-signed manifest.json and branches.json), uploads it, and then makes the release a full release marked Latest. Both updaters stay on and read github.com/obs-rust/obs-studio/releases/latest/download/, which resolves only to certified releases. macOS: Sparkle feed and key are obs-rust's (from #1737). Windows: AutoUpdateThread verifies the signed manifest, compares versions (obs-rust-update.hpp), downloads the release ZIP, checks its SHA-256 and installs it after OBS exits; upstream's CDN updater.exe is no longer built. Upstream's appcast jobs are removed from publish.yaml.
zackees
added a commit
that referenced
this pull request
Oct 22, 2026
Daily betas are now GitHub pre-releases. A maintainer certifies one with 'gh workflow run release-rust.yaml -f certify=<tag>': the certify job checks the assets against SHA256SUMS, writes the update feed with ci/update_feed.py (EdDSA-signed Sparkle appcasts, RSA-signed manifest.json and branches.json), uploads it, and then makes the release a full release marked Latest. Both updaters stay on and read github.com/obs-rust/obs-studio/releases/latest/download/, which resolves only to certified releases. macOS: Sparkle feed and key are obs-rust's (from #1737). Windows: AutoUpdateThread verifies the signed manifest, compares versions (obs-rust-update.hpp), downloads the release ZIP, checks its SHA-256 and installs it after OBS exits; upstream's CDN updater.exe is no longer built. Upstream's appcast jobs are removed from publish.yaml.
zackees
added a commit
that referenced
this pull request
Oct 22, 2026
Daily betas are now GitHub pre-releases. A maintainer certifies one with 'gh workflow run release-rust.yaml -f certify=<tag>': the certify job checks the assets against SHA256SUMS, writes the update feed with ci/update_feed.py (EdDSA-signed Sparkle appcasts, RSA-signed manifest.json and branches.json), uploads it, and then makes the release a full release marked Latest. Both updaters stay on and read github.com/obs-rust/obs-studio/releases/latest/download/, which resolves only to certified releases. macOS: Sparkle feed and key are obs-rust's (from #1737). Windows: AutoUpdateThread verifies the signed manifest, compares versions (obs-rust-update.hpp), downloads the release ZIP, checks its SHA-256 and installs it after OBS exits; upstream's CDN updater.exe is no longer built. Upstream's appcast jobs are removed from publish.yaml.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #1730 (Windows split out to #1736).
Stacked on #1733 (
fix/1729-windows-updater-off, itself on #1727). Retarget to master once those merge.What
update-feedGitHub release:updates_arm64_v2.xml,updates_x86_64_v2.xml,branches.json,branches.json.sigathttps://github.com/obs-rust/obs-studio/releases/download/update-feed/. No new infrastructure. Each appcast enclosure points at the DMG on the taggedobs-studio-rust-v*release.create-appcast/merge-appcastsjobs (obsproject CDNurlPrefix/customLink, only forobsproject) are replaced by anupdate-feedjob. It runs onworkflow_runof Release OBS-Studio-Rust, because that workflow creates releases withGITHUB_TOKEN, which never firesrelease: published. It also runs onworkflow_dispatch(optional tag). It takes the latest non-prereleaseobs-studio-rust-v*release, downloads both DMGs, runs Sparkle'sgenerate_appcast(version and hash from the presets) with the obs-rust key, signsbranches.jsonwith RSA, and uploads with--clobber. If the feed already offers the tag, it skips. The upstreamsparkle-appcastaction is left unused: it expects the obsproject CDN layout (deltas underurlPrefix/sparkle_deltas), which release assets can't provide.CMakePresets.jsonandci/app_identity_check.py) and a new RSA-4096 metadata key (frontend/data/OBSPublicRSAKey.pemreplaces upstream's, so upstream-signed metadata is no longer trusted). The private keys are only in the repo secretsOBS_RUST_SPARKLE_PRIVATE_KEYandOBS_RUST_UPDATE_RSA_PRIVATE_KEY.SPARKLE_APPCAST_URL/SPARKLE_PUBLIC_KEYto obs-rust's, which turns the updater back on. The Rosetta feed override inOBSSparkle.mm.hppandMAC_BRANCHES_URLnow point at obs-rust.GetRemoteFilefollows redirects for signed fetches only (GitHub assets redirect; the content is verified afterwards).FetchAndVerifyFilefalls back to<url>.sigwhen there is noX-Signatureheader. Without these two changes, the branches fetch would throw andMacUpdateThreadwould never emitResult, so Sparkle would never check.ENABLE_WIN_UPDATERdefault OFF, from frontend: Turn off the Windows updater that installs upstream OBS (#1729) #1733). Its manifest, per-file packages, patches andupdater.exepipeline is build: publish a signed Windows update manifest and turn ENABLE_WIN_UPDATER back on #1736.RED → GREEN
87d8aec51:ci/test_no_upstream_updater.pyfails 9 subtests. The macOS preset feed/key are empty,OBSSparkle.mm.hpp/MacUpdateThread.cpp.hppstill use obsproject.com, the RSA key is upstream's,publish.yamlhasurlPrefix: 'https://cdn-fastly.obsproject.com/...', andapp_identity_check.check_bundleaccepts an upstream feed and key. It still fails on any obsproject.com feed.fc0f6a27b: all 7 tests pass;./lintpasses (ci.tomlallows the two new publish.yaml triggers).Packaged-artifact check
release-rust.yaml'smacos_smokealready runsci/app_identity_check.py bundleon the app copied out of the released DMG. That check now requiresSUFeedURL= the obs-rust feed for arm64 or x86_64 (so$(ARCHS)must have expanded),SUPublicEDKey= obs-rust's key, and an embeddedSparkle.framework(present in obs-rust/obs-deps 2026-08-26 macOS deps; verified). The test drivescheck_bundleon fake bundles. The real-DMG check runs at the next daily release, not in PR CI, because PR CI builds no DMG. Not yet observed: a real app updating itself. That needs a release after this lands, followed by the feed job; then an install of the previous DMG should be offered the new one. HenceRefs.Tiers: no Rust/libobs code; Tiers 1-4 don't apply. C/ObjC changes are frontend-only.