Skip to content

Commit d498ea7

Browse files
jkwluiJustinBeckwith
authored andcommitted
fix(build): fix system key decryption (#267)
* fix(build): fix system key decryption * Revert "chore: update key for system tests (#265)" This reverts commit 845a3f4600907b593110c1cb4ff898c9699582db.
1 parent 8033c35 commit d498ea7

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

handwritten/error-reporting/.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
16 Bytes
Binary file not shown.

handwritten/error-reporting/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ system-test/*key.json
1111
build
1212
.vscode
1313
package-lock.json
14-
key.json

0 commit comments

Comments
 (0)