mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 05:53:42 +00:00
experiment with entitlements and signing the framework
This commit is contained in:
9
.github/workflows/build-desktop.yml
vendored
9
.github/workflows/build-desktop.yml
vendored
@@ -1441,12 +1441,9 @@ jobs:
|
||||
|
||||
- name: Resign
|
||||
run: |
|
||||
codesign -dvvv "./dist/mas-dev-universal/Bitwarden.app" 2>&1 | grep -iE "TeamIdentifier|flags|Format|Identifier|Authority"
|
||||
|
||||
codesign -dvvv "./dist/mas-dev-universal/Bitwarden.app/Contents/PlugIns/autofill-extension.appex" 2>&1 | grep -iE "TeamIdentifier|flags|Format|Identifier|Authority"
|
||||
|
||||
security find-identity -v -p codesigning
|
||||
|
||||
# Resign the Electron Framework
|
||||
codesign --force --deep --options=runtime --sign "Developer ID Application: 8bit Solutions LLC (LTZ2PFU5D6)" --timestamp --generate-entitlement-der --preserve-metadata=identifier,flags Bitwarden.app/Contents/Frameworks/Electron\ Framework.framework
|
||||
# Resign the bundle
|
||||
codesign --entitlements resources/entitlements.mas.plist --deep --verbose --options runtime --force --sign "Developer ID Application: 8bit Solutions LLC (LTZ2PFU5D6)" dist/mas-dev-universal/Bitwarden.app
|
||||
|
||||
- name: Zip masdev asset
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
<true/>
|
||||
<!--
|
||||
<dict>
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
<true />
|
||||
<!--
|
||||
<key>com.apple.developer.authentication-services.autofill-credential-provider</key>
|
||||
<true/>
|
||||
-->
|
||||
</dict>
|
||||
</plist>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<true />
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user