Queries on default entitlements for running dotnet core on Mac Catalina

Amit Shinde 1 Reputation point
2021-01-11T07:14:11.713+00:00

We are hosting dotnet core runtime in our process using self contained app model. In order to run dotnet core runtime on Mac OS Catalina, we came across following link which list default entitlements required

https://learn.microsoft.com/en-us/dotnet/core/install/macos-notarization-issues

Default set of entitlements for .NET Core:

com.apple.security.cs.allow-jit
com.apple.security.cs.allow-unsigned-executable-memory
com.apple.security.cs.allow-dyld-environment-variables
com.apple.security.cs.disable-library-validation

We need to know why we need following entitlement to run dotnet core runtime and if there is a workaround to get rid of these entitlements. The additional entitlements seem to lower the security of the process.

com.apple.security.cs.allow-unsigned-executable-memory
com.apple.security.cs.allow-dyld-environment-variables

Developer technologies .NET .NET Runtime
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2022-04-14T15:18:05.97+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.