Skip to content

Commit 538a201

Browse files
Added timestamp and entitlements to sign script. Left experimental entitlements in commit.
1 parent 4bb2935 commit 538a201

File tree

5 files changed

+79
-1
lines changed

5 files changed

+79
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.automation.apple-events</key>
6+
<true/>
7+
<key>com.apple.security.device.audio-input</key>
8+
<true/>
9+
<key>com.apple.security.device.camera</key>
10+
<true/>
11+
<key>com.apple.security.personal-information.addressbook</key>
12+
<true/>
13+
<key>com.apple.security.personal-information.calendars</key>
14+
<true/>
15+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
16+
<true/>
17+
</dict>
18+
</plist>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.automation.apple-events</key>
6+
<true/>
7+
<key>com.apple.security.device.audio-input</key>
8+
<true/>
9+
<key>com.apple.security.device.camera</key>
10+
<true/>
11+
<key>com.apple.security.personal-information.addressbook</key>
12+
<true/>
13+
<key>com.apple.security.personal-information.calendars</key>
14+
<true/>
15+
<key>com.apple.security.app-sandbox</key>
16+
<false/>
17+
<key>com.apple.security.cs.allow-jit</key>
18+
<true/>
19+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
20+
<true/>
21+
</dict>
22+
</plist>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.automation.apple-events</key>
6+
<true/>
7+
<key>com.apple.security.device.audio-input</key>
8+
<true/>
9+
<key>com.apple.security.device.camera</key>
10+
<true/>
11+
<key>com.apple.security.personal-information.addressbook</key>
12+
<true/>
13+
<key>com.apple.security.personal-information.calendars</key>
14+
<true/>
15+
<key>com.apple.security.app-sandbox</key>
16+
<false/>
17+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
18+
<true/>
19+
</dict>
20+
</plist>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.automation.apple-events</key>
6+
<true/>
7+
<key>com.apple.security.device.audio-input</key>
8+
<true/>
9+
<key>com.apple.security.device.camera</key>
10+
<true/>
11+
<key>com.apple.security.personal-information.addressbook</key>
12+
<true/>
13+
<key>com.apple.security.personal-information.calendars</key>
14+
<true/>
15+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
16+
<true/>
17+
</dict>
18+
</plist>

package/mac_app_sign_and_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ echo
273273
# Attempt to deeply codesign the app bundle
274274
#
275275
echo "Code signing the application bundle: ${DISTRIBUTION}${APP_BUNDLE} with identity: \"${APP_IDENTITY}\""
276-
codesign -s "$APP_IDENTITY" --deep -f -v --options runtime "${DISTRIBUTION}${APP_BUNDLE}"
276+
codesign -s "$APP_IDENTITY" --deep -f -v --options runtime --timestamp --entitlements "./mac-resources/neededToRun.entitlements" "${DISTRIBUTION}${APP_BUNDLE}"
277277
if [ "$?" != "0" ]; then
278278
echo "[Error] Codesigning the application bundle failed!" 1>&2
279279
exit 1

0 commit comments

Comments
 (0)