docs(#958): A1 generates its throwaway certificate on the runner, no committed key

Agent: ChartreuseBay (session 425e424d)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/958-ios-appstore-plan
diffwireauto 3 weeks ago
parent e66b88f900
commit de09668a2b

@ -67,7 +67,7 @@ Buildable and testable **before enrollment**, because its proof uses a throwaway
| Task | Pts |
|---|---|
| **A1 · Prove the trap first:** a PR-triggered CI job that imports a committed **throwaway self-signed** `.p12` (dummy password, no real identity, labelled as a fixture) into a temporary keychain on `macos-latest` and lists the identity. It must go red on an OpenSSL-3-default `.p12` and green on the legacy one, so the check is shown to fail. | 3 |
| **A1 · Prove the trap first:** a PR-triggered CI job on `macos-latest` that generates a **throwaway self-signed** certificate on the runner, packs it as both the OpenSSL 3 default and the legacy `.p12`, and imports into a temporary keychain. The legacy one must import with key and certificate paired; a wrong password must be refused, so the check is shown able to fail; the default's result is recorded. **Changed from the first draft's committed fixture:** generating on the runner means no private key, even a dummy one, ever lands in this public repository. | 3 |
| **A2 · `tools/ios-signing/ios-signing.ps1`,** PowerShell only, calling `openssl` from Git for Windows. `new-csr` writes key and CSR to `%USERPROFILE%\.offband-ios\`, outside the repo. `make-p12` builds the legacy-format `.p12` from Apple's `.cer`, with a generated password it never prints. `set-secrets` base64-encodes each file and pipes it into `gh secret set --env apple-signing`. Run end to end by me against the fixture before the owner sees it. | 4 |
| **A3 · The `apple-signing` Environment** with the owner as required reviewer, matching `release-signing`. A repository setting, so it is a Tier-2 step: named rollback `gh api -X DELETE repos/OffbandMesh/meshcore-client/environments/apple-signing`, owner's word first, verified after. | 1 |
| **A4 · Owner runbook** for rounds 2 and 3 (section 5): paste-ready PowerShell, what each line does, what he will see. No step asks him to type text. | 2 |

Loading…
Cancel
Save

Powered by TurnKey Linux.