Skip to content

Commit 59b87a5

Browse files
jkwluiJustinBeckwith
authored andcommitted
fix(build): fix system key decryption (#217)
1 parent c552817 commit 59b87a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/google-cloud-compute/.circleci/config.yml

+2-2
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)