Merge pull request #820 from DDRBoxman/osxsign

CI: Use combined cert for signing OSX
master
Jim 2017-02-26 14:29:07 -08:00 committed by GitHub
commit 6f13605e7b
4 changed files with 2 additions and 4 deletions

View File

@ -23,13 +23,11 @@ mv ./obs-browser.so ./rundir/RelWithDebInfo/obs-plugins/
packagesbuild ../CI/install/osx/CMakeLists.pkgproj
# Signing stuff
openssl aes-256-cbc -K $encrypted_dd3c7f5e9db9_key -iv $encrypted_dd3c7f5e9db9_iv -in ../CI/osxcert/cert.p12.enc -out cert.p12 -d
openssl aes-256-cbc -K $encrypted_dd3c7f5e9db9_key -iv $encrypted_dd3c7f5e9db9_iv -in ../CI/osxcert/pk.p12.enc -out pk.p12 -d
openssl aes-256-cbc -K $encrypted_dd3c7f5e9db9_key -iv $encrypted_dd3c7f5e9db9_iv -in ../CI/osxcert/Certificates.p12.enc -out Certificates.p12 -d
security create-keychain -p mysecretpassword build.keychain
security default-keychain -s build.keychain
security unlock-keychain -p mysecretpassword build.keychain
security import cert.p12 -k build.keychain -T /usr/bin/codesign
security import pk.p12 -k build.keychain -T /usr/bin/codesign
security import Certificates.p12 -k build.keychain -T /usr/bin/codesign
productsign --sign 'Developer ID Installer: Hugh Bailey (2MMRE5MTB8)' ./OBS.pkg ./$FILENAME
# Move to the folder that travis uses to upload artifacts from

Binary file not shown.

Binary file not shown.

Binary file not shown.