Skip to content

Commit

Permalink
add pharo certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Jan 29, 2018
1 parent 3e1681a commit 6a64a6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions deploy/pack-vm.sh
Expand Up @@ -64,9 +64,11 @@ elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
openssl aes-256-cbc -k "${SQUEAK_SIGN_PASSWORD}" -in "${path_p12}.enc" -out "${path_p12}" -d
macos_codesign "${APP_DIR}" "${path_cer}" "${path_p12}" "${SQUEAK_CERT_PASSWORD}" "${SQUEAK_SIGN_IDENTITY}"
elif [[ "${FLAVOR}" == "pharo"* ]]; then
# TODO: decrypt Pharo signing certificate and invoke macos_codesign to sign app bundle
# macos_codesign "${APP_DIR}" "${path_cer}" "${path_p12}" "${PHARO_CERT_PASSWORD}" "${PHARO_SIGN_IDENTITY}"
true
path_cer="${DEPLOY_DIR}/pharo/pharo.cer"
path_p12="${DEPLOY_DIR}/pharo/pharo.p12"
openssl aes-256-cbc -k "${PHARO_SIGN_PASSWORD}" -in "${path_cer}.enc" -out "${path_cer}" -d
openssl aes-256-cbc -k "${PHARO_SIGN_PASSWORD}" -in "${path_p12}.enc" -out "${path_p12}" -d
macos_codesign "${APP_DIR}" "${path_cer}" "${path_p12}" "${PHARO_CERT_PASSWORD}" "${PHARO_SIGN_IDENTITY}"
elif [[ "${FLAVOR}" == "newspeak"* ]]; then
NEW_APP_DIR="${PRODUCTS_DIR}/Newspeak.app"
mv "${APP_DIR}" "${NEW_APP_DIR}"
Expand Down
Binary file added deploy/pharo/pharo.cer.enc
Binary file not shown.
Binary file added deploy/pharo/pharo.p12.enc
Binary file not shown.

0 comments on commit 6a64a6d

Please sign in to comment.