Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Commit 5788fe8

Browse files
jkwluiJustinBeckwith
authored andcommitted
fix(build): fix system key decryption (#178)
1 parent 8a817fb commit 5788fe8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
name: Decrypt credentials.
117117
command: |
118118
if ! [[ -z "${SYSTEM_TESTS_ENCRYPTION_KEY}" ]]; then
119-
openssl aes-256-cbc -d -in .circleci/key.json.enc \
119+
openssl aes-256-cbc -d -md md5 -in .circleci/key.json.enc \
120120
-out .circleci/key.json \
121121
-k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
122122
fi
@@ -148,7 +148,7 @@ jobs:
148148
command: |
149149
if ! [[ -z "${SYSTEM_TESTS_ENCRYPTION_KEY}" ]]; then
150150
for encrypted_key in .circleci/*.json.enc; do
151-
openssl aes-256-cbc -d -in $encrypted_key \
151+
openssl aes-256-cbc -d -md md5 -in $encrypted_key \
152152
-out $(echo $encrypted_key | sed 's/\.enc//') \
153153
-k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
154154
done

0 commit comments

Comments
 (0)