-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add notarization to unified mac client #2154
Comments
This issue has been marked as ready for team triage; we will triage it in our weekly review and update the issue. Thank you for contributing to Accessibility Insights! |
Per conversation with Peter, let's do this. |
Added the ESRP notarization task to our signed build. Resulted in an error with no details. Unassigning myself to start on feature work. |
Picking this up where John left off. Next few items I'm going to try, based on Apple's notarization docs:
|
Followed the VS Code team's example; the key realization is that electron-builder uses the codesigning process (specifically, the The VS Code folks, naturally, have a much more complex mac build process than us; they actually manually invoke Results: Build #Signing-478 with first examples of notarize step succeeding. @waabid is testing the resulting artifacts now as I write this, fingers crossed :) |
Wahaj found that the app crashes on startup. The relevant snippet of error is:
Related issues:
Karan suggested a second example to look at (Bot Framework): They're using the same basic strategy as VS Code (performing a pre-ESRP-signing step that uses the |
Talked to the ESRP team today and confirmed with them that following the examples/guidance from the VS Code and BotFramework-Emulator repos is correct. At a high level, the process is:
|
We've now worked with the ESRP folks and provisioned an Apple developer account that can generate the derived cert we'll need. I've also hooked up placeholder secrets in our usual keyvault and piped them into the signing build. The next steps all require an actual mac for testing/validation:
I've asked Peter to have a mac provisioned for me; moving this feature back to ready for work until I receive it or someone else with a Mac can pick it up, rolling onto web compliance feature in meantime. |
@ferBonnin to schedule a small feature for this |
This issue requires additional investigation by the Accessibility Insights team. When the issue is ready to be triaged again, we will update the issue with the investigation result and add "status: ready for triage". Thank you for contributing to Accessibility Insights! |
Note: further work on this still requires a Mac; it can be done without but it'd be really tedious (using build agents for debugging). Did some work on this and here is where we currently stand: Branch: https://github.com/waabid/accessibility-insights-web/tree/macNotarization What's completed:
What's not working:
What to do next:
1 It's unclear what entitlements we specifically need for our application; further investigation may be required. The ones being used are a result of looking at what the BotFramework/VSCode teams are doing. This could be a potential reason for issues with signing as adding certain entitlements has reduced errors found using the verify command. More information about the entitlements that concern us can be found here: https://developer.apple.com/documentation/security/hardened_runtime |
This has been completed |
Describe the bug
Starting Feb 3, the startup workflow on MacOS Catalina is different for unnotarized applications:
We need to check how the unified mac client runs on Catalina, and consider notarizing the app (in addition to existing signing) to remove extra end-user work.
The text was updated successfully, but these errors were encountered: