Revert passkey stack (nightly broken; users can't launch)#2681
Revert passkey stack (nightly broken; users can't launch)#2681austinywang merged 5 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This review could not be run because your cubic account has exceeded the monthly review limit. If you need help restoring access, please contact contact@cubic.dev. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughThis pull request removes passkey and WebAuthn support from the macOS application. Changes include removing passkey authorization code from browser panels, deleting associated entitlements declarations, simplifying code-signing workflows from multi-pass to single deep-sign operations, and removing related tests and build verification scripts. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryEmergency Confidence Score: 5/5This PR is safe to merge — it is a targeted revert of confirmed-broken code to restore a working nightly build. All changes are direct reversions of code confirmed broken in production. The revert is complete (grep finds zero passkey references remaining), the codesign flow is restored to its pre-passkey working state, and no unrelated files are modified. No P0/P1 findings. No files require special attention. Important Files Changed
Sequence DiagramsequenceDiagram
participant CI as GitHub Actions
participant XC as Xcode Build
participant CS as codesign
participant NT as notarytool
CI->>XC: Build universal app (CODE_SIGNING_ALLOWED=NO)
XC-->>CI: cmux NIGHTLY.app (unsigned)
CI->>CS: Sign CLI binary (--entitlements cmux.entitlements)
CI->>CS: Sign ghostty helper (--entitlements cmux.entitlements)
CI->>CS: codesign --deep app bundle (cmux.entitlements)
CS-->>CI: codesign --verify pass
CI->>NT: notarytool submit (zip)
NT-->>CI: status: Accepted
CI->>CI: stapler staple + validate
CI->>CI: create-dmg
CI->>NT: notarytool submit (dmg)
NT-->>CI: status: Accepted
CI->>CI: Publish nightly release assets
Reviews (1): Last reviewed commit: "Revert "Add passkey, WebAuthn, and FIDO2..." | Re-trigger Greptile |
Summary
Reverts the passkey/WebAuthn stack and all follow-up codesign attempts because nightly is currently unlaunchable for users. Reverting to restore a working nightly immediately; passkey support can be re-landed after the codesign/entitlement story is validated end-to-end against a real nightly artifact before shipping.
Reverted commits (newest first)
2afa083d2ff7478c-permfilter so Sparkle Autoupdate gets signede88ff4349412c790f550206fPRs #2676–#2680 were all follow-up attempts to fix codesign/notarization issues introduced by #2660 (new
com.apple.developer.web-browser.public-key-credentialentitlement, split embedded-vs-outer entitlements, and a reworked multi-pass signing flow). None of them landed a working nightly.Not reverted
Intentionally preserved (the passkey PRs were interleaved with unrelated PRs on main):
Using
git revert(notgit reset --hard) to keep these.Follow-up
Reopens:
Re-landing passkeys should (a) be prototyped end-to-end against a signed nightly build before merge, (b) cut an RC nightly from the branch and confirm it launches on clean installs, and (c) only then merge to main.
Test plan
Note
Medium Risk
Adjusts macOS signing/entitlements in CI and build scripts; mistakes here can again produce unsigned/unlaunchable artifacts even though the change is largely a revert/simplification.
Overview
Reverts the passkey/WebAuthn stack from the embedded browser: removes
AuthenticationServices-based passkey authorization prompting code, associated unit tests, and the Bluetooth usage description strings.Drops the
com.apple.developer.web-browser.public-key-credentialentitlement and deletescmux.embedded.entitlements, consolidating signing onto a singlecmux.entitlementsfile.Simplifies codesigning in
nightly.yml,release.yml, andscripts/build-sign-upload.shby removing the multi-pass nested signing logic and instead signing the app withcodesign --deep; also removes theassert-passkey-entitlement.shverification step and local reload signing helpers tied to passkey entitlements.Reviewed by Cursor Bugbot for commit b90c41f. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Reverts the passkey/WebAuthn stack and recent codesign changes to restore a launchable nightly build. Passkey code and entitlements are removed; signing is simplified to ensure builds run.
AuthenticationServicesuse.com.apple.developer.web-browser.public-key-credentialentitlement, deletedcmux.embedded.entitlements, and removed the passkey entitlement assert script.Info.plistand localizedxcstrings.nightly.yml,release.yml, andbuild-sign-upload.shto a singlecmux.entitlementswith--deepsigning; removed multi-pass nested signing steps.Written for commit b90c41f. Summary will update on new commits.
Summary by CodeRabbit
Release Notes
Features Removed
Chores