Browse Source

Fix signing

tags/v4.4.0
Samuel Attard 3 years ago
parent
commit
34a259d739
No known key found for this signature in database GPG Key ID: 273DC1869D8F13EF
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      sig/import.sh

+ 6
- 3
sig/import.sh View File

@@ -10,9 +10,12 @@ security unlock-keychain -p travis $KEY_CHAIN
security set-keychain-settings -t 3600 -u $KEY_CHAIN

# Add certificates to keychain and allow codesign to access them
security import $(dirname $0)/apple.cer -k $KEY_CHAIN -T /usr/bin/codesign
security import $(dirname $0)/osx.cer -k $KEY_CHAIN -T /usr/bin/codesign
security import $(dirname $0)/osx.p12 -k $KEY_CHAIN -P $KEY_PASSWORD -T /usr/bin/codesign
security import $(dirname $0)/apple.cer -k $KEY_CHAIN -A /usr/bin/codesign
security import $(dirname $0)/osx.cer -k $KEY_CHAIN -A /usr/bin/codesign
security import $(dirname $0)/osx.p12 -k $KEY_CHAIN -P $KEY_PASSWORD -A /usr/bin/codesign

echo "Add keychain to keychain-list"
security list-keychains -s mac-build.keychain

echo "Settting key partition list"
security set-key-partition-list -S apple-tool:,apple: -s -k $KEY_PASSWORD $KEY_CHAIN

Loading…
Cancel
Save