Skip to content

Commit

Permalink
update certs
Browse files Browse the repository at this point in the history
  • Loading branch information
adrastaea committed Nov 12, 2024
1 parent 105c669 commit b4b0f1f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
Binary file modified .github/secrets/Certificates.p12.gpg
Binary file not shown.
7 changes: 1 addition & 6 deletions .github/secrets/decrypt_secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ gpg --quiet --batch --yes --decrypt --passphrase="$IOS_CERTIFICATE_KEY" --output

mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles

UUID=$(security cms -D -i ./.github/secrets/match_AppStore_comquietmobile.mobileprovision | plutil -extract UUID xml1 -o - - | plutil -p - | sed 's/"//g')
echo $UUID
cp ./.github/secrets/match_AppStore_comquietmobile.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles/$UUID.mobileprovision

cp ./.github/secrets/match_AppStore_comquietmobile.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles/762df280-302c-4336-a56d-c74914169337.mobileprovision

security create-keychain -p "" build.keychain
security import ./.github/secrets/Certificates.p12 -t agg -k ~/Library/Keychains/build.keychain -P "$IOS_CERTIFICATE_KEY" -A
Expand All @@ -21,5 +18,3 @@ security unlock-keychain -p "" ~/Library/Keychains/build.keychain
security set-keychain-settings ~/Library/Keychains/build.keychain #this removes autolock

security set-key-partition-list -S apple-tool:,apple: -s -k "" ~/Library/Keychains/build.keychain
rm -f ./.github/secrets/Certificates.p12
rm -f ./.github/secrets/match_AppStore_comquietmobile.mobileprovision
Binary file modified .github/secrets/match_AppStore_comquietmobile.mobileprovision.gpg
Binary file not shown.
4 changes: 2 additions & 2 deletions .github/workflows/mobile-deploy-ios-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
-scheme Quiet \
-configuration Release \
-archivePath build/Quiet.xcarchive \
PROVISIONING_PROFILE="d80c582d-c394-44fb-8dd5-7d71a2cc4305" \
CODE_SIGN_IDENTITY="Apple Distribution: Zbay LLC (CTYKSWN9T4)"
PROVISIONING_PROFILE="762df280-302c-4336-a56d-c74914169337" \
CODE_SIGN_IDENTITY="Apple Distribution: A Quiet LLC (CTYKSWN9T4)"
- name: Export .ipa
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mobile-deploy-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
-scheme Quiet \
-configuration Release \
-archivePath build/Quiet.xcarchive \
PROVISIONING_PROFILE="718ac015-309f-49b6-9653-f6cf84a6377c" \
CODE_SIGN_IDENTITY="Apple Distribution: Zbay LLC (CTYKSWN9T4)"
PROVISIONING_PROFILE="762df280-302c-4336-a56d-c74914169337" \
CODE_SIGN_IDENTITY="Apple Distribution: A Quiet LLC (CTYKSWN9T4)"
- name: Export .ipa
run: |
Expand Down

0 comments on commit b4b0f1f

Please sign in to comment.