Skip to content

Check updates before unpacking them and sign the update feed, once a release carries the EdDSA key #537

Closed

Description

@Seb-GRAF

Problem

#335 adds an EdDSA key to the app (SUPublicEDKey) and signs every new update in the feed with it. Two Sparkle settings that need that key stay off:

  • Sparkle unpacks the download before checking it. SUVerifyUpdateBeforeExtraction (Sparkle 2.7.3+) checks the archive's EdDSA signature first.
  • The appcast and its release notes aren't signed. SURequireSignedFeed (Sparkle 2.9+) makes the app refuse a feed that isn't signed with the key.

#335 left both for later on purpose: they should wait until a release with the key has shipped and signed updates have been seen working from the feed. StableBar is on Sparkle 2.10.0, which supports both.

Proposal

  1. Once a stable release with SUPublicEDKey has shipped, add SUVerifyUpdateBeforeExtraction to Resources/Info.plist. Changing the key later still works: when the old key doesn't match, Sparkle then checks the archive's Developer ID team instead, and scripts/package.sh signs the DMG with the Developer ID.
  2. Add SURequireSignedFeed if generate_appcast signs appcast.xml from the rolling appcast release. Its help says it signs the appcast and release notes when an update in it requires a signed feed, so a beta with the setting should show the signature in the published feed before a stable release carries it. From then on, every published feed must be signed.
  3. Update the signing section of CONTRIBUTING.

Possible today

No. Sparkle checks the archive only after unpacking it, and the feed has no signature.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Nov 10, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions