Skip to content

Commit 7aa5ae1

Browse files
committed
fix(sign): provision macOS platform passkeys
1 parent bcb16e8 commit 7aa5ae1

4 files changed

Lines changed: 726 additions & 63 deletions

File tree

packages/browseros/.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ MACOS_CERTIFICATE_NAME=
1111
PROD_MACOS_NOTARIZATION_APPLE_ID=
1212
PROD_MACOS_NOTARIZATION_TEAM_ID=
1313
PROD_MACOS_NOTARIZATION_PWD=
14+
# Local path to BrowserOS's Developer ID provisioning profile. The profile
15+
# must authorize the public-key-credential entitlement and BrowserOS groups.
16+
PROD_MACOS_BROWSEROS_PASSKEY_PROFILE_PATH=
1417

1518
# Cloudflare R2
1619
R2_ACCOUNT_ID=

packages/browseros/bos_build/lib/env.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"MACOS_CERTIFICATE_PWD",
2525
"MACOS_KEYCHAIN_PASSWORD",
2626
"POSTHOG_API_KEY",
27+
"PROD_MACOS_BROWSEROS_PASSKEY_PROFILE_B64",
2728
"PROD_MACOS_NOTARIZATION_PWD",
2829
"R2_SECRET_ACCESS_KEY",
2930
"SENTRY_AUTH_TOKEN",
@@ -121,6 +122,11 @@ def macos_notarization_password(self) -> Optional[str]:
121122
"""App-specific password for macOS notarization"""
122123
return os.environ.get("PROD_MACOS_NOTARIZATION_PWD")
123124

125+
@property
126+
def macos_browseros_passkey_profile_path(self) -> Optional[str]:
127+
"""Developer ID profile authorizing BrowserOS platform passkeys."""
128+
return os.environ.get("PROD_MACOS_BROWSEROS_PASSKEY_PROFILE_PATH")
129+
124130
@property
125131
def macos_keychain_password(self) -> Optional[str]:
126132
"""macOS login keychain password (used to unlock keychain on build servers)"""

0 commit comments

Comments
 (0)