Repository navigation
Closed
Labels
P2Soon: visible problem with a workaround, accessibility, compatibility or energyenhancementNew feature or requestreleased
Description
Problem
StableBar's updates are trusted through the Developer ID signature alone. #100 chose this deliberately, so updates work and are safe today. The cost shows up later:
- The signing team can't change. Sparkle accepts an update only when it is signed like the running app. If releases ever have to be signed by another team, for example an organization account instead of today's personal one, every installed copy rejects the update and users must reinstall by hand. Sparkle lets you rotate one key while the other still matches, but only when the app has both a Developer ID signature and an EdDSA key.
- Sparkle unpacks the download before checking it. Without an EdDSA signature, Sparkle can verify the update only from the extracted app.
SUVerifyUpdateBeforeExtraction(Sparkle 2.7.3+) checks the archive first, andSURequireSignedFeed(2.9+) signs the appcast and release notes too. Both need EdDSA. StableBar is on Sparkle 2.10.0, which supports both.
On main at bf68523:
- Resources/Info.plist:21 sets
SUFeedURLbut noSUPublicEDKey. - scripts/publish-appcast.sh:20 runs
generate_appcastwithout a private key, so the published appcast.xml has nosparkle:edSignatureon any item.
Proposal
- The owner generates a key pair once with Sparkle's
generate_keys, stores the private key as a repository secret and keeps a backup. Losing it stays recoverable as long as the Developer ID still matches. - Add the public key to
Resources/Info.plistasSUPublicEDKey. - Pass the private key to
generate_appcastinpublish-appcast.sh(--ed-key-file), so every new beta and stable item gets anedSignature. - Once a release with the key has shipped, turn on
SUVerifyUpdateBeforeExtraction, andSURequireSignedFeedif feed signing works with the rollingappcastrelease. - Document the key and the secret in CONTRIBUTING's signing section.
Installed releases have no public key, so they still accept the first build that has one on its Developer ID signature, and from then on Sparkle checks both. Ad-hoc and local builds stay without a feed, as prepare-app-info.sh does now.
Possible today
No. Updates are verified only through the Developer ID signature.
Related
- Check for and install updates in the app, on a stable or beta channel #22 planned an EdDSA key pair and
sign_update(steps 5 and 6), and feat: check for and install updates in the app, on a stable or beta track #100 shipped updates without it: "As decided in Check for and install updates in the app, on a stable or beta channel #22's thread, updates are trusted through the Developer ID signature, without an EdDSA key." The thread doesn't record the reason. This issue asks to add the key on top of the Developer ID signing, not to replace it. - Sign releases with a Developer ID and notarize them #76 added Developer ID signing and notarization.
Triaged by Claude Code (Claude Opus 5.5).
Metadata
Metadata
Assignees
Labels
P2Soon: visible problem with a workaround, accessibility, compatibility or energyenhancementNew feature or requestreleased
Activity
stablebar-releases commentedon Nov 11, 2026
🎉 This issue has been resolved in version 0.13.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀