Skip to content

Commit 10aa9b6

Browse files
jkwluiJustinBeckwith
authored andcommitted
fix(build): fix system key decryption (#227)
* fix(build): fix system key decryption * Revert "chore: update key for system tests (#226)" This reverts commit 6f224a0aebbd863e740eb679ad855e0f7bfa9b06.
1 parent 2b0afb8 commit 10aa9b6

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

handwritten/logging-winston/.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 Bytes
Binary file not shown.

handwritten/logging-winston/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ system-test/*key.json
1212
google-cloud-logging-winston-*.tgz
1313
google-cloud-logging-bunyan-*.tgz
1414
package-lock.json
15-
key.json

0 commit comments

Comments
 (0)