Skip to content

Commit 2a3d3d3

Browse files
committed
build: re-importing certificates
1 parent 003e184 commit 2a3d3d3

8 files changed

+19
-15
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Temporary Items
3030
!.vscode/extensions.json
3131

3232
test/tests-exe-dir
33-
tasks/mac-app-distribution-cert.p12
34-
tasks/advancedrestclient.pfx
33+
advancedrestclient.pfx
34+
arc-mac-certs.p12
3535
web_modules

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ env:
3333
- secure: vqjLjFS1r21KkSV6g5rrnHnEDvytxFZUZGglmVBfEMWMTLmUt6tpUOZ9fQhNK02Lwoqabx+jwqkqQH3n2Qh4rdgrHciaZz8rVpB+BNRbGpk8Av9pvJEFt5P2UUfjgthgBEUCAkcMlFAWvVgGoiaZPTLufxh9YZvjilG6QrZq6907+YZmxanFfQs/YpCwhG1S36BZ5ce3FxWk7z46DETD3LIe5ThImdmxruEv31F1pNNfInoDGg1qucQiZ2Icd6e+TK6tHH76KJbWc7kaJFSaubu1zIepmUNAxwdLN13nCPcxZaTkPs+LkCel3/C0hD/GLYEc48qC6zQDiQ61/JbUqtfZqShR5qpWhG0jETwpJqlUGNeWjO8KaPUcsolDy49Iiyy+ZMN8g7qiVcxqInLM3BT0Do3vyEZA3Z3WxXDF5wGeHy8PhUbFa3wZdRxtTgNoXCPJCPAzZIPYNUbby6auhWraBHU5UfyitH+CDP34FPaM9eG9TcJbEmdoA9rB9RYEH2T6OxGN/IntSuSP1cdkN/gi4c1ZsWlZSpCS9l5emakrGa4CMl7PKUBhefvKmn/UeYi+REHR2+iNOBYGBBAzfuwSn2iLg//Cg0SdDOs557vKFozVjM2u35Qp1zoncvEZWPSL3WaVGNzmlV35yjgculysZt1tEQpLWGIBmNjEa0c=
3434
before_install:
3535
- openssl aes-256-cbc -K $encrypted_c7c10d38055a_key -iv $encrypted_c7c10d38055a_iv
36-
-in advancedrestclient.pfx.enc -out tasks/advancedrestclient.pfx -d
36+
-in arc-mac-certs.p12.enc -out arc-mac-certs.p12 -d
3737
- openssl aes-256-cbc -K $encrypted_c7c10d38055a_key -iv $encrypted_c7c10d38055a_iv
38-
-in mac-app-distribution-cert.p12.enc -out tasks/mac-app-distribution-cert.p12 -d
38+
-in advancedrestclient.pfx.enc -out advancedrestclient.pfx -d

advancedrestclient.pfx.enc

0 Bytes
Binary file not shown.

arc-mac-certs.p12.enc

7.27 KB
Binary file not shown.

mac-app-distribution-cert.p12.enc

-5.83 KB
Binary file not shown.

tasks/advancedrestclient.pfx.enc

-5.59 KB
Binary file not shown.

tasks/arc-publish.sh

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,30 @@ if [ $TRAVIS_BRANCH != 'develop' ] && [ $TRAVIS_BRANCH != 'master' ] && [ $TRAVI
44
fi
55

66
export CSC_NAME="Pawel Psztyc"
7-
export WIN_CSC_LINK="$(pwd)/tasks/advancedrestclient.pfx"
8-
export CSC_LINK="$(pwd)/tasks/mac-app-distribution-cert.p12"
7+
export WIN_CSC_LINK="advancedrestclient.pfx"
8+
export CSC_LINK="arc-mac-certs.p12"
99

1010
# echo "Decrypring Window key into: $WIN_CSC_LINK"
1111
# openssl aes-256-cbc -K "$encrypted_c7c10d38055a_key" -iv "$encrypted_c7c10d38055a_iv" -in tasks/advancedrestclient.pfx.enc -out "$WIN_CSC_LINK" -d
12-
# if [ ! -f "$WIN_CSC_LINK" ]; then
13-
# echo "Error decoding Windows key."
14-
# exit -1
15-
# fi
12+
if [ -f "$WIN_CSC_LINK" ]; then
13+
echo "Windows sign key ready."
14+
else
15+
echo "Windows key is not ready."
16+
exit -1
17+
fi
1618

1719
# echo "Decrypring Mac key into: $CSC_LINK"
1820
# openssl aes-256-cbc -K "$encrypted_c7c10d38055a_key" -iv "$encrypted_c7c10d38055a_iv" -in tasks/mac-app-distribution-cert.p12.enc -out "$CSC_LINK" -d
19-
# if [ ! -f "$CSC_LINK" ]; then
20-
# echo "Error decoding Mac key."
21-
# exit -1
22-
# fi
21+
if [ -f "$CSC_LINK" ]; then
22+
echo "Mac sign key ready."
23+
else
24+
echo "Mac key is not ready."
25+
exit -1
26+
fi
2327

2428
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
2529
docker run --rm \
26-
--env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|_TOKEN|_KEY|AWS_|STRIP|BUILD_') \
30+
--env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|WIN_|_TOKEN|_KEY|AWS_|STRIP|BUILD_') \
2731
-v ${PWD}:/project \
2832
-v ~/.cache/electron:/root/.cache/electron \
2933
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
-5.83 KB
Binary file not shown.

0 commit comments

Comments
 (0)