coder / coder/coder-desktop-macos
Use an AppleConnect API key to notarize
- Vorherrschende Sprache
- Swift
- Sterne
- 29
- Forks
- 8
- Ø Merge
- 18 Std. 14 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Right now we use an Apple ID and app-specific password to notarize our application with Apple. This unnecessarily ties our builds to the permissions of an individual developer. If their permissions are reduced it could break notarization; if their permissions are increased it means our credentials are more powerful than they need to be.
`notarytool` can be configured to use an API key on the command line: https://keith.github.io/xcode-man-pages/notarytool.1.html#App
We also need an admin of our Apple Account to generate the key and add it to the GitHub Actions secrets.
Beitragsleitfaden
Rechercherichtung
Finde den GitHub Actions-Workflow, der Apple’s notarytool aufruft, und lies anschließend die im Issue verlinkte Dokumentation zur App-Authentifizierung von notarytool. Aktualisiere die Notarisierungskonfiguration, sodass ein AppleConnect API key aus den GitHub Actions secrets verwendet wird, und überprüfe, dass der Workflow erfolgreich abgeschlossen wird, nachdem ein Apple Account admin den Schlüssel erstellt und hinzugefügt hat.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github-actions, macos, swift
- Bereich
- ci-cd, release, security
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100