Repository navigation
docs: v1.1 signed releases and in-app updates (ADR-0007, ADR-0008, updates spec) - #19
Merged
Merged
Conversation
…es with Sparkle ADR-0007: from v1.1.0, sign releases with a stable self-signed certificate so the Accessibility permission survives updates (the ad-hoc designated requirement is a per-build cdhash). Adds disable-library-validation, which a spike showed is needed to load a self-signed framework. ADR-0008: Sparkle 2.10.0 for opt-in update checks and in-place installs, EdDSA-signed, feed on GitHub Releases. Amends CLAUDE.md rule 5 and the dependency table; ADR-0002 links both.
- ADR-0008: Sparkle accepts an update if the EdDSA signature is valid or the code signature matches, so a lost EdDSA key can be rotated with the release certificate, and the .p12 alone can authorise an update. - ADR-0007: commit the expected designated requirement and compare it exactly in CI, so a replaced certificate can't ship; publish its SHA-1. - Spec: gentle-reminder menu item wiring, the prompt's auto-install checkbox, waiting for Accessibility before asking, XPC strip and inside-out re-signing, precise UP-7 fixtures. - CONTRIBUTING, REVIEW, PRD: the opt-in updater is the one network exception; v1.0.x was ad-hoc. ADR-0005: Sparkle's bundled notices.
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.
What & why
Every update currently costs users a manual re-grant of Accessibility: ad-hoc signed builds have a per-build designated requirement (
cdhash), so macOS treats each release as a new app. This PR records the plan for v1.1: sign releases with a stable self-signed certificate, and add opt-in in-app updates with Sparkle. Docs only; implementation follows in two PRs.Milestone / roadmap item
New milestone v1.1: Signed releases and updates, ahead of M4.
Changes
Mullion Releasecertificate (RSA 3072, 10 years) asreleaseenvironment secrets;disable-library-validation; CI compares the designated requirement with a committedConfig/release-designated-requirement.txt. Backed by a spike on macOS 27:releases/latest/download/appcast.xml, so drafts and betas are never offered.docs/features/updates.md: behaviour, implementation notes, edge cases and acceptance criteria UP-1 to UP-13. Decided: prompt on the second launch; ask before installing, with optional auto-install (off); inline release notes; daily checks; no icon badge.Testing
make lintunaffected/review-branch; its two Important findings (the Sparkle trust model, and a CI check too weak to catch a replaced certificate) are fixed in the last commitChecklist
CHANGELOG.md: nothing user-visible yet; entries come with the implementation PRs