Repository navigation
Read local release credentials from the Fleet SOPS vault - #150
Conversation
The local TestFlight executor and the App Store preview helper now decrypt the Admin ASC key (growingup/asc-api-key.json) and the Match password (growingup/match-password) from ~/myai/fleet-secrets with sops, instead of ~/.config/growingup-testflight/local.json, a plaintext key file and the login Keychain. 'scripts/testflight setup local' no longer takes --api-key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a7cda8879
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| One-time Mac setup (an existing App Store Connect API key JSON, kept outside Git): | ||
| One-time Mac setup (the App Store Connect key and Match password come from Danis's | ||
| SOPS vault `~/myai/fleet-secrets/growingup/`, never from files in Git or plaintext files; |
There was a problem hiding this comment.
Update the remaining local credential description
This change moves local credentials to the SOPS vault, but the deployment section below still says they stay in the Mac Keychain/private API key file. That leaves readers with conflicting setup guidance and may lead them to rely on credentials the new executor no longer reads; update that sentence to describe the vault.
Useful? React with 👍 / 👎.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What
Local release tooling stops reading plaintext credential files and the login Keychain:
scripts/testflight_local.pydecrypts the App Store Connect Admin keygrowingup/asc-api-key.jsonand the Match passwordgrowingup/match-passwordfrom Danis's SOPS vault (~/myai/fleet-secrets, opened by MacPro, MacAir and Raspi) withsops decrypt. The key is still written only to a temporary owner-only.p8for the Fastlane run.scripts/testflight setup localno longer takes--api-keyand no longer writes~/.config/growingup-testflight/local.json; it checks that the vault decrypts, then installs the gems.marketing/app-store/previews/support/local-auth.pyuses the same vault file instead of~/Documents/Work/Personal/asc_api_key.json.Readme.md,fastlane/README.md) describe the vault files and rotation.GitHub Actions secrets and cloud releases are unchanged.
Checks
python3 -m unittest scripts/tests/test_testflight_local.py scripts/tests/test_testflight.pypasses.local.jsonand the plaintext key file moved away:credentials()produced the Fastlane environment (key ID, temporary.p8, Match password matching the Keychain value by hash) and removed the.p8afterwards;local-auth.pymade a read-onlyGET /v1/appscall. No build, upload or metadata change.After merge
Delete
~/.config/growingup-testflight/local.jsonand~/Documents/Work/Personal/asc_api_key.jsonon MacPro; optionally remove the Keychain itempro.ziganshin.GrowingUp.match.🤖 Generated with Claude Code