mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 14:04:03 +00:00
Sign browser with autofill profile
This commit is contained in:
31
.github/workflows/build-browser.yml
vendored
31
.github/workflows/build-browser.yml
vendored
@@ -280,11 +280,36 @@ jobs:
|
||||
run: |
|
||||
mkdir -p $HOME/secrets
|
||||
|
||||
# az storage blob download --account-name $ACCOUNT_NAME --container-name $CONTAINER_NAME \
|
||||
# --name bitwarden_desktop_appstore.provisionprofile \
|
||||
# --file $HOME/secrets/bitwarden_desktop_appstore.provisionprofile \
|
||||
# --output none
|
||||
|
||||
# az storage blob download --account-name $ACCOUNT_NAME --container-name $CONTAINER_NAME \
|
||||
# --name Bitwarden_Desktop_App_Store_2024_w_autofill.provisionprofile \
|
||||
# --file $HOME/secrets/bitwarden_desktop_appstore.provisionprofile \
|
||||
# --output none
|
||||
|
||||
# az storage blob download --account-name $ACCOUNT_NAME --container-name $CONTAINER_NAME \
|
||||
# --name bitwarden_desktop_autofill_app_store_2024.provisionprofile \
|
||||
# --file $HOME/secrets/bitwarden_desktop_autofill_app_store_2024.provisionprofile \
|
||||
# --output none
|
||||
|
||||
az storage blob download --account-name $ACCOUNT_NAME --container-name $CONTAINER_NAME \
|
||||
--name bitwarden_desktop_appstore.provisionprofile \
|
||||
--name bitwarden_desktop_autofill_app_store_2024.provisionprofile \
|
||||
--file $HOME/secrets/bitwarden_desktop_appstore.provisionprofile \
|
||||
--output none
|
||||
|
||||
- name: Set up provisioning profiles
|
||||
run: |
|
||||
AUTOFILL_PROFILE_PATH=$HOME/secrets/bitwarden_desktop_appstore.provisionprofile
|
||||
PROFILES_DIR_PATH=$HOME/Library/MobileDevice/Provisioning\ Profiles
|
||||
|
||||
mkdir -p "$PROFILES_DIR_PATH"
|
||||
|
||||
AUTOFILL_UUID=$(grep UUID -A1 -a $AUTOFILL_PROFILE_PATH | grep -io "[-A-F0-9]\{36\}")
|
||||
cp $AUTOFILL_PROFILE_PATH "$PROFILES_DIR_PATH/$AUTOFILL_UUID.provisionprofile"
|
||||
|
||||
- name: Get certificates
|
||||
run: |
|
||||
mkdir -p $HOME/certificates
|
||||
@@ -336,6 +361,10 @@ jobs:
|
||||
|
||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $KEYCHAIN_PASSWORD build.keychain
|
||||
|
||||
- name: Find identities
|
||||
run: |
|
||||
security find-identity -v -p codesigning
|
||||
|
||||
- name: NPM setup
|
||||
run: npm ci
|
||||
working-directory: ./
|
||||
|
||||
@@ -161,7 +161,8 @@ function distSafariApp(cb, subBuildPath) {
|
||||
"-o",
|
||||
"runtime",
|
||||
"--sign",
|
||||
"Developer ID Application: 8bit Solutions LLC",
|
||||
// "Developer ID Application: 8bit Solutions LLC",
|
||||
"Developer ID Application: 8bit Solutions LLC (LTZ2PFU5D6)",
|
||||
"--entitlements",
|
||||
entitlementsPath,
|
||||
];
|
||||
|
||||
@@ -2,6 +2,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.developer.authentication-services.autofill-credential-provider</key>
|
||||
<true/>
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.user-selected.read-write</key>
|
||||
|
||||
@@ -10,5 +10,7 @@
|
||||
<true/>
|
||||
<key>com.apple.security.network.server</key>
|
||||
<true/>
|
||||
<key>com.apple.developer.authentication-services.autofill-credential-provider</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user