Skip to content

Use Azure Key Vault for macOS notarization - #37154

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8f526c5691d774964fd33f847f8420cac0840b05
Aug 5, 2026
Merged

Use Azure Key Vault for macOS notarization#37154
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8f526c5691d774964fd33f847f8420cac0840b05

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 5, 2026

Copy link
Copy Markdown

Use Azure Key Vault for macOS notarization

Why

Keep the App Store Connect private key in Azure Key Vault instead of exporting it to release runners as a base64-encoded .p8 secret.

What changed

  • Add a notarization client that creates notary-scoped Apple JWTs with a pinned Azure Key Vault key, submits and streams artifacts to Apple's notarization service, polls for completion, and saves developer diagnostics.
  • Update the binary and DMG release wrappers to use the new client while continuing to staple accepted DMGs with rcodesign.
  • Configure release jobs with the notarization vault key name and version instead of private-key material.

Testing

  • Add unit coverage for key validation, JWT signing, uploads, polling, diagnostic logs, and the binary and DMG wrapper contracts.

## Why

Keep the App Store Connect private key in Azure Key Vault instead of exporting it to release runners as a base64-encoded `.p8` secret.

## What changed

- Add a notarization client that creates notary-scoped Apple JWTs with a pinned Azure Key Vault key, submits and streams artifacts to Apple's notarization service, polls for completion, and saves developer diagnostics.
- Update the binary and DMG release wrappers to use the new client while continuing to staple accepted DMGs with `rcodesign`.
- Configure release jobs with the notarization vault key name and version instead of private-key material.

## Testing

- Add unit coverage for key validation, JWT signing, uploads, polling, diagnostic logs, and the binary and DMG wrapper contracts.

GitOrigin-RevId: 8f526c5691d774964fd33f847f8420cac0840b05
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/8f526c5691d774964fd33f847f8420cac0840b05 branch from cb19068 to 0c07c7e Compare August 5, 2026 20:33
@copyberry
copyberry Bot merged commit 0c07c7e into main Aug 5, 2026
28 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/8f526c5691d774964fd33f847f8420cac0840b05 branch August 5, 2026 20:34
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants