Skip to content

Commit 1c90901

Browse files
committed
chore(entitlements): Remove unnecessary sandbox entitlements
Use $(PRODUCT_BUNDLE_IDENTIFIER) variable for Sparkle service names Remove 6 redundant/unused entitlements from sandbox configuration: - files.user-selected. read-only (no file operations in app) - cs.allow-jit, cs.allow-unsigned-executable-memory, cs. disable-executable-page-protection, cs.disable-library-validation (redundant - false is default behavior) - network.client (Sparkle uses Downloader XPC service instead) Reduces entitlements from 8 to 2, keeping only: - app-sandbox (required for App Store) - mach-lookup exceptions (required for Sparkle XPC services)
1 parent 18e14fb commit 1c90901

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

Annotate/Annotate.entitlements

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,10 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7-
<key>com.apple.security.files.user-selected.read-only</key>
8-
<true/>
9-
<key>com.apple.security.cs.allow-jit</key>
10-
<false/>
11-
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
12-
<false/>
13-
<key>com.apple.security.cs.disable-executable-page-protection</key>
14-
<false/>
15-
<key>com.apple.security.cs.disable-library-validation</key>
16-
<false/>
17-
<key>com.apple.security.network.client</key>
18-
<true/>
197
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
208
<array>
21-
<string>com.epilande.Annotate-spks</string>
22-
<string>com.epilande.Annotate-spki</string>
9+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spks</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spki</string>
2311
</array>
2412
</dict>
2513
</plist>

0 commit comments

Comments
 (0)