Post

Replies

Boosts

Views

Activity

Reply to Endpoint security client crash with SIP enabled
I think I got something, the system extension is missing the embedded provisioning profile with the "com.apple.developer.endpoint-security.client" entitlements. The app has a provisioning profile that was created from the developer portal with the system extension capability. Should I make a provisioning profile for the extension? I am not sure how to add the embedded profile to the extension. Any help would be greatly appreciated.
Jul ’20
Reply to Endpoint security client crash with SIP enabled
Hi, Yes I am using Xcode. My project has:the app in which I include the .systemextension using the "building phase" setting "copy files" tab. - the system extension in which I include a binary executable (the ES client) in the same way as above (changing destination from extension to executable).the ES client executable.The app has a provisioning profile with I think all the correct entitlements and capabilities. I am not sure how to add a profile to the executable or systemextension as the "Signing & Capabilities" tab show "None Required" for the provisioning profile. Thank for your help.
Jul ’20
Reply to Endpoint security client crash with SIP enabled
Okay, so I replace my system extension with a new one that I create from the NetworkExtension template. I was able to provide a provisioning profile. Now it can run with SIP enabled. The issue I have now is that I can only add the endpoint security entitlement to "Mac development" profiles and not to "Developer ID" profiles. The "additional entitlements" page does not show when creating a "Developer ID" profile. Is this expected ? How can I distribute my app if I can't sign it with my Developer ID. Did I miss something when making the endpoint security entitlement request? Thanks for your help.
Jul ’20
Reply to Endpoint security client crash with SIP enabled
To be sure we are on the same page, the "additional entitlements" page shows up for "Mac development" profile, but not for "Developer ID" profile. You are saying that this should not be the case if I was granted the Endpoint Security Entitlement? I have the confirmation email and there is a follow up number, I will use that to contact the support. Thank you
Jul ’20
Reply to Startup order of daemon and Endpoint Security Client
@eskimo Thanks for your answer, somehow that part of the presentation didn't register with my brain. I will be sure to rewatch the whole thing! @mdolan Thanks for your answer, if I understand you correctly you are saying that if I add the NSEndpointSecurityEarlyBoot to my Endpoint Security extension it will boot before the launchd daemon? Right now I am connecting to the extension from my daemon and I can see that it fails a couple time before it can secure a communication channel (using NSXPCConnection and the initWithMachServiceName method). So I think that it is loading before the extension.
Aug ’20
Reply to Endpoint Security client does not receive AUTH event from itself
Thanks Eskimo as always. Found the interesting part in the transcript, I will paste it here as other developers might have the same question in the future. You should also be aware that ES does not send introspective AUTH events as this would lead to trivial deadlocks. The events will be implicitly allowed. We will, however, send NOTIFY messages for events instigated by your process. Share and Enjoy
Sep ’20
Reply to Generate a Provisioning Profile with Entitlement 'get-allow-tasks' to 'false'
From https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/resolving_common_notarization_issues To avoid receiving this error message, archive (as of Xcode 10.2) or export your app directly from Xcode, or set the CODESIGNINJECTBASEENTITLEMENTS build setting to NO before building your app for distribution. But only change the build setting when you’re done debugging and ready to distribute, because doing so makes it impossible to debug the binary on a system that uses System Integrity Protection.
Sep ’20