-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Milestone
Description
As per the "Getting .NET Core ready for Mac OS Catalina" email we need to add a flag and entitlements to native binaries and executables to get them ready for notarization.
The steps needed are:
- Add a plist which sets CSFlags to 65536. This is used to preserve the codesign flag “-o runtime” when codesign is called on it. We’d need to do “ld -sectcreate _TEXT __info_plist plist_name.plist”. This is what the Edge team did.
- Add entitlements. “codesign –entitlements ”. Here we need two things:
a. Define what entitlements are needed. This enumerates all the supported options. From what I saw I think we need something like: (to be verified by the product teams)
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
b. Determine what binaries need to be entitled
ETA for this work is November when we release 3.1
fyi: @wfurt @danmosemsft