Skip to content

fix(mobile): publish ota updates without code signing - #362

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-ota-unsigned
Nov 8, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-ota-unsigned

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 8, 2026

Copy link
Copy Markdown
Member

Fixes: #357

The first mobile release after #357/#360 (nightly.104, run 42501709806) queued the iOS build and TestFlight submission, but OTA publication failed:

EAS Update code signing requires a subscription to the EAS Production or Enterprise plan. This account (itsol) currently has a subscription to the Starter plan.

The maintainer chose unsigned EAS Update on Starter until the company's own Expo Updates server replaces EAS. Trust now rests on EAS and HTTPS, without an independent Canopy signature; compromise of the EAS account or service could replace JS. Signing will return with the self-hosted server.

Changes:

  • Remove the app's signing configuration, public certificate, .gitignore exception and explicit fingerprint input. Both platform fingerprints change, so the next iOS release needs a full build. The already submitted nightly.104 binary embeds the certificate and will receive no unsigned OTA until replaced.
  • Publish without a private key or --private-key-path; remove the signing-key requirement from history and deduplication. Preserve exact release-message matching, runtime/branch filtering, rollback exclusion, channel isolation, build-versus-OTA planning, manual-only Android builds, idempotency and older-commit skipping.
  • Stop passing EXPO_UPDATES_PRIVATE_KEY in the workflow. Leave the GitHub secret untouched and unused for signing's return. Preserve the server-swap boundary: updates.url and mobile-publish-update.sh.
  • Replace signer-file tests with unsigned publication, deduplication and failure coverage; update Polish mobile/release docs and the mobile instructions.

Validation:

  • bun install, bun run gen:check, bun run typecheck (including mobile), bun run lint, bun run format:check, bun run check:tmp, and bun run --filter @canopy/web build.
  • bun test scripts/mobile-release.test.ts: 17 passed.
  • Full check:tmp: 1,804 passed, 161 skipped, zero failures; no test temp directories left. Scratch data stayed under the worktree, with a Git discovery ceiling so plain-folder fixtures could not discover the parent checkout.
  • bunx --no-install expo config --type public --json: no codeSigningCertificate or codeSigningMetadata; offline @expo/fingerprint generation succeeded for both platforms and confirmed changed hashes.
  • actionlint 1.7.12, shellcheck 0.11.0, bunx --no-install expo lint, and Expo Doctor (20/20 checks).
  • No real EAS build, submit or update commands were run. The existing GitHub secret was not modified.

Copy audit: no UI text changed; the Settings update line is unchanged.

@nixuuu
nixuuu merged commit cceb416 into dev Nov 8, 2026
10 checks passed
@nixuuu
nixuuu deleted the fix/mobile-ota-unsigned branch November 8, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant