Skip to content

Commit b8af424

Browse files
authored
DEVPROD-13302: template authenticode key name (#1567)
This commit templates our authenticode key name in preparation for the authenticode 2021 deprecation. The variable will be added to our Evergreen project as mongo-authenticode-2021, and later updated to 2024 when that certificate is ready.
1 parent 3fd8923 commit b8af424

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

evergreen/evergreen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,7 @@ functions:
926926
PACKAGE_VERSION: "$PACKAGE_VERSION"
927927
GRS_USERNAME: ${GRS_USERNAME}
928928
GRS_PASSWORD: ${GRS_PASSWORD}
929+
AUTHENTICODE_KEY_NAME: ${AUTHENTICODE_KEY_NAME}
929930
script: |
930931
${PREPARE_SHELL}
931932
. ./evergreen/sign-packages.sh

evergreen/sign-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ echo "GRS_CONFIG_USER1_PASSWORD=${GRS_PASSWORD}" >> "signing-envfile"
1515

1616
docker run --platform="linux/amd64" --env-file=signing-envfile --rm -v $(pwd):/workdir -w /workdir \
1717
artifactory.corp.mongodb.com/release-tools-container-registry-local/garasign-jsign \
18-
/bin/bash -c "jsign --tsaurl "http://timestamp.digicert.com" -a mongo-authenticode-2021 "./artifacts/nuget/*.$PACKAGE_VERSION.nupkg""
18+
/bin/bash -c "jsign --tsaurl "http://timestamp.digicert.com" -a ${AUTHENTICODE_KEY_NAME} "./artifacts/nuget/*.$PACKAGE_VERSION.nupkg""

0 commit comments

Comments
 (0)