1
0
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:
Michal Checinski
2024-09-18 14:41:47 +02:00
parent 3ff42996fc
commit 4600d0ec1d
4 changed files with 36 additions and 2 deletions

View File

@@ -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: ./