Skip to content

fix(ios): point Match at RealUnitCH/fastlane-certificates#632

Merged
TaprootFreak merged 1 commit into
stagingfrom
fix/matchfile-realunitch-fastlane-certificates
Jun 1, 2026
Merged

fix(ios): point Match at RealUnitCH/fastlane-certificates#632
TaprootFreak merged 1 commit into
stagingfrom
fix/matchfile-realunitch-fastlane-certificates

Conversation

@TaprootFreak
Copy link
Copy Markdown
Contributor

Problem

After today's DFXswiss/realunit-app → RealUnitCH/app org transfer, the iOS release lane on v1.0.72 failed in Fastlane Match:

git@github.com: Permission denied (publickey).
Error cloning certificates repo, please make sure you have read access to the repository you want to use
Called from Fastfile at line 64 (sync_code_signing)

The previous certificates repo DFXswiss/fastlane-certificates had zero registered deploy keys (the trust was lost during the wider DFXswiss → RealUnitCH cleanup).

Fix

The Match storage was migrated to RealUnitCH/fastlane-certificates — same encrypted content (so MATCH_PASSWORD and the existing distribution cert / appstore provisioning profile remain unchanged). This PR updates both call sites that hardcode the storage URL:

  • ios/fastlane/Matchfile:1 — the default git_url consulted when Match runs without an explicit override
  • ios/fastlane/Fastfile:68 — the explicit git_url: override inside the sync_code_signing call in the :release lane (CI uses this path)

Both now point at git@github.com:RealUnitCH/fastlane-certificates.git.

Credential rotation (done out-of-band)

The MATCH_SSH_KEY Actions secret on RealUnitCH/app has been rotated against a fresh ED25519 deploy key on RealUnitCH/fastlane-certificates (key ID 153227247, write access for sync). Private key + metadata backed up to Vaultwarden under dfx01/Services as RealUnitCH/app MATCH_SSH_KEY.

Test plan

  • Merge through staging → develop → main
  • Auto Tag on Merge produces v1.0.73
  • release.yaml ios-deploy succeeds (Match clones from new repo, sync_code_signing passes, build uploads to TestFlight)
  • android-deploy continues unaffected

v1.0.72 is being skipped — no app-facing changes were in it (only doc + cache-key-fix), so the next tag from the natural release flow is the first successful build.

After the DFXswiss → RealUnitCH org transfer of the app repo, the iOS
release lane started failing in Fastlane Match's sync_code_signing with
'git@github.com: Permission denied (publickey)' — the deploy keys on
the old DFXswiss/fastlane-certificates repo were no longer registered
post-transfer cleanup.

The certificates and provisioning profiles have been migrated to
RealUnitCH/fastlane-certificates (same encrypted content, same
MATCH_PASSWORD). Point both Matchfile and the Fastfile's explicit
git_url override at the new repo so the release lane resumes against
the migrated storage.

MATCH_SSH_KEY actions secret on RealUnitCH/app has been rotated against
a fresh ED25519 deploy key on the new repo. No app-facing change.
@TaprootFreak TaprootFreak marked this pull request as ready for review June 1, 2026 21:56
@TaprootFreak TaprootFreak merged commit ce673f5 into staging Jun 1, 2026
6 of 9 checks passed
@TaprootFreak TaprootFreak deleted the fix/matchfile-realunitch-fastlane-certificates branch June 1, 2026 21:56
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