From 03068559ed3ae4f64d5923524fa032c931af9316 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 22 Mar 2020 20:30:34 -0500 Subject: [PATCH] Added encryption information to build script --- buildscripts/ci-build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildscripts/ci-build.sh b/buildscripts/ci-build.sh index 1babfdfe5..aa1876bab 100755 --- a/buildscripts/ci-build.sh +++ b/buildscripts/ci-build.sh @@ -3,6 +3,12 @@ set -v set -e # Unencrypt our provisioning profiles, certificates, and private key +# +# Encrypt the profiles, certs, and key using the following example command where +# "secret-key" is the key stored in the Github Secrets variable ENCRYPTION_SECRET +# +# openssl aes-256-cbc -k "secret-key" -in buildscripts/profile/NetNewsWire.provisionprofile -out buildscripts/profile/NetNewsWire.provisionprofile.enc -a +# openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in buildscripts/profile/NetNewsWire.provisionprofile.enc -d -a -out buildscripts/profile/NetNewsWire.provisionprofile openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in buildscripts/profile/NetNewsWireiOS.mobileprovision.enc -d -a -out buildscripts/profile/NetNewsWireiOS.mobileprovision openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in buildscripts/certs/mac-dist.cer.enc -d -a -out buildscripts/certs/mac-dist.cer